8197 Commits

Author SHA1 Message Date
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
Ken Martin
bd0447be7d STYLE: fix some line lengths 2008-03-01 15:26:15 -05:00
Ken Martin
d49ef18f8a ENH: add first cut and policies still need to add the doc support 2008-03-01 15:20:35 -05:00
Brad King
32ca01bef0 COMP: Fix unused parameter warning when cmSystemTools::ChangeRPath is built without ELF support. 2008-03-01 15:16:49 -05:00
Brad King
26e58b74d1 BUG: Fix cmSystemTools::ChangeRPath to not complain if there is no RPATH entry in the file but the requested new rpath is empty. 2008-03-01 13:17:01 -05:00
Brad King
59001281bb BUG: Do not try to change the RPATH when installing a target if CMAKE_SKIP_RPATH is on or the path does not need to be changed. 2008-03-01 13:02:08 -05:00
Brad King
34c76d4304 ENH: Use builtin chrpath instead of relinking ELF targets
- Add cmSystemTools::ChangeRPath method
  - Add undocumented file(CHRPATH) command
  - When installing use file(CHRPATH) to change the rpath
    instead of relinking
  - Remove CMAKE_CHRPATH lookup from CMakeFindBinUtils
  - Remove CMAKE_USE_CHRPATH option since this should
    always work
2008-03-01 12:51:07 -05:00
Brad King
61178a0682 ENH: Add Size member to cmELF::StringEntry to return the amount of space in the string entry. 2008-03-01 12:50:42 -05:00
Brad King
230c8972f7 BUG: Do not place $(CMAKE_COMMAND) in link scripts. 2008-03-01 09:08:34 -05:00
Brad King
c0f2d419e0 STYLE: Nightly Date Stamp 2008-03-01 00:01:04 -05:00
Bill Hoffman
f48a5cedc9 ENH: fix warnings 2008-02-29 21:33:33 -05:00
Bill Hoffman
0634c9d78e ENH: fix docs 2008-02-29 21:33:04 -05:00
Ken Martin
10d1639ea3 ENH: just getting somethng checked in, still work to do 2008-02-29 15:42:14 -05:00
Ken Martin
0e82aafff0 ENH: case 2008-02-29 15:41:35 -05:00
Ken Martin
ab851bf36b ENH: just getting somethng checked in, still work to do 2008-02-29 15:28:46 -05:00
Bill Hoffman
22dc873ef0 ENH: allow cdash not to trigger 2008-02-29 14:58:33 -05:00
Bill Hoffman
f386c2aae0 ENH: make CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS the default and remove the property. If any value is specified in an endif, endforeach, endwhile, etc then make sure it matches the start string. If no values are given then it is no longer an error. 2008-02-29 12:18:11 -05:00
Brad King
03ef00bc93 ENH: Make cmELF parser more general and powerful
- Add support to get RPATH and RUNPATH entries.
  - Add support to get file offsets to strings.
  - Add more DT_* tags to byte swapping.
2008-02-29 11:12:59 -05:00
Brad King
44f696f8da BUG: cmComputeLinkInformation::CheckImplicitDirItem needs to extract the filename portion of the link item to test against the library regex. 2008-02-29 09:15:32 -05:00