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
Brad King
a38a37f187
STYLE: Nightly Date Stamp
2008-03-09 00:00:25 -05:00
Brad King
bf732ec464
BUG: Fix include_directories command to produce an immediately whether or not 2.4 compatibility is enabled. CMake 2.4 already produced an error, just not immediately.
2008-03-08 09:50:56 -05:00
Brad King
959bd61e37
ENH: Improve formatting of include command error message.
2008-03-08 09:27:44 -05:00
Brad King
b2d7a839a4
COMP: Avoid using operator-> on const_reverse_iterator to help old compilers.
2008-03-08 09:21:30 -05:00
Brad King
192de486df
ENH: Cleanup policy generic documentation. Cleanup some policy error/warning messages.
2008-03-08 09:13:13 -05:00
Brad King
244272436a
STYLE: Nightly Date Stamp
2008-03-08 00:00:34 -05:00
Brad King
845563d575
COMP: Fix unused parameter warning in cmAddCustomTargetCommand.
2008-03-07 17:05:06 -05:00
Brad King
46bf0347a3
ENH: Finish creating, documenting, and enforcing policy CMP_0002.
2008-03-07 16:36:57 -05:00
Bill Hoffman
354abb72d9
ENH: fix it for working with an empty cache
2008-03-07 16:32:09 -05:00
Brad King
d4f66dfa32
ENH: In cmMakefile::IssueMessage use cmDocumentationFormatterText to format the message nicely.
2008-03-07 16:01:22 -05:00
Brad King
5233b75a77
ENH: Improve handling of old-style compatibility.
...
- Remove CMP_0001 (no slash in target name) and restore
old CMAKE_BACKWARDS_COMPATIBILITY check for it
- Replace all checks of CMAKE_BACKWARDS_COMPATIBILITY
with cmLocalGenerator::NeedBackwardsCompatibility calls
- Create new CMP_0001 to determine whether or not
CMAKE_BACKWARDS_COMPATIBILITY is used.
(old = use, new = ignore)
- Show CMAKE_BACKWARDS_COMPATIBILITY in cache only when
CMP_0001 is set to OLD or WARN
- Update documentation of cmake_policy and cmake_minimum_required
to indicate their relationship and the 2.4 version boundary
- When no cmake policy version is set in top level makefile
implicitly call cmake_policy(VERSION 2.4) which restores
CMAKE_BACKWARDS_COMPATIBILITY and other 2.4 compatibility
- Fix tests MakeClean and Preprocess to call
cmake_policy(VERSION 2.6) because they depend on new policies
2008-03-07 15:30:35 -05:00
Clinton Stimpson
8fb74f97ef
ENH: Use fixed pitch font in output window.
2008-03-07 11:50:11 -05:00
Ken Martin
55eede4b13
ENH: clean up some policy stuff and interactions with CMAKE_BACKWARDS_COMPATIBILITY and CMAKE_MINIMUM_REQUIRED
2008-03-07 11:43:47 -05:00
Bill Hoffman
497779d4b3
ENH: fix crash in cygwin package stuff
2008-03-07 11:06:44 -05:00
Ken Martin
3b7eaad890
STYLE: fix line length issue
2008-03-07 09:41:14 -05:00
Brad King
52ad7a5a97
BUG: Do not produce whitespace-only lines when indenting messages in new error/warning format.
2008-03-07 09:09:21 -05:00
Brad King
1d23ea1a2d
BUG: Generated try-compile CMakeLists.txt file should call cmake_policy with the current version of CMake, not just 2.6.
2008-03-07 08:53:22 -05:00
Brad King
680104a490
ENH: New format for warning and error messages
...
- Add cmMakefile methods IssueError and IssueWarning
- Maintain an explicit call stack in cmMakefile
- Include context/call-stack info in messages
- Nested errors now unwind the call stack
- Use new mechanism for policy warnings and errors
- Improve policy error message
- Include cmExecutionStatus pointer in call stack
so that errors deeper in the C++ stack under
a command invocation will become errors for the
command
2008-03-07 08:40:36 -05:00
Brad King
41a59e211e
STYLE: Nightly Date Stamp
2008-03-07 00:00:41 -05:00
Ken Martin
3518c08a8d
BUG: keep CMAKE_BACKWARDS_COMP as internal
2008-03-06 16:03:48 -05:00
Ken Martin
afd8448d0d
BUG: make default CMAKE_BACKWARDS_COMPATIBILITY 2.5
2008-03-06 15:51:51 -05:00
Bill Hoffman
ff445e3fd0
ENH: make sure policy is set in generated cmakelist files
2008-03-06 15:20:39 -05:00
Ken Martin
5588ed47fc
BUG: change in handling of cmake_minimum_required
2008-03-06 15:08:03 -05:00
Bill Hoffman
385377cf1c
STYLE: fix line length
2008-03-06 11:34:23 -05:00
Ken Martin
adddcea5d7
BUG: change the handling of CMAKE_MINIMUM_REQUIRED and BACKWARDS_COMPATIBILITY and extend the documentaiton quite a bit
2008-03-06 10:57:59 -05:00
Brad King
ea525a4fb4
STYLE: Nightly Date Stamp
2008-03-06 00:00:54 -05:00
Brad King
c07aba6240
ENH: Fix policy warning message to not give wrong code as example.
2008-03-05 18:42:46 -05:00
Brad King
49549560b2
ENH: Improve cmake_policy command signature
...
- Replace NEW and OLD modes with a SET mode for clarity
- Enforce VERSION argument validity (major.minor[.patch])
2008-03-05 18:21:10 -05:00
Brad King
7c01167666
BUG: Require policy version to specify at least major.minor. Do not store CMAKE_BACKWARDS_COMPATIBILITY with an invalid version value.
2008-03-05 18:20:20 -05:00
Brad King
95512a4c02
BUG: Fix parsing of policy version number in cmPolicies.
2008-03-05 17:26:32 -05:00
Ken Martin
f2c6e9e480
BUG: some fixes, still a few to go
2008-03-05 11:41:25 -05:00
Bill Hoffman
7173f2db0e
ENH: add master index into html full help
2008-03-05 11:05:22 -05:00
Brad King
b99a0db8ff
STYLE: Nightly Date Stamp
2008-03-05 00:00:55 -05:00
Brad King
ddd6ce04ec
BUG: Make sure at least one policy stack entry is created for every cmMakefile instance.
2008-03-04 18:57:14 -05:00
Brad King
2f922c6220
ENH: Make CMAKE_MINIMUM_REQUIRED command FATAL_ERROR option implicit (always on). Accept but ignore the existing option.
2008-03-04 18:42:06 -05:00
Brad King
53e0ed3273
BUG: Fix crash when CMAKE_BACKWARDS_COMPATIBILITY is not set.
2008-03-04 18:41:52 -05:00
Ken Martin
cd4d2acbe6
ENH: more policy changes
2008-03-04 14:51:25 -05:00
Brad King
96ee85d197
BUG: Fix memory leak when cmTarget instances are assigned. We really need to get rid of global targets and their associated assignments.
2008-03-04 13:51:27 -05:00
Bill Hoffman
bb5325f7f9
STYLE: fix line len
2008-03-04 13:34:21 -05:00
Brad King
d5f7ea6b74
BUG: Fix typo in documentation of LIBRARY_OUTPUT_PATH.
2008-03-04 09:40:38 -05:00
Ken Martin
d47a5951ed
ENH: add --help-policies and --help-policy command line options
2008-03-04 09:16:33 -05:00
Brad King
ed75e31979
STYLE: Nightly Date Stamp
2008-03-04 00:01:06 -05:00
Bill Hoffman
077805ff49
ENH: fix ICE with gcc in dash8
2008-03-03 11:28:16 -05:00
Brad King
e98ee8cf70
COMP: Fix cmELF to build when ET_LOOS, ET_HIOS, ET_LOPROC, ET_HIPROC may not be defined.
2008-03-03 08:48:37 -05:00
Brad King
137618c37c
STYLE: Nightly Date Stamp
2008-03-03 00:01:05 -05:00
Brad King
73f175146a
ENH: During installation do not use builtin chrpath if the rpath will not change.
2008-03-02 16:48:50 -05:00
Brad King
652951b976
ENH: Allow users to work around problems with the builtin chrpath by setting CMAKE_NO_BUILTIN_CHRPATH.
2008-03-02 16:37:34 -05:00
Brad King
78d27ce7a6
BUG: Fix bug introduced by workaround to warning.
2008-03-02 16:31:06 -05:00
Brad King
f42c3de1d7
BUG: A few more corrections for cmELF
...
- Add os-specific and processor-specific file types
- Add more error strings for invalid files.
- Byte order of header fields does not always match encoding
2008-03-02 16:19:40 -05:00
Brad King
34a338dcc1
ENH: In cmSystemTools::ChangeRPath check for the RUNPATH if RPATH does not exist.
2008-03-02 16:19:26 -05:00
Brad King
d732de4a8a
ENH: Cleanup builtin chrpath support
...
- Move computation of extended build-tree rpath
to cmComputeLinkInformation
- Only enable the extended build-tree rpath if
the target will be installed
- Generalize the interface of file(CHRPATH)
- When changing the rpath on installation only
replace the part generated by CMake because
the native tools (ex SunCC on Linux) might have
added their own part to the rpath
2008-03-02 14:35:23 -05:00
Ken Martin
c9514dc0d1
COMP: possible fix for VS6, but probably not, probably need tomake it internal
2008-03-02 09:12:27 -05:00
Ken Martin
7b5d1c4c1e
COMP: fix warning
2008-03-02 09:11:26 -05:00
Ken Martin
345af17586
ENH: revert dumb change
2008-03-02 09:03:33 -05:00
Ken Martin
e0059c0db7
COMP: fix compile errors on vs6 and a warning
2008-03-02 08:36:18 -05:00
Brad King
c1f692ec27
STYLE: Nightly Date Stamp
2008-03-02 00:01:03 -05:00
Ken Martin
6f6b80fded
BUG: bad loop index unsigned compared to zero
2008-03-01 16:21:41 -05:00
Ken Martin
d7db2d086c
COMP: fix some warnings
2008-03-01 15:44:17 -05:00