Brad King
1c0e1702c0
ENH: Improve documentation of cmake_policy command.
...
- Add a paragraph introducing the policy mechanism
- Explicitly introduce the CMP<NNNN>, OLD, and NEW notation
- Note that setting policies by CMake version is preferred
- Fix SET signature to use CMP<NNNN> notation
- Add more details about the policy stack
2008-03-17 20:30:47 -04:00
Brad King
33c84b50e9
ENH: Set CMake Policy CMP0003 to NEW behavior to build without warnings with the upcoming CMake 2.6 release.
2008-03-17 16:22:28 -04:00
Brad King
5a670176b9
STYLE: Nightly Date Stamp
2008-03-16 23:59:31 -04:00
Brad King
6429c35827
STYLE: Nightly Date Stamp
2008-03-15 23:59:38 -04:00
Brad King
d0670676d5
COMP: Fix unreachable code warning for break after return in switch in CMP0003 impl.
2008-03-15 10:00:40 -04:00
Brad King
133e5b5dd8
STYLE: Fix line-too-long for new INTERNAL_ERROR messages.
2008-03-15 10:00:07 -04:00
Brad King
204a70cff8
STYLE: Nightly Date Stamp
2008-03-14 23:59:45 -04:00
Sebastien Barre
3b1bbcfe15
STYLE: yeah yeah.
2008-03-14 16:39:20 -04:00
Clinton Stimpson
2edb9c4e32
ENH: Prevent loading standard qt plugins at runtime (which we dont' care about).
...
This can cause problems if a Mac bundle doesn't contain the plugins.
2008-03-14 15:18:04 -04:00
Brad King
e395fee080
ENH: Improve CMP0003 to provide more compatibility
...
- Targets built in the tree now add compatibility paths too
- The warning message's first list includes at most one item
for each unique compatibility path
- Clarified error message further
2008-03-14 14:21:57 -04:00
Brad King
3374d12ff0
BUG: Fix impl of CMP0005 regex to match value-less definitions.
2008-03-13 17:38:51 -04:00
Brad King
a340fd42b8
ENH: Clarify documentation of policy CMP0000 and its relationship with cmake_minimum_required.
2008-03-13 17:32:13 -04:00
Brad King
9a83ce6efc
ENH: Add policy CMP0005 to decide whether add_definitions should escape defs.
2008-03-13 17:11:57 -04:00
Brad King
a0ef989715
ENH: Add cmake_policy push/version/pop to import/export files.
2008-03-13 17:04:32 -04:00
Brad King
bf4cef9d5c
ENH: Add policy CMP_0004 to require library names to have no leading or trailing whitespace. Replace previous check of CMAKE_BACKWARDS_COMPATIBILITY against version 2.4 with the policy.
2008-03-13 16:35:39 -04:00
Brad King
d46ff28ac9
ENH: Convert CMAKE_LINK_OLD_PATHS to policy CMP0003.
...
- Policy is WARN by default so projects will build
as they did in 2.4 without user intervention
- Remove CMAKE_LINK_OLD_PATHS variable since it was
never in a release and the policy supercedes it
- Report target creation backtrace in warning message
since policy should be set by that point
2008-03-13 16:23:18 -04:00
Bill Hoffman
af55f854d4
ENH: make menu item match -Wno-dev command line
2008-03-13 16:21:44 -04:00
Clinton Stimpson
970cf01f08
ENH: Preserve white spaces when printing messages.
2008-03-13 16:13:40 -04:00
Bill Hoffman
f12ea8bd32
ENH: move the clear to before things are added to the maps
2008-03-13 15:34:17 -04:00
Brad King
3e997c9fc8
ENH: Make (dev) warnings show note about -Wno-dev option. Fix -Wdev and -Wno-dev options to not be mistaken for the source directory specification.
2008-03-13 15:06:35 -04:00
Brad King
a313a098d0
ENH: Reduce whitespace in policy warning/error messages.
2008-03-13 15:01:58 -04:00
Brad King
fb0296656d
ENH: Improve error message when invalid policy is given.
2008-03-13 14:13:44 -04:00
Brad King
870571b28b
ENH: Simplify error message for invalid set(... CACHE) calls to make it look nicer with new message format.
2008-03-13 13:52:49 -04:00
Brad King
f7f03347a6
ENH: Improve new error/warning message generation
...
- Add cmListFileBacktrace to record stack traces
- Move main IssueMessage method to the cmake class instance
(make the backtrace an explicit argument)
- Change cmMakefile::IssueMessage to construct a backtrace
and call the cmake instance version
- Record a backtrace at the point a target is created
(useful later for messages issued by generators)
2008-03-13 13:48:57 -04:00
Ken Martin
73df9a5cd4
ENH: change CMP_ to CMP
2008-03-13 11:38:46 -04:00
Sebastien Barre
cddb1346b7
BUG: the directory the FILE DOWNLOAD command is writing to might not exist.
2008-03-13 09:28:26 -04:00
Brad King
b40890c8ca
STYLE: Nightly Date Stamp
2008-03-12 23:59:59 -04:00
Bill Hoffman
042f4c334d
ENH: fix crash in cpack when CPACK_CYGWIN_PATCH_NUMBER not specified
2008-03-12 21:54:27 -04:00
Bill Hoffman
5ab6c0f0ed
ENH: remove abort calls and replace with an IssueMessage INTERANL_ERROR, better to not crash on the end user.
2008-03-12 21:06:32 -04:00
Bill Hoffman
8bf388109d
ENH: make sure properties are re-set on each configure
2008-03-12 17:02:30 -04:00
Sebastien Barre
f64d3d0b77
ENH: add REMOVE_DUPLICATES subcommand to LIST command (and test). Remove duplicates from a list (keep the ordering)
2008-03-12 17:02:10 -04:00
Ken Martin
2ad4f4bb9d
BUG: fix some bad changes in progress calc
2008-03-12 14:37:46 -04:00
Bill Hoffman
c559ce8f6f
STYLE: fix line len
2008-03-12 09:25:14 -04:00
Brad King
b8cd04d735
STYLE: Nightly Date Stamp
2008-03-12 00:00:13 -04:00
Bill Hoffman
e365c33766
ENH: fix dumb MS warning about BOOL and performance with more code
2008-03-11 23:01:41 -04:00
Bill Hoffman
f15026cff6
ENH: remove iostream, not used
2008-03-11 22:52:53 -04:00
Bill Hoffman
420725077c
ENH: add ability to suppress dev warnings to gui code
2008-03-11 22:51:56 -04:00
Bill Hoffman
fc26c1459c
ENH: add ability to suppress dev warnings to gui code
2008-03-11 22:50:35 -04:00
Brad King
b78997d71d
BUG: Fix subtle bug that prevented Makefile generators from rescanning dependencies when a new source file is added but no other sources are touched.
2008-03-11 17:53:54 -04:00
Brad King
c905bf9b13
COMP: Fix shared lib build on windows for KWSys's SystemInformation by adding export macro.
2008-03-11 17:37:17 -04:00
Bill Hoffman
b125a2ae7b
ENH: add KDE desktop stuff
2008-03-11 17:27:41 -04:00
Bill Hoffman
84cea9806f
ENH: fix warning message a bit
2008-03-11 17:27:24 -04:00
Brad King
fdf169be3a
BUG: Fixes to VS8/VS9 project regeneration rules
...
- ZERO_CHECK should check all stamps in case
of parallel build (fixes complex test failure)
- ZERO_CHECK should not appear when
CMAKE_SUPPRESS_REGENERATION is on (fixes bug 6490)
2008-03-11 17:25:49 -04:00
Bill Hoffman
b5cebc00f7
ENH: fix -Wno-dev for ccmake
2008-03-11 16:02:10 -04:00
Bill Hoffman
a547ff61cd
ENH: add a way to suppress the new policy warnings, still need ccmake and gui's
2008-03-11 15:17:58 -04:00
Bill Hoffman
dc9245df6c
ENH: add enum to IssueMessage
2008-03-11 10:29:56 -04:00
Brad King
9d4730f441
STYLE: Nightly Date Stamp
2008-03-11 00:00:21 -04:00
Brad King
7f2bf83132
ENH: Enforce matching PUSH/POP calls for cmake_policy.
2008-03-10 15:41:07 -04:00
Brad King
eb6b300978
ENH: Add directory-level context information to error/warning messages when no call stack is present.
2008-03-10 15:40:57 -04:00
Brad King
d73d9eb0f0
STYLE: Nightly Date Stamp
2008-03-10 00:00:23 -04:00