Commit Graph

16083 Commits

Author SHA1 Message Date
David Cole 1bb4c7be11 CMake 2.8.4 2011-02-15 10:31:54 -05:00
David Cole d5d661d2b2 Merge branch 'release' 2011-02-15 10:27:32 -05:00
KWSys Robot d4884710a4 KWSys Nightly Date Stamp 2011-02-15 00:12:12 -05:00
Brad King 6720f97d3b Merge topic 'copyright-FindPerlLibs'
bff5772 FindPerlLibs: Add notice of copyright
2011-02-14 16:34:39 -05:00
Brad King d02519e974 Merge topic 'doc-MSVC_VERSION-issue-11833'
5cdd05b Fix documentation of MSVC_VERSION (#11833)
2011-02-14 16:34:29 -05:00
Brad King 42a5e8d978 Merge topic 'linux-standard-base'
ee55a4f libarchive: Use OpenSSL only if CMAKE_USE_OPENSSL (#11815)
41b7b3e libarchive: Define major/minor/makedev only where needed (#11648)
2011-02-14 16:34:11 -05:00
KWSys Robot 2a2fca24aa KWSys Nightly Date Stamp 2011-02-14 00:10:26 -05:00
KWSys Robot d26ef5c118 KWSys Nightly Date Stamp 2011-02-13 00:10:44 -05:00
KWSys Robot 84dafee565 KWSys Nightly Date Stamp 2011-02-12 00:10:49 -05:00
KWSys Robot 831c5ebe58 KWSys Nightly Date Stamp 2011-02-11 00:12:06 -05:00
Andreas Schneider bff5772084 FindPerlLibs: Add notice of copyright
I'm the original author of this module. See bug #7898.
2011-02-10 13:46:35 -05:00
Brad King 5cdd05bc68 Fix documentation of MSVC_VERSION (#11833)
Previously the example version number was wrong.  Instead list all the
known versions with correct numbers.
2011-02-10 08:20:33 -05:00
KWSys Robot e53b7cbadf KWSys Nightly Date Stamp 2011-02-10 00:12:13 -05:00
KWSys Robot 7258b0674c KWSys Nightly Date Stamp 2011-02-09 00:12:08 -05:00
Brad King ee55a4f709 libarchive: Use OpenSSL only if CMAKE_USE_OPENSSL (#11815)
OpenSSL is not part of the Linux Standard Base but its headers and
libraries may still be found at build time even though they may not be
available at runtime.  Use it only if explicitly allowed.
2011-02-08 15:22:50 -05:00
Brad King d5fceb4f07 Merge topic 'CPack-ComponentMoreZipTests'
b8da1a1 Avoid foreach IN LISTS syntax which is not supported by CMake 2.6
92ced20 CPack   Tests the different ways of packaging components
2011-02-08 14:18:53 -05:00
Brad King 7f87205161 Merge topic 'FixCrashInGraphVizWriter'
00e7ea7 Fix crash in GraphVizWriter when GRAPHVIZ_TARGET_IGNORE_REGEX is used
2011-02-08 14:18:48 -05:00
Brad King 5b8869faea Merge topic 'fix-clang-warnings'
c310450 Silence the may be used uninitialized warnings: initialize stuff.
2011-02-08 14:18:36 -05:00
KWSys Robot 68c004aa11 KWSys Nightly Date Stamp 2011-02-08 00:12:07 -05:00
Brad King 41b7b3efa4 libarchive: Define major/minor/makedev only where needed (#11648)
If neither MAJOR_IN_MKDEV or MAJOR_IN_SYSMACROS is defined then provide
our own implementation of these macros locally.  This complements the
change in commit cf5ad183 (Fix major() check for LSB 4.0, 2011-01-12).
This patch is based on upstream libarchive SVN commit 1553 (Shuffle the
major/minor/makedev support a bit; this should work on both Windows and
Haiku, 2009-10-31).

Inspired-by: Tim Kientzle <kientzle@freebsd.org>
2011-02-07 10:06:50 -05:00
KWSys Robot d7a51814a3 KWSys Nightly Date Stamp 2011-02-07 00:12:05 -05:00
KWSys Robot f97a1c6493 KWSys Nightly Date Stamp 2011-02-06 00:12:08 -05:00
KWSys Robot d27dfc25c1 KWSys Nightly Date Stamp 2011-02-05 00:12:02 -05:00
Alex Neundorf 00e7ea76e8 Fix crash in GraphVizWriter when GRAPHVIZ_TARGET_IGNORE_REGEX is used
GraphVizWriter could crash if GRAPHVIZ_TARGET_IGNORE_REGEX was set.
Patch from Christian Ehrlicher.

Alex
2011-02-04 20:31:18 +01:00
KWSys Robot aa78a60ca6 KWSys Nightly Date Stamp 2011-02-04 00:10:46 -05:00
David Cole c310450daf Silence the may be used uninitialized warnings: initialize stuff. 2011-02-03 10:21:32 -05:00
KWSys Robot 26eba9cb9c KWSys Nightly Date Stamp 2011-02-03 00:11:02 -05:00
KWSys Robot bd7dd34aba KWSys Nightly Date Stamp 2011-02-02 00:12:27 -05:00
KWSys Robot 4f1e1fe782 KWSys Nightly Date Stamp 2011-02-01 08:38:03 -05:00
David Cole 086cd2fa40 CMake 2.8.4-rc2 2011-01-31 13:03:26 -05:00
David Cole 37f4a1d121 Merge branch 'release' 2011-01-31 12:43:34 -05:00
Eric NOULARD b8da1a1378 Avoid foreach IN LISTS syntax which is not supported by CMake 2.6 2011-01-31 17:25:29 +01:00
KWSys Robot 76976a59e9 KWSys Nightly Date Stamp 2011-01-31 00:11:02 -05:00
Eric NOULARD 92ced20fa1 CPack Tests the different ways of packaging components 2011-01-30 13:11:25 +01:00
KWSys Robot 9c30d3d230 KWSys Nightly Date Stamp 2011-01-30 00:12:06 -05:00
KWSys Robot 04d4afbfa8 KWSys Nightly Date Stamp 2011-01-29 00:10:59 -05:00
Brad King ecfe0f7ca8 Merge topic 'fix-11695-spaces-in-vs10-rc-defs'
008d116 VSResource: Avoid windres /D with quoted spaces (#11695)
8f9919d Avoid space in rc /D values for VS6 and Cygwin (#11695)
78fe97f Fix line too long KWStyle issue (#11695)
6627560 VS10: Escape double quote chars in defines for rc files (#11695)
2011-01-28 14:17:54 -05:00
Brad King ba718fb827 Merge topic 'avoid-purify-in-CTestTest2'
2b082aa CTestTest2: Avoid running purify unless requested
2011-01-28 14:17:44 -05:00
Brad King aa21763e0c Merge topic 'fix-xcode-generator-crash'
b08657c Xcode: Fix crash: avoid strlen call on NULL char *
2011-01-28 14:17:32 -05:00
Brad King 7c4e57c821 Merge topic 'FixParsingCompilerNameWithVersionNumber'
5883c51 Fix parsing of compiler name with a version number
bd57bc5 Strip trailing whitespace.
2011-01-28 14:17:21 -05:00
Brad King 7457a0fd80 Merge topic 'MakeCMakeBuildWithCMakeLess263'
ccbdc24 Make cmake build again with cmake < 2.6.3
2011-01-28 14:17:12 -05:00
KWSys Robot 6744616fb2 KWSys Nightly Date Stamp 2011-01-28 00:12:07 -05:00
David Cole 008d116b17 VSResource: Avoid windres /D with quoted spaces (#11695)
Improve test: print out what's happening along the way.
2011-01-27 18:28:36 -05:00
Brad King 182eb7c7ef Merge topic 'dev/strict-mode'
dd2f814 Merge branch 'dev/add_test-working-directory' into dev/strict-mode
949d32c Unwatch manual variables upon removal in cmake-gui
3939032 Unwatch manual variables upon removal in ccmake
8354413 Add method to unwatch a manual variable
8ed3c85 Give a better message for unused variables
729db48 Fix ArgumentExpansion test expected results
89c2544 Checking for a definition is a usage
5625dee Don't output to stderr in the GUI
ad25a96 Merge branch 'ImprovedDotSupport2' into dev/strict-mode
c128abe Merge branch 'AddCMAKE_CURRENT_LIST_DIR' into dev/strict-mode
9bcaff0 Merge branch 'cmake-guiRememberAdvancedCheckbox' into dev/strict-mode
544d0c3 Fix expected output for WarnUninitialized test
4e3bea4 Update expected messages to new format
8e8c9e4 Don't check at destruction for usage
668e005 Use cmake::IssueMessage for warnings
88cd4c1 Use 'CMake Warning' versus 'warning' for CDash
3c3b98d Initialize the class before setting warn flags
cf8b15a Ignore files under the CMakeFiles directory
fd50f06 Don't check for unused vars at configure time
447a04c Don't warn during configure when doing everything
b97ee21 Check for unused variables at the end of generate
c18c977 When checking for variables, specify a reason
3f1121f Use a long int since Line is a long as well
2507f93 Change the failure case string to 'Unexpected'
fe390a2 Add 'ArgumentExpansion' test
8dbb209 Wrong boolean value for CLI warnings
d4ee998 Hard-code the --no-warn-unused-cli flag
a267b99 Fix line lengths
82ed104 Flag that the directories have been set
5aa535b Add argument to arg parsing to not set directories
367e5c3 Revert "Revert "When calling CMake, set the args and the cache""
ab5d4e4 Revert "When calling CMake, set the args and the cache"
9b90040 When calling CMake, set the args and the cache
fe56002 Fix long lines for KWStyle
5d30cfc Set a watch on variables added through the gui
33c63b1 Add a method to put a watch for variables
535253f Initialize the warning variables earlier
cbb286c Fix the path detection to work for top-level
62be1f7 Initialize the usage stack earlier
c6e7fab Factor out the checks for unused variables
5e41ba8 When using the API, check for Add vs. Remove
dee1976 Fix typo in VariableUnusedViaUnset test
f231ce5 Remove old false positive avoidance code
a117e02 Revert "Add test for unused warnings at the end of scope"
2c82f2b Exempt CMAKE(CURRENT|PARENT)_LIST_FILE from usage
6d7d449 Ignore CLI warnings for ABI determination
7740a73 Only return local keys that are defined
bef3aee Use the API so that warnings can be tracked
05cb0f4 Check for unused variables in the dtor
91c4c99 Add test for unused warnings at the end of scope
ca90f67 Fix detection of unused variables when setting
f7438ca Add test for unused detection via setting it
995cfb0 Don't warn if the variable wasn't defined
aefc91d Add test for usage checks via unset
a8e97f8 Remove VarRemoved code since it's been superceded
59463ef Rework CheckVariableForUnused usage
f117423 Fix line lengths to be no more than 78
e49a935 Improve unused warning logic
e01e40c Mark ARGC, ARGV*, and ARGN as used
a17aff7 Ignore CMAKE_MATCH_* variables for usage
02a114d Add method to allow variables to be marked as used
a0b0d23 CMAKE_DO_TRY_COMPILE is no longer used
ae3eff3 Fix the path used for ignoring system warnings
056b441 Fix missing case for usage of a variable
980e048 Factor out checks for unused variables
83acb0a Remove now unused variables
3801463 Use built-ins for readability and maintainability
8b52015 Push the initialize and unused states when copying
439877f Be consistent with single and double quotes
4cf1706 Add documentation for check-system-vars
b74777f Fix the spelling of the flag for warn-unused-vars
b948120 Change logic of flag to turn off cli unused checks
f047a17 Add test for uninitialized variables
75bda38 Add tests for unused command line variables
300fc15 Fix detection of system files
d784e6a Run the unused variables check on the final pass
9efc057 VariableWatch is not available when bootstrapping
2e78224 Add a missing comma to the warning message
7499700 Add a flag to warn about system files
fff9f6d Rename flags again and use variablewatch for cli
786e269 Add warn-unused to the Qt interface
636e6c4 Default to marking things as used
4ff0340 Rename find-unused to warn-unused
d7999e9 Rename strict-mode to warn-uninitialized
e141bc9 Detect unused variables
d3e8eb5 Add flags to detect unused variables
f332e14 Complete strict-mode checks for uninitialized vars
52f9637 Add method to get the local scope variables
f794d58 Make --strict-mode option, and integrate with cmake-gui
48b5b85 Add a warning when variables are used uninitialized.
cd626ea For macros make sure the FilePath points to a valid pointer in the args.
2011-01-27 15:34:07 -05:00
Brad King dd2f81491e Merge branch 'dev/add_test-working-directory' into dev/strict-mode
Conflicts:
	Tests/CMakeLists.txt
2011-01-27 14:39:55 -05:00
David Cole 2b082aa353 CTestTest2: Avoid running purify unless requested 2011-01-27 14:36:14 -05:00
David Cole b08657cf0f Xcode: Fix crash: avoid strlen call on NULL char *
Thanks to Johan Björk for the report on the CMake mailing list.
2011-01-27 06:57:12 -05:00
KWSys Robot 451c5f61c2 KWSys Nightly Date Stamp 2011-01-27 00:11:06 -05:00
Alex Neundorf ccbdc24ae1 Make cmake build again with cmake < 2.6.3
cmake_minimum_required() still says 2.4.5, but in Tests/CMakeLists.txt
there was a parenthesis expression, which is new since 2.6.3.

Alex
2011-01-26 21:52:22 +01:00
Brad King 833b8aa902 Merge topic 'recursive-CMAKE_USER_MAKE_RULES_OVERRIDE'
c83a834 try_compile: Allow only languages loaded in caller (#11469)
2011-01-26 15:25:18 -05:00