Ben Boeckel
980e048a7d
Factor out checks for unused variables
2010-09-14 17:10:04 -04:00
Ben Boeckel
83acb0a4b2
Remove now unused variables
2010-09-08 13:29:57 -04:00
Ben Boeckel
3801463c9f
Use built-ins for readability and maintainability
2010-09-08 12:03:42 -04:00
Ben Boeckel
8b520158c3
Push the initialize and unused states when copying
2010-09-07 15:12:15 -04:00
Ben Boeckel
439877f620
Be consistent with single and double quotes
2010-09-02 12:14:06 -04:00
Ben Boeckel
4cf17062d3
Add documentation for check-system-vars
2010-09-02 11:39:22 -04:00
Ben Boeckel
b74777fdb2
Fix the spelling of the flag for warn-unused-vars
2010-09-02 11:39:01 -04:00
Ben Boeckel
b94812072a
Change logic of flag to turn off cli unused checks
...
Since we default to checking unused cli variables, make the flag turn
off the checks.
2010-09-02 11:38:00 -04:00
Ben Boeckel
300fc15779
Fix detection of system files
...
Instead of looking to see if the file is under CMAKE_ROOT, check to see
if it is instead under the source or binary directories in use.
2010-09-02 11:33:34 -04:00
Ben Boeckel
d784e6af4d
Run the unused variables check on the final pass
2010-09-02 11:29:05 -04:00
Ben Boeckel
9efc05722e
VariableWatch is not available when bootstrapping
2010-09-02 09:10:52 -04:00
Ben Boeckel
2e78224509
Add a missing comma to the warning message
2010-09-01 13:09:08 -04:00
Ben Boeckel
74997000c8
Add a flag to warn about system files
2010-09-01 13:09:08 -04:00
Ben Boeckel
fff9f6d6f7
Rename flags again and use variablewatch for cli
2010-09-01 13:09:08 -04:00
Ben Boeckel
786e2695cb
Add warn-unused to the Qt interface
2010-09-01 13:08:15 -04:00
Ben Boeckel
636e6c4ef7
Default to marking things as used
...
If we don't then:
cmake --warn-unused --warn-unused-all
acts differently than:
cmake --warn-unused-all --warn-unused
2010-09-01 13:08:15 -04:00
Ben Boeckel
4ff03402fc
Rename find-unused to warn-unused
2010-09-01 13:08:14 -04:00
Ben Boeckel
d7999e9b29
Rename strict-mode to warn-uninitialized
2010-09-01 13:08:14 -04:00
Ben Boeckel
e141bc950a
Detect unused variables
2010-09-01 13:08:14 -04:00
Ben Boeckel
d3e8eb5041
Add flags to detect unused variables
2010-09-01 13:08:14 -04:00
Ben Boeckel
f332e14ff2
Complete strict-mode checks for uninitialized vars
2010-09-01 13:08:14 -04:00
Ben Boeckel
52f9637174
Add method to get the local scope variables
2010-09-01 13:08:14 -04:00
Bill Hoffman
f794d589a4
Make --strict-mode option, and integrate with cmake-gui
2010-09-01 13:08:14 -04:00
Bill Hoffman
48b5b85593
Add a warning when variables are used uninitialized.
2010-09-01 13:08:13 -04:00
Bill Hoffman
cd626ea66e
For macros make sure the FilePath points to a valid pointer in the args.
2010-09-01 13:08:13 -04:00
KWSys Robot
c4f7034efb
KWSys Nightly Date Stamp
2010-08-25 00:10:25 -04:00
Brad King
70f3b06b7c
Merge topic 'vs2010-dbginfo-default'
...
e234122
VS2010: Disable PDBs when there is no debug info
2010-08-24 14:42:31 -04:00
KWSys Robot
888f61e6e3
KWSys Nightly Date Stamp
2010-08-24 00:10:03 -04:00
KWSys Robot
9b82ecae42
KWSys Nightly Date Stamp
2010-08-23 00:10:27 -04:00
KWSys Robot
b718597b8b
KWSys Nightly Date Stamp
2010-08-22 00:10:03 -04:00
KWSys Robot
e8fca4e247
KWSys Nightly Date Stamp
2010-08-21 00:10:23 -04:00
KWSys Robot
e752cff8fd
KWSys Nightly Date Stamp
2010-08-20 00:10:30 -04:00
Brad King
c873a83b6c
Merge topic 'remove-EscapeSpaces'
...
cb9ea26
Remove cmSystemTools::EscapeSpaces method
5383657
CTest: Avoid use of old EscapeSpaces method
2010-08-19 13:28:50 -04:00
Brad King
9b02aee86e
Merge topic 'fix-cdash-version-uri'
...
7dbc1a2
Fix hard-coded CDash URI in version query
2010-08-19 13:28:08 -04:00
Robert Goulet
e234122693
VS2010: Disable PDBs when there is no debug info
...
When none of the options /Z7, /Zi and /ZI are specified in the cmake
project settings, the project will open in the editor with "Program
Database" as the default debug information format, ending up always
generating PDBs regardless of project configuration.
Modify the output project file so that if the debug information format
is not specified in the cmake project settings it will default to no PDB
generated, just like all the previous other Visual Studio versions.
This problem comes from the fact that Microsoft changed the default
setting of the debug information format to be "Program Database" instead
of "Disabled".
2010-08-19 09:21:54 -04:00
KWSys Robot
b29cd51147
KWSys Nightly Date Stamp
2010-08-19 00:10:04 -04:00
Brad King
cb9ea2647f
Remove cmSystemTools::EscapeSpaces method
...
The last remaining call to this method exists only for compatibility.
Remove the method and put its implementation inline in place of the last
call.
2010-08-18 10:26:05 -04:00
Brad King
5383657357
CTest: Avoid use of old EscapeSpaces method
...
Refactor how cmCTestMemCheckHandler computes the memory tester command
line options to avoid encoding them in a single string just to parse
them again. The EscapeSpaces uses backslahes to escape spaces on UNIX
platforms, so replace other calls to it in CTest that are used to create
human-readable strings with simple double-quoting.
2010-08-18 10:14:09 -04:00
Zach Mullen
7dbc1a2ebd
Fix hard-coded CDash URI in version query
2010-08-18 09:58:27 -04:00
KWSys Robot
a3d796b906
KWSys Nightly Date Stamp
2010-08-18 00:10:05 -04:00
Brad King
ab90916638
Merge topic 'libarchive-wrapper'
...
fb41da4
Add Compress compress support to libarchive-wrapper
1a3ad5c
Add XZ compress support to libarchive-wrapper
b50c159
Add ZIP archive format and LZMA compress support to libarchive-wrapper
4663356
cmArchiveWrite: Fix signed/unsigned again
2010-08-17 15:20:32 -04:00
Brad King
465f4dd5a2
Merge topic 'tg/find-ignore-path'
...
1221581
Teach find_* commands to ignore some paths
2010-08-17 15:13:40 -04:00
Brad King
cc2ba7f9c2
Merge topic 'CPack-APIredesign'
...
bd510fe
CPack: Avoid member shadowing after API refactor (part2)
31a313d
CPack: Avoid member shadowing after API refactor
cd7b8a0
CPack: Refactor API in order to handle multi-file packages
2010-08-17 15:12:42 -04:00
KWSys Robot
f4ce315301
KWSys Nightly Date Stamp
2010-08-17 00:10:04 -04:00
Eric NOULARD
fb41da4a6b
Add Compress compress support to libarchive-wrapper
2010-08-16 20:45:05 +02:00
Brad King
0f5189d144
KWSys: Fix GetActualCaseForPath for UNC paths
...
See issue #11023 .
Author: Clinton Stimpson <clinton@elemtech.com>
2010-08-16 10:00:02 -04:00
Brad King
0a21abd690
KWSys: Fix SplitPath for leading '\' on Windows
...
Windows paths may begin with a single backslash when the drive letter is
omitted. Recognize this as a root path component.
2010-08-16 09:10:03 -04:00
KWSys Robot
78474d9f24
KWSys Nightly Date Stamp
2010-08-16 00:10:02 -04:00
KWSys Robot
b0d03c9953
KWSys Nightly Date Stamp
2010-08-15 00:10:03 -04:00
KWSys Robot
16168ab0c3
KWSys Nightly Date Stamp
2010-08-14 00:10:02 -04:00