David Cole
8950fca4ce
BUG: Fix for issue #6440 . Use 0 instead of FALSE for ExceptionHandling with Visual Studio 2005 and later.
2008-04-17 11:16:53 -04:00
Brad King
e2421c93d8
STYLE: Nightly Date Stamp
2008-04-17 00:01:03 -04:00
Brad King
c7b71de086
STYLE: Nightly Date Stamp
2008-04-16 00:01:13 -04:00
Brad King
cf3e180f14
COMP: Fix signed/unsigned comparison warning in cmELF.
2008-04-15 09:00:20 -04:00
Brad King
a8604d07d0
STYLE: Nightly Date Stamp
2008-04-15 00:01:09 -04:00
Brad King
202e759bbf
ENH: Clarify documentation of install(TARGETS) command to refer to install target types by the upper-case keywords used when invoking the command.
2008-04-14 18:03:15 -04:00
Brad King
067717a56a
BUG: Fix compatibility with CMake 2.4 for installation of MACOSX_BUNDLE targets
...
- Add policy CMP0006 to decide whether to use compatibility
- OLD behavior is to fall back to RUNTIME rules
- NEW behavior is to produce an error
2008-04-14 17:53:11 -04:00
Clinton Stimpson
3052d2c854
BUG: Fix issue when non-error messages were incorrectly colored red.
2008-04-14 16:15:28 -04:00
Brad King
629afe07ce
BUG: A per-config target name postfix should be ignored for Mac bundle and framework names.
2008-04-14 15:27:27 -04:00
Brad King
fdc3bfff7c
ENH: Improve RPATH behavior during installation.
...
- If new RPATH is empty then remove the entry completely
- Preserve file modification time so installation is not repeated
- If installed file already exists remove it if its RPATH
does not match that expected
2008-04-14 15:02:44 -04:00
Brad King
b9a5dccc8d
ENH: Added RPATH methods to cmSystemTools
...
- RemoveRPath to remove the RPATH from a binary
- CheckRPath to check for an existing RPATH in a binary
2008-04-14 15:02:34 -04:00
Brad King
3ff5404cca
ENH: Added cmELF methods to get information about DYNAMIC section entries.
2008-04-14 15:02:24 -04:00
Brad King
9b8404a305
COMP: Fix new cmSystemTools file time methods on Windows.
2008-04-14 12:44:01 -04:00
Brad King
703b8c8225
ENH: Added methods to cmSystemTools to save and restore file modification times.
2008-04-14 11:43:45 -04:00
Brad King
ce0f575473
ENH: Make message(SEND_ERROR) report context.
2008-04-14 09:20:16 -04:00
Brad King
238d9d9e30
BUG: When MACOSX_PACKAGE_LOCATION specifies Headers/foo we must still create the Headers symlink.
2008-04-14 09:08:35 -04:00
Brad King
5db84ae9b0
STYLE: Nightly Date Stamp
2008-04-14 00:01:20 -04:00
Brad King
c4a821d029
STYLE: Nightly Date Stamp
2008-04-13 00:01:14 -04:00
Brad King
fcc841167d
STYLE: Nightly Date Stamp
2008-04-12 00:01:19 -04:00
Bill Hoffman
b0256fbe1c
BUG: make sure OBJECT_DIR is in the path of the SHELL
2008-04-11 13:13:15 -04:00
Brad King
8d6a600409
STYLE: Nightly Date Stamp
2008-04-11 00:01:20 -04:00
Bill Hoffman
d1281f5cbc
BUG: the sun make goes into some odd n squared thing with this sccs and rcs stuff for gmake, so I am removing them.
2008-04-10 11:55:49 -04:00
Brad King
6925e08f9a
STYLE: Nightly Date Stamp
2008-04-10 00:01:25 -04:00
Brad King
ba085b4d96
STYLE: Nightly Date Stamp
2008-04-09 00:01:27 -04:00
Bill Hoffman
0a61a70870
BUG: undo change as it breaks preprocess test for some reason??
2008-04-08 17:37:13 -04:00
Bill Hoffman
f2b2861248
ENH: remove qualifier from .h file
2008-04-08 16:13:43 -04:00
Bill Hoffman
5a079b151a
BUG: half fix for 6688, expand registry stuff on unix just like it was not found on windows
2008-04-08 16:06:44 -04:00
Bill Hoffman
cec897edc4
ENH: half fix for 6688, don't let [ count go negative
2008-04-08 16:05:23 -04:00
Brad King
871d80696b
ENH: Update cmSystemTools::ChangeRPath to support replacing rpath values from the middle of the string.
2008-04-08 13:42:30 -04:00
Bill Hoffman
fb62f79163
ENH: make sure cmake-gui builds with cmake 2.4.X
2008-04-08 11:30:47 -04:00
Brad King
67834f2d53
BUG: Correct Mac OS X framework behavior
...
- Place the built library in foo.framework/Versions/A/foo
- Do not create unused content symlinks (like PrivateHeaders)
- Do not use VERSION/SOVERSION properties for frameworks
- Make cmTarget::GetDirectory return by value
- Remove the foo.framework part from cmTarget::GetDirectory
- Correct install_name construction and conversion on install
- Fix MACOSX_PACKAGE_LOCATION under Xcode to use the
Versions/<version> directory for frameworks
- Update the Framework test to try these things
2008-04-08 00:06:47 -04:00
Brad King
5c3a5daaf1
STYLE: Nightly Date Stamp
2008-04-07 23:56:58 -04:00
Clinton Stimpson
7d2bbfe842
BUG: Fix #6733 . Always convert "\" to "/" in source & binary directory fields on Windows.
2008-04-07 19:19:50 -04:00
Brad King
1829bed8b5
BUG: Do not create target output directory in cmTarget. Let the generators do it.
2008-04-07 13:39:13 -04:00
Brad King
c408760a8a
ENH: Improve error message when installation file(CHRPATH) cannot change the RPATH.
2008-04-07 10:55:52 -04:00
Brad King
5824f44a75
STYLE: Nightly Date Stamp
2008-04-06 23:57:08 -04:00
Bill Hoffman
d7e50fb271
BUG: fix network path by mistake in search
2008-04-06 22:19:06 -04:00
Brad King
2014a95f91
STYLE: Nightly Date Stamp
2008-04-05 23:57:11 -04:00
Brad King
249210691e
STYLE: Nightly Date Stamp
2008-04-04 23:57:19 -04:00
Bill Hoffman
45ce11a075
ENH: install the mac application bundle into /Applications directly with no enclosing folder
2008-04-04 16:02:50 -04:00
Brad King
d1c660d495
STYLE: Nightly Date Stamp
2008-04-03 23:57:25 -04:00
Alexander Neundorf
2d8d6dd55d
ENH: add edit_cache target for Eclipse (if it's not ccmake, because this
...
doesn't work inside the log view)
Alex
2008-04-03 18:43:43 -04:00
Clinton Stimpson
7bd2da3eff
ENH: Fix exit shortcut to be more standard, and add shortcut for advanced checkbox.
2008-04-03 18:35:02 -04:00
Bill Hoffman
763791fc27
ENH: do not link . and .. during install
2008-04-03 17:02:26 -04:00
Clinton Stimpson
3cb2ba9e90
ENH: Add more shortcuts. Fixes 6357.
2008-04-03 16:49:46 -04:00
Bill Hoffman
5d01572348
ENH: add ability to create symlinks for command line on mac from gui
2008-04-03 16:18:37 -04:00
Bill Hoffman
5514b2811b
BUG: response file must be a copy if different or you get relinks every time you run cmake
2008-04-03 11:11:54 -04:00
Brad King
e00d702cdd
STYLE: Nightly Date Stamp
2008-04-02 23:57:33 -04:00
Clinton Stimpson
7ff914227d
ENH: Add debug output option to a new Options menu.
...
Move dev warnings option to the new Options menu.
Fixes #6335 .
2008-04-02 17:41:24 -04:00
Alexander Neundorf
6292341841
ENH: make it possible to disable debug output again
...
Alex
2008-04-02 17:29:25 -04:00
Clinton Stimpson
1e61bb1f4c
BUG: Keep editor alive when file dialog comes up to pick another file or path.
...
The editor going away prematurely Seems to only happen on Mac OS X.
2008-04-02 15:28:17 -04:00
Clinton Stimpson
76ed89cede
ENH: Allow cancelling the dialog that prompts for the generator.
2008-04-02 14:01:37 -04:00
Mathieu Malaterre
f410daffec
STYLE: minor comments
2008-04-02 08:36:51 -04:00
Brad King
590e5c47dd
STYLE: Nightly Date Stamp
2008-04-01 23:57:54 -04:00
Bill Hoffman
2efad09d92
ENH: add CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA variable
2008-04-01 17:51:10 -04:00
Bill Hoffman
2488dccf4e
BUG: fix location of tmp file to use the full path, caused error on vista not running as admin
2008-04-01 17:39:04 -04:00
Ken Martin
ccfec633a8
COMP: fix warning
2008-04-01 15:22:30 -04:00
Ken Martin
16f1cc9b59
ENH: support unset of properties
2008-04-01 14:22:09 -04:00
Brad King
225f7d1f69
STYLE: Nightly Date Stamp
2008-03-31 23:57:52 -04:00
Brad King
6d064999f6
BUG: Generated target export files should set the policy version to 2.6 instead of the currently running version because they are 2.6 compatible.
2008-03-31 13:48:50 -04:00
Brad King
e3666a1de5
ENH: Allow policy CMP0000 to be set explicitly
...
- Message for missing cmake_minimum_required is not issued
until the end of processing the top CMakeLists.txt file
- During processing a cmake_policy command may set behavior
- OLD behavior is to silently ignore the problem
- NEW behavior is to issue an error instead of a warning
2008-03-31 13:33:09 -04:00
Brad King
3652a8e913
BUG: Fix bug 6605 more completely
...
- CMake 2.4 added link directories for targets linked
in the optimized configuration even when building debug
- Old behavior for policy CMP0003 must account for this
2008-03-31 12:47:31 -04:00
Brad King
8605551920
ENH: Improve speed of manifest tool on VS8 and VS9.
...
- Detect filesystem type where target will be linked
- Use FAT32 workaround only when fs is FAT or FAT32
2008-03-31 10:59:02 -04:00
Brad King
c514e497c4
STYLE: Nightly Date Stamp
2008-03-30 23:57:54 -04:00
Brad King
1ea33285e5
STYLE: Nightly Date Stamp
2008-03-29 23:58:04 -04:00
Bill Hoffman
e5f96bd7ad
ENH: make sure gui no-dev workis
2008-03-29 13:16:02 -04:00
Brad King
d83bb1479f
STYLE: Nightly Date Stamp
2008-03-28 23:58:07 -04:00
Alexander Neundorf
12ba1e9b20
BUG: fix packaging of files installed to absolute paths, works only when
...
used with SET(CPACK_SET_DESTDIR "ON")
Alex
2008-03-28 20:23:01 -04:00
Bill Hoffman
cf94182624
ENH: remove dangerous access to ivar that should not be used
2008-03-28 15:59:18 -04:00
Bill Hoffman
30630137f5
ENH: fix for the correct path to cmake
2008-03-28 15:54:20 -04:00
Bill Hoffman
cae34d2df3
ENH: try to fix mac symlinks to the executable
2008-03-28 14:29:29 -04:00
Brad King
b8169eb4e3
COMP: Add missing module for CHECK_INCLUDE_FILE macro.
2008-03-28 13:22:43 -04:00
Brad King
8c1a743027
ENH: Add note to Fortran_MODULE_DIRECTORY property documentation about using CMAKE_Fortran_MODULE_DIRECTORY to initialize it.
2008-03-28 13:07:03 -04:00
Clinton Stimpson
369379f0c6
ENH: Better default size for help dialog.
2008-03-28 12:53:31 -04:00
Brad King
07cb082722
STYLE: Nightly Date Stamp
2008-03-27 23:58:16 -04:00
Bill Hoffman
47d12c273c
BUG: fix for 6619
2008-03-27 22:00:16 -04:00
Bill Hoffman
260de3ca3e
BUG: fix for bug 6660
2008-03-27 21:54:49 -04:00
Bill Hoffman
7b93585960
BUG: fix for bug 6661
2008-03-27 21:51:32 -04:00
Alexander Neundorf
d64600127b
COMP: fix warning about unused mf
...
-"make VERBOSE=1 <target>" should be more portable than
"VERBOSE=1 make <target>", since it doesn't rely on the shell, shouldn't it ?
Alex
2008-03-27 17:40:43 -04:00
Bill Hoffman
7dcfdf5005
BUG: fix install problem on make and allow symlinks to cmake bin directory
2008-03-27 17:05:11 -04:00
Alexander Neundorf
4f88f7e4de
ENH:
...
-enable colored output with the kdevelop generator
-create non-verbose makefiles and have kdevelop call "VERBOSE=1 make" instead
Alex
2008-03-27 15:33:09 -04:00
Brad King
fc9fb0d60f
STYLE: Nightly Date Stamp
2008-03-26 23:58:21 -04:00
Bill Hoffman
b487030bd9
ENH: clean up annoying output from rc tool in VS9
2008-03-26 22:34:27 -04:00
Alexander Neundorf
43cad3e4a5
BUG: fix the default "Unspecified" component when only the generic (i.e. not
...
RUNTIME, ARCHIVE, LIBRARY, etc.) arguments are given.
If the component of a part of a target is queried, return the specific one,
if a specific one hasn't been set, return the generic one, if that hasn't
been set, return "Unspecified".
Alex
2008-03-26 18:30:34 -04:00
Bill Hoffman
69a961a6ba
ENH: make sure numAttempts is incremented
2008-03-26 13:50:23 -04:00
Bill Hoffman
3827991e87
ENH: try to fix dashboard issue with not being able to remove try compile code
2008-03-26 13:14:16 -04:00
Brad King
e5e65b5b88
STYLE: Nightly Date Stamp
2008-03-25 23:58:37 -04:00
Bill Hoffman
5905d79c8a
ENH: fix for watcom can't use phony
2008-03-25 10:11:48 -04:00
Brad King
a02bbd4237
STYLE: Nightly Date Stamp
2008-03-24 23:58:38 -04:00
Brad King
1655dce2a5
ENH: Cleanup policy version interface presented to user.
...
- In cmake_minimum_required do not set policy version if current
CMake is too old
- In cmPolicies::ApplyPolicyVersion report error if version is too
new or cannot be parsed
2008-03-24 10:56:26 -04:00
Bill Hoffman
a24ff4e453
ENH: add PHONY targets
2008-03-24 10:26:38 -04:00
Brad King
962a69acd4
STYLE: Nightly Date Stamp
2008-03-23 23:58:41 -04:00
Brad King
fde51dc4a2
STYLE: Nightly Date Stamp
2008-03-22 23:58:49 -04:00
Bill Hoffman
6d0845f2f8
ENH: make sure -Wno-dev sticks so make rebuild_cache will work
2008-03-22 10:24:06 -04:00
Brad King
73b3110eb5
STYLE: Nightly Date Stamp
2008-03-21 23:58:58 -04:00
Brad King
3cda0559a8
STYLE: Nightly Date Stamp
2008-03-20 23:59:03 -04:00
Brad King
a86e8fa69f
ENH: Yet another attempt at warning for CMP0003.
...
- Give example code to avoid the warning
- Make explanation more consise
- Explicitly state this is for compatibility
- Issue the warning for at most one target
2008-03-20 21:11:26 -04:00
Brad King
a6a673979d
ENH: Add "if(POLICY policy-id)" option for IF command.
...
- This will help projects support multiple CMake versions.
- In order to set a policy when using a newer CMake but still
working with an older CMake one may write
if(POLICY CMP1234)
cmake_policy(SET CMP1234 NEW)
endif(POLICY CMP1234)
- Note that since CMake 2.4 does not have if(POLICY) supporting
it will also require using "if(COMMAND cmake_policy)"
2008-03-20 18:25:59 -04:00
Ken Martin
66a8c5763b
ENH: tiny performance improvement
2008-03-20 10:46:24 -04:00
Ken Martin
a568a8552d
ENH: small simple projects do not need to specify cmake minimum required
2008-03-20 10:40:24 -04:00
Brad King
36c37a60b0
ENH: Clarify end of (dev) warnings to explicitly state they are meant for project developers.
2008-03-20 10:11:52 -04:00
Brad King
83d4f335cb
STYLE: Nightly Date Stamp
2008-03-19 23:59:09 -04:00
Brad King
16b32f9c9b
BUG: Change generated try-compile projects to use cmake_minimum_required instead of cmake_policy to set the version now that CMP0000 requires it.
2008-03-19 15:44:56 -04:00
Brad King
01033b5d56
ENH: Improve warning about specifying a cmake version
...
- Update policy CMP0000 to require use of the command
cmake_minimum_required and not cmake_policy
so there is only one way to avoid it.
- Explicitly specify the line users should add.
- Reference policy CMP0000 only at the end.
- Fix policy CMP0000 documentation to not suggest
use of the cmake_policy command.
2008-03-19 15:18:21 -04:00
Brad King
db228dd6d2
ENH: Clarify warning for policy CMP0003 further.
2008-03-19 14:32:38 -04:00
David Cole
530c206cba
BUG: Missing a linker crashed error matching string.
2008-03-19 11:18:40 -04:00
Bill Hoffman
9ea3cbc7b7
ENH: do not warn about frameworks as they are not affected by -L anyway
2008-03-19 09:14:10 -04:00
Brad King
ce7ee70872
STYLE: Nightly Date Stamp
2008-03-18 23:59:23 -04:00
Bill Hoffman
ba7f0ab335
ENH: try to reduce the number of CMP0003 warnings that people see. Only report them for unique sets of libraries with no full path. Also add a message explaining the course of action that should be taken
2008-03-18 17:32:26 -04:00
Bill Hoffman
dec1221f0b
ENH: exclude borland make as well
2008-03-18 11:51:23 -04:00
Bill Hoffman
cb512cd513
ENH: turn off extra rules for nmake and wmake
2008-03-18 11:28:59 -04:00
Bill Hoffman
813779d962
ENH: try to improve make speed by getting rid of some implicit rules that were still around.
2008-03-18 10:02:31 -04:00
Brad King
ba18eb7d56
STYLE: Nightly Date Stamp
2008-03-17 23:59:24 -04:00
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
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
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
Brad King
1f71ee64ff
STYLE: Nightly Date Stamp
2008-02-29 00:01:04 -05:00
Brad King
d404c6bff6
COMP: cmELF needs to include sys/link.h to get dynamic section structures on the Sun.
2008-02-28 08:43:10 -05:00
Brad King
fcad490654
COMP: Fix warnings in cmELF.
2008-02-28 08:32:05 -05:00
Brad King
6c7d32394c
STYLE: Nightly Date Stamp
2008-02-28 00:01:11 -05:00
Brad King
dfe2ea6406
ENH: Handle large object file lists on some platforms
...
- Use a response file when enabled by
CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_OBJECTS
- Enable for C and CXX with cl (MSVC)
- Enable for Fortran with ifort (Intel Fortran)
2008-02-27 17:10:45 -05:00
Brad King
4c137bad6b
ENH: Add ELF file parsing
...
- Enabled when system provides elf.h
- Introduce cmELF class to parse ELF files
- Use in cmSystemTools::GuessLibrarySOName to really get soname
2008-02-27 16:26:35 -05:00
Brad King
69ad23a6e7
BUG: Fixed typo in previous commit of kwsys/CPU.h.in
2008-02-27 16:11:20 -05:00
Brad King
4a40fe43e3
ENH: Added CPU.h to KWSys to identify the target CPU and its byte order.
2008-02-27 16:07:14 -05:00
Brad King
883931056f
STYLE: Nightly Date Stamp
2008-02-27 00:01:05 -05:00
Brad King
f1b80f642b
STYLE: Nightly Date Stamp
2008-02-26 00:01:09 -05:00
Clinton Stimpson
0a9f041d2f
ENH: Adjust when log is cleared. Its kept doing generate,
...
and cleared when changing the source directory.
#6358 .
2008-02-25 15:07:38 -05:00
Brad King
88bd02a5d1
STYLE: Nightly Date Stamp
2008-02-25 00:01:03 -05:00
Brad King
58480575a3
ENH: Simplify make build rule generation by removing use of OBJECTS_QUOTED and TARGET_QUOTED rule variables and updating the generation of OBJECTS to always use the newer cmLocalGenerator::Convert method.
2008-02-24 14:05:21 -05:00
Brad King
dab5ea859a
COMP: Fix Borland 5.5 build
...
- Its <iosfwd> header includes windows.h which
defines GetCurrentDirectory
- It defines 'interface' so we cannot use it as
a variable name.
2008-02-24 14:05:11 -05:00
Brad King
daaaf7fdcc
STYLE: Nightly Date Stamp
2008-02-24 00:01:02 -05:00
Brad King
a48f7968b6
STYLE: Nightly Date Stamp
2008-02-23 00:01:05 -05:00
Brad King
5e7dce703e
COMP: Fix unreachable code warning in cmOrderDirectories.
2008-02-22 09:44:11 -05:00
Brad King
f76464dd28
STYLE: Nightly Date Stamp
2008-02-22 00:01:03 -05:00
Brad King
90b99433fc
COMP: Remove unused local variable from cmOrderDirectories.
2008-02-21 13:59:34 -05:00
Brad King
782e9f7ffe
ENH: Improve linking to third-party shared libraries on soname platforms
...
- Reduce false positives in cases of unknown soname
- Make library extension regular expressions match only at end of string
- When linking to libraries in implicit dirs convert to the -l option
only if the file name is one that can be found by the linker
(ex. /usr/lib/libfoo.so.1 should be linked by full path)
- Add cmSystemTools::GuessLibrarySOName to guess the soname of a
library based on presence of a symlink
- In cmComputeLinkInformation try to guess an soname before assuming
that a third-party library is built without an soname
- In cmOrderDirectories guess the soname of shared libraries in cases
it is otherwise unknown
2008-02-21 13:58:41 -05:00
Brad King
fd37a6ec3d
ENH: Better linker search path computation.
...
- Use linker search path -L.. -lfoo for lib w/out soname
when platform sets CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME
- Rename cmOrderRuntimeDirectories to cmOrderDirectories
and generalize it for both soname constraints and link
library constraints
- Use cmOrderDirectories to order -L directories based
on all needed constraints
- Avoid processing implicit link directories
- For CMAKE_OLD_LINK_PATHS add constraints from libs
producing them to produce old ordering
2008-02-21 11:41:11 -05:00
Brad King
9f2f456e7d
STYLE: Nightly Date Stamp
2008-02-21 00:01:05 -05:00
Brad King
454da64c99
BUG: Link scripts should be generated with copy-if-different and included as a dependency of the link rule.
2008-02-20 14:56:29 -05:00
Brad King
5e72a0d4e4
ENH: Deprecate export_library_dependencies
...
- Reference export() and install(EXPORT)
- Fix to support OUTPUT_NAME in simple cases
2008-02-20 13:36:38 -05:00
Brad King
cfd65e29da
STYLE: Nightly Date Stamp
2008-02-20 00:01:05 -05:00
Luis Ibanez
c3899ab4be
ENH: Missing copyright header.
2008-02-19 18:50:52 -05:00
Alexander Neundorf
f4b28ee044
STYLE: patch part 3 from Miguel: follow naming style for variables
...
Alex
2008-02-19 16:34:49 -05:00
Alexander Neundorf
a2fadc80fa
ENH: patch from Miguel part 2: if ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT is
...
true, then the generator additionally generates eclipse project files in the
source dir, since this is the only way to get cvs/svn working with eclipse
This is off by default and the user has to enable it explicitely. If cmake
can't write there it still continues.
Alex
2008-02-19 16:27:03 -05:00
Alexander Neundorf
87ae93362c
ENH: patch part 1 from Miguel: use the cmake project name for the eclipse
...
project name
Alex
2008-02-19 15:07:28 -05:00
Bill Hoffman
01bd9819c3
ENH: better ui
2008-02-19 14:47:32 -05:00
Alexander Neundorf
969ea3f449
ENH: add support for creating the documentation in docbook format
...
(http://www.oasis-open.org/docbook/xml/4.2/ ), which users can then convert
to other formats.
Tested with meinproc from KDE, which generates HTML pages which look good.
Alex
2008-02-19 14:33:43 -05:00
Bill Hoffman
ee2a13b11f
ENH: install working with symlink qt tool
2008-02-19 14:26:20 -05:00
Bill Hoffman
4a9517a688
ENH: add mac install symlink option to dialog
2008-02-19 14:06:10 -05:00
Brad King
a3c2d32802
COMP: Fix HP warning about cmTargetInternalPointer::operator= checking for self-assignment.
2008-02-19 09:09:46 -05:00
Brad King
50f8edd10a
STYLE: Nightly Date Stamp
2008-02-19 00:01:04 -05:00
Brad King
9ed4266306
ENH: Cleanup impl of PUBLIC_HEADER, PRIVATE_HEADER, and RESOURCE properties
2008-02-18 16:38:34 -05:00
Bill Hoffman
001d7fa348
ENH: add more information to message
2008-02-18 15:42:55 -05:00
Bill Hoffman
6e63fc0a58
ENH: make sure fixup has right paths
2008-02-18 14:51:43 -05:00
Bill Hoffman
8b2dd3a281
STYLE: use lowercase
2008-02-18 13:11:34 -05:00
Bill Hoffman
0dd276a311
ENH: remove CMAKE_PREFIX so changing it does not rebuild all
2008-02-18 13:03:40 -05:00
Bill Hoffman
ef537ffec7
ENH: have cpack work with DESTDIR install and ingest qt framework libs into cmake-gui
2008-02-18 10:26:28 -05:00
Brad King
c51a45466d
STYLE: Nightly Date Stamp
2008-02-18 00:01:02 -05:00
Alexander Neundorf
95ba817b2e
BUG: actually print the docs for custom modules if this was requested
...
Alex
2008-02-17 14:04:01 -05:00
Alexander Neundorf
e13db53a9a
PERF: reduce time for full docs as HTML from 1.4 s to 0.2 s, the map is now
...
created and filled only once instead for every character
I guess a simple case-switch would be still faster.
Alex
2008-02-17 12:31:29 -05:00
Brad King
21f4cd7c8b
STYLE: Nightly Date Stamp
2008-02-17 00:01:02 -05:00
Bill Hoffman
22927ede1e
ENH: support for cpack and install of cmake-gui as mac app bundle
2008-02-16 13:05:03 -05:00
Bill Hoffman
337c1f0b72
ENH: fix DESTDIR install
2008-02-16 13:02:57 -05:00
Brad King
24b49f9258
STYLE: Nightly Date Stamp
2008-02-16 00:01:04 -05:00
Clinton Stimpson
cdb193c77a
ENH: remove unused code.
2008-02-15 15:36:16 -05:00
Bill Hoffman
a1dbf38c30
ENH: use package name on mac for edit cache
2008-02-15 12:12:48 -05:00
Brad King
342a32a2c0
BUG: Apply patch from bug #6180 to make CMAKE_ADDITIONAL_MAKE_CLEAN_FILES work for directories.
2008-02-15 11:56:13 -05:00
David Cole
ca2a16c0a2
ENH: Add code to support calling the VS reload macro from Visual Studio 7.1 and 9.0 in addition to 8.0 sp1... Make new macros file with VS 7.1 so that it can be read by 7.1 and later. VS 7.1 does not appear to run the macros while a build is in progress, but does not return any errors either, so for now, the reload macro is not called when using 7.1. If I can figure out how to get 7.1 to execute the macro, I will uncomment the code in cmGlobalVisualStudio71Generator::GetUserMacrosDirectory() to activate executing the macros in VS 7.1, too.
2008-02-15 11:49:58 -05:00
Brad King
ed76198b84
ENH: Cleanup building of OS X bundle content
...
- Fixes repeated rebuild of bundles by Makefile generators
- Add special rules to copy sources to their
MACOSX_PACKAGE_LOCATION bundle directory
- Remove MacOSX_Content language hack
- Remove EXTRA_CONTENT property
- Remove MACOSX_CONTENT
- Remove corresponding special cases in object names
2008-02-15 11:22:23 -05:00
Bill Hoffman
6ea4eea183
BUG: fix for bug 6294, correct url for nsis
2008-02-15 10:40:55 -05:00
Brad King
4a17f7bee8
STYLE: Nightly Date Stamp
2008-02-15 00:01:04 -05:00
Alexander Neundorf
d750625c04
ENH: enable color in the eclipse generator, there doesn't seem to be problems
...
Alex
2008-02-14 20:18:49 -05:00
Clinton Stimpson
d0d67d0015
ENH: Convert native paths from QFileDialog and QDirModel/QCompleter.
...
BUG: Block possible completion loop.
2008-02-14 19:58:31 -05:00
Clinton Stimpson
df3169273a
ENH: Add shortcut to start search/filter.
...
A bit of cleanup.
Disable tab navigation in cache variable list.
Enable home/end keys.
BUG: Ensure currently edited values are saved before doing configure.
2008-02-14 18:18:10 -05:00
Brad King
1c0595c73f
ENH: Add global property ALLOW_DUPLICATE_CUSTOM_TARGETS to help existing projects that depend on having duplicate custom targets. It is allowed only for Makefile generators. See bug#6348.
2008-02-14 16:42:29 -05:00
Brad King
67f8c0fd10
ENH: Allow multiple OS X applications bundles to be created in a single build directory. Converted Info.plist files to be generated directly instead of configured with make variables. The MACOSX_BUNDLE_* variables are now properties (and vars for compatibility).
2008-02-14 15:31:08 -05:00
Bill Hoffman
7b1c305d86
ENH: make sure html < > & stuff is escaped for the output window
2008-02-14 15:06:05 -05:00
Brad King
b459ec9f57
ENH: Updated DEFINE_PROPERTY command to be more extendible and more consistent with new SET_PROPERTY and GET_PROPERTY signatures.
2008-02-14 13:36:23 -05:00
Brad King
5b02a4a864
ENH: Re-enable diagnosis of non-unique target names.
...
- Re-enable enforcement in cmMakefile::EnforceUniqueName
- Improve error message to help user resolve the problem
- Fix Modules/CTestTargets.cmake to not duplicate testing targets
- Move commands used by the changes to Modules/CTestTargets.cmake
to build during bootstrap: DEFINE_PROPERTY, GET_PROPERTY
2008-02-14 11:58:32 -05:00
Bill Hoffman
e4a1823f43
ENH: add a check before delete cache
2008-02-14 09:14:04 -05:00
Bill Hoffman
116f61c75c
ENH: do not show unititialized entries
2008-02-14 08:55:29 -05:00
Brad King
3db5c76198
STYLE: Nightly Date Stamp
2008-02-14 00:01:02 -05:00
Brad King
98621ecfaa
BUG: Update cmComputeLinkDepends to support leading/trailing whitespace stripping off link items for compatibility.
2008-02-13 15:29:55 -05:00
Brad King
ad95a57509
ENH: Add option to bootstrap script to enable Qt dialog.
...
- Add --qt-gui and --no-qt-gui options
- Add --qt-qmake=<qmake> option to help locate Qt
- Build more commands during bootstrap to help FindQt4.cmake:
MATH, GET_DIRECTORY_PROPERTY, EXECUTE_PROCESS,
SEPARATE_ARGUMENTS
- Bootstrapping with the cmake-gui is now possible in MSys
2008-02-13 14:47:03 -05:00
Clinton Stimpson
c327b569f0
ENH: Remove CurrentChanged from the table view's edit triggers.
...
It results in editor issues when modifying the view.
Remove workarounds for some of those issues.
2008-02-13 13:58:35 -05:00
Brad King
54a39b58d5
STYLE: Nightly Date Stamp
2008-02-13 00:01:12 -05:00
Bill Hoffman
b558f12bfa
ENH: do not expand regular vars here
2008-02-12 17:22:55 -05:00
Brad King
8175b10078
BUG: Disable enforcement of unique target names until CTestTargets can be fixed.
2008-02-12 10:19:38 -05:00
Bill Hoffman
3fa087c8ab
ENH: fix make edit_cache for cmake-gui
2008-02-12 09:49:42 -05:00
Brad King
88eca37d4e
STYLE: Fix line-too-long in cmExportLibraryDependencies.
2008-02-12 09:18:50 -05:00
Brad King
f05423339a
STYLE: Nightly Date Stamp
2008-02-12 00:01:03 -05:00
Brad King
a7e287975c
ENH: Update documentation of EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH to reference their replacements.
2008-02-11 20:13:21 -05:00
Brad King
a0715048da
COMP: Fix shadowed local variable warning.
2008-02-11 17:33:46 -05:00
Brad King
3fdf141197
BUG: FIND_LIBRARY should not require CMAKE_SIZEOF_VOID_P to be set.
2008-02-11 17:00:45 -05:00
Brad King
2e2f9b4be3
ENH: Add global computed property IN_TRY_COMPILE.
2008-02-11 17:00:36 -05:00
Brad King
ac0e58dcfb
ENH: Enforce global target name uniqueness.
...
- Error if imported target is involved in conflict
- Error for non-imported target conflict unless
CMAKE_BACKWARDS_COMPATIBILITY <= 2.4
- Include OUTPUT_NAME property in error message
- Update add_executable and add_library command documentation
2008-02-11 13:35:39 -05:00
Brad King
739a463539
ENH: Add cmMakefile::NeedBackwardsCompatibility method to pass through to cmLocalGenerator::NeedBackwardsCompatibility for convenience.
2008-02-11 13:35:30 -05:00
Brad King
968c53ff6f
BUG: Fix export_library_dependencies command to produce a file that is compatible with CMake 2.4.
2008-02-11 10:31:44 -05:00
Brad King
7b048433c1
BUG: Fix cmComputeLinkDepends::AddVarLinkEntries
...
- Track link type correctly
- Use _LINK_TYPE variables exported by CMake 2.4
2008-02-11 10:31:38 -05:00
Brad King
0cdf73f0a2
STYLE: Nightly Date Stamp
2008-02-11 00:01:02 -05:00
Alexander Neundorf
52a0538719
STYLE: document that if(COMMAND) works also for macros and functions
...
Alex
2008-02-10 17:19:10 -05:00
Brad King
fd2a6a8693
BUG: Fix recent find_library change to look for user-specified name first to do so only if the name matches a valid library extension.
2008-02-10 11:37:06 -05:00
Brad King
138d479c67
STYLE: Nightly Date Stamp
2008-02-10 00:01:03 -05:00
Bill Hoffman
f6014938cb
ENH: make it so cmake-gui only installs if qt is static on windows
2008-02-09 09:53:52 -05:00
Brad King
445f47473c
STYLE: Nightly Date Stamp
2008-02-09 00:01:03 -05:00
Clinton Stimpson
11102a377c
BUG: Make sure editor closes when deleting cache entries.
2008-02-08 13:47:08 -05:00
Clinton Stimpson
d717ad57a6
ENH: Need to pick up the PreLoad.cmake files.
2008-02-08 11:26:08 -05:00
Clinton Stimpson
45cf2ade08
COMP: Fix build with Qt 4.2.
...
BUG: Fix new editors stealing focus while typing search text.
ENH: Look for translation in data dir, not bin dir.
2008-02-08 10:42:14 -05:00
Brad King
c71f62fbff
STYLE: Nightly Date Stamp
2008-02-08 00:01:05 -05:00
Alexander Neundorf
251565785a
patch from Miguel
...
BUG: fix #5496 : eclipse can't load projects where the build dir is a subdir
of the src dir
Alex
2008-02-07 18:24:55 -05:00
Clinton Stimpson
dcd29a14b0
ENH: Show cache variable name in title of file dialogs.
2008-02-07 17:58:57 -05:00
Brad King
410d7b0f36
ENH: Avoid computing link information for static library targets. They do not link.
2008-02-07 16:49:11 -05:00
Alexander Neundorf
732784c0bc
two patches from Miguel:
...
BUG: fix #5819 : put compile definitions into the eclipse project files so
eclipse handles ifdef blcoks correctly
STYLE: make the code for filtering some global targets out nicer
Alex
2008-02-07 16:26:00 -05:00
Brad King
544c263f48
COMP: Add missing assert include.
2008-02-07 16:24:54 -05:00
Alexander Neundorf
d4ffc0d3b9
STYLE: add some comments
...
Alex
2008-02-07 16:22:00 -05:00
Brad King
4987e17f46
ENH: Improve link line generation for static library cycles.
...
- Move Tarjan algorithm from cmComputeTargetDepends
into its own class cmComputeComponentGraph
- Use cmComputeComponentGraph to identify the component DAG
of link dependencies in cmComputeLinkDepends
- Emit non-trivial component members more than once but always
in a contiguous group on the link line
2008-02-07 16:14:05 -05:00
Bill Hoffman
0bfad2946d
ENH: make sure files are binary for download and make status a pair of value string
2008-02-07 13:26:16 -05:00
Bill Hoffman
9afb2100c1
ENH: for windows only allow a static qt for install and NSIS of cmake-gui
2008-02-07 11:43:20 -05:00
Brad King
aee3f7b54a
STYLE: Nightly Date Stamp
2008-02-07 00:01:02 -05:00
Brad King
96c55629c5
BUG: Fix cmComputeLinkInformation to include the target's user link directories in the runtime path computation. This bug was introduced when cmOrderRuntimeDirectories was introduced.
2008-02-06 20:14:55 -05:00
Brad King
d9b9720167
ENH: Make find_library test for the library file as named before trying prefixes and suffixes. This will allow users to explicitly search for static libraries on unix. See bug #1643 .
2008-02-06 15:26:22 -05:00
Brad King
a5074872b0
STYLE: Improve documentation of target_link_libraries command to make target-level dependency explicit. See bug #6043 .
2008-02-06 15:23:36 -05:00
Clinton Stimpson
2f327a13a3
ENH: Update some strings to match program name.
2008-02-06 15:10:32 -05:00
Clinton Stimpson
0cb622a28b
BUG: On Mac OS X, give the CMake library the correct path to the cmake
...
exectuables. Fixes #6286 .
2008-02-06 14:45:32 -05:00
Brad King
9e64d5b272
ENH: Improve exporting/importing of targets
...
- Use real name instead of link for location of versioned targets
- Error when a target is exported multiple times
2008-02-06 14:20:36 -05:00
Brad King
afad124313
BUG: Make sure linking to a shared lib on windows uses import library and not the new realname.
2008-02-06 14:19:03 -05:00
Brad King
31a6670e43
BUG: Do not create versioned executable names on Xcode where they are not supported.
2008-02-06 14:06:50 -05:00
Brad King
07be6bb87b
ENH: When linking to versioned targets whose real file name is known pass the real name to the linker instead of the symlink name.
2008-02-06 13:34:44 -05:00
Bill Hoffman
a752fc5e85
ENH: remove debug print stuff
2008-02-06 09:46:58 -05:00
Bill Hoffman
7dfcc3fc12
ENH: add DOWNLOAD option to FILE command
2008-02-06 09:35:02 -05:00
Bill Hoffman
0c3607eafc
ENH: change name of qt-dialog
2008-02-06 09:17:03 -05:00
Brad King
4664b3aedf
STYLE: Nightly Date Stamp
2008-02-06 00:01:04 -05:00
Brad King
523ddedac5
ENH: Analyze inter-target dependencies to safely fix cycles
...
- Cycles may be formed among static libraries
- Native build system should not have cycles in target deps
- Create cmComputeTargetDepends to analyze dependencies
- Identify conneced components and use them to fix deps
- Diagnose cycles containing non-STATIC targets
- Add debug mode property GLOBAL_DEPENDS_DEBUG_MODE
- Use results in cmGlobalGenerator as target direct depends
2008-02-05 23:10:41 -05:00
Brad King
5b9fccdc0e
STYLE: Nightly Date Stamp
2008-02-05 00:01:02 -05:00
Brad King
efec4f1cd6
COMP: Add missing include for assert.
2008-02-04 19:00:33 -05:00
Brad King
8401c5ba06
ENH: Allow separate installation of shared libs and their links.
...
- Add NAMELINK_ONLY and NAMELINK_SKIP to INSTALL command
- Options select a \"namelink\" mode
- cmInstallTargetGenerator selects files/link based on mode
- See bug #4419
2008-02-04 17:03:48 -05:00
Bill Hoffman
852f6018bb
ENH: make sure ALL_BUILD only shows up once
2008-02-04 16:05:00 -05:00
Brad King
847c8403fe
BUG: Added TARGET_ARCHIVES_MAY_BE_SHARED_LIBS global property to help compute proper rpath information on AIX when shared libraries have names like "libfoo.a".
2008-02-04 15:22:10 -05:00
Brad King
e67dc68a3b
STYLE: Nightly Date Stamp
2008-02-04 00:01:03 -05:00
Brad King
dc06ac5881
COMP: Avoid warning in kwsys IOStream.cxx when the helper functions are not needed. Define one public symbol to avoid complaints from archivers about empty object files.
2008-02-03 08:58:10 -05:00
Brad King
62145a5811
BUG: cmCTest::GetConfigType should return the string by reference-to-const so that callers may use .c_str() safely.
2008-02-03 08:57:41 -05:00
Brad King
6b8bb7d7fa
COMP: Fix warning in SystemInformation.cxx about possibly incorrect assignment in if condition.
2008-02-03 08:20:11 -05:00
Brad King
8280232d0d
COMP: Fix unreachable code warning. Remove runtime test of constant information.
2008-02-03 08:14:38 -05:00
Brad King
b38bc43894
COMP: Remove inline keyword from forward declaration for VS9.
2008-02-03 08:07:17 -05:00
Brad King
607e05ff1a
STYLE: Nightly Date Stamp
2008-02-03 00:01:02 -05:00
Bill Hoffman
e3b0d3927a
ENH: fix infinite loop from size_t change
2008-02-02 16:18:35 -05:00
Brad King
dce9f2dad7
STYLE: Nightly Date Stamp
2008-02-02 00:01:05 -05:00
Ken Martin
22835a71cd
ENH: really Bill, using Ken's checkout, fix output in ctest so clean output in build and test is not lost, also display the command lines used
2008-02-01 16:05:40 -05:00
Brad King
0dac20cd20
BUG: Fixed typo resulting in confusing error message from cmExportInstallFileGenerator.
2008-02-01 14:35:14 -05:00
Brad King
16186ec18c
BUG: Remove InstallNameFixupPath from cmTarget and cmInstallTargetGenerator.
...
- Motivation:
- It depended on the order of installation
- It supported only a single destination for each target
- It created directory portions of an install name without user request
- Updated ExportImport test to install targets in an order that expoed
this bug
2008-02-01 13:08:12 -05:00
Bill Hoffman
15741325e0
ENH: fix warnings
2008-02-01 12:35:50 -05:00
Clinton Stimpson
f1b334ca7a
ENH: Show version number in window title.
2008-02-01 11:48:00 -05:00
Bill Hoffman
2564097e8c
ENH: fix more warnings
2008-02-01 11:40:55 -05:00
Bill Hoffman
5343910cba
ENH: fix more warnings
2008-02-01 11:36:06 -05:00
Bill Hoffman
889d900ef2
ENH: fix more warnings
2008-02-01 11:34:42 -05:00
Bill Hoffman
f6826df4f3
ENH: fix more warnings
2008-02-01 11:33:14 -05:00
Bill Hoffman
9b55f81522
ENH: fix some warnings and 64 bit build windows
2008-02-01 11:30:08 -05:00
Bill Hoffman
32409bb8e3
ENH: fix win64 build and a warning
2008-02-01 11:09:39 -05:00
Clinton Stimpson
41ad9d20df
ENH: Use translation file if it exists for the locale.
...
Consolidate some strings.
More responsive interrupting. Prompt user if they try to close during
configure, and allow them to close.
2008-02-01 10:41:29 -05:00
Brad King
82fcaebe28
ENH: Pass dependent library search path to linker on some platforms.
...
- Move runtime path ordering out of cmComputeLinkInformation
into its own class cmOrderRuntimeDirectories.
- Create an instance of cmOrderRuntimeDirectories for runtime
path ordering and another instance for dependent library
path ordering.
- Replace CMAKE_DEPENDENT_SHARED_LIBRARY_MODE with explicit
CMAKE_LINK_DEPENDENT_LIBRARY_FILES boolean.
- Create CMAKE_LINK_DEPENDENT_LIBRARY_DIRS boolean.
- Create variables to specify -rpath-link flags:
CMAKE_SHARED_LIBRARY_RPATH_LINK_<LANG>_FLAG
CMAKE_EXECUTABLE_RPATH_LINK_<LANG>_FLAG
- Enable -rpath-link flag on Linux and QNX.
- Documentation and error message updates
2008-02-01 08:56:00 -05:00
Brad King
f28f1585f6
COMP: Fix shadowed local warning.
2008-02-01 08:55:41 -05:00
Brad King
6223f3f763
STYLE: Nightly Date Stamp
2008-02-01 00:01:03 -05:00
Bill Hoffman
cc7c89ca51
ENH: try to fix hp and vs 6, again...
2008-01-31 21:33:32 -05:00
Bill Hoffman
5a36673807
STYLE: line length
2008-01-31 16:38:45 -05:00
Bill Hoffman
294dca62ee
ENH: fixes for borland
2008-01-31 16:37:52 -05:00
Ken Martin
70e9412dc7
BUG: minor fix for ctest
2008-01-31 16:33:07 -05:00
Bill Hoffman
dc0f41c298
ENH: remove extra junk
2008-01-31 16:10:32 -05:00
Brad King
2cff26fa52
ENH: Support linking to shared libs with dependent libs
...
- Split IMPORTED_LINK_LIBRARIES into two parts:
IMPORTED_LINK_INTERFACE_LIBRARIES
IMPORTED_LINK_DEPENDENT_LIBRARIES
- Add CMAKE_DEPENDENT_SHARED_LIBRARY_MODE to select behavior
- Set mode to LINK for Darwin (fixes universal binary problem)
- Update ExportImport test to account for changes
2008-01-31 15:45:31 -05:00
Bill Hoffman
52e75800b4
ENH: fix for qnx, I hope, and fix indent stuff
2008-01-31 15:34:09 -05:00
Bill Hoffman
99ebc1e728
ENH: fix build errors with asm stuff on mingw and hopefully win64
2008-01-31 15:10:19 -05:00
Bill Hoffman
414b89b903
ENH: fix build for mingw
2008-01-31 14:50:08 -05:00
Bill Hoffman
b270a4ee7b
ENH: split into implementation and interface class to clean up namespace issues with #define stuff
2008-01-31 14:34:11 -05:00
Brad King
82d8264b9f
BUG: Need to install cstddef header.
2008-01-31 12:56:18 -05:00
Bill Hoffman
48b554dee8
ENH: remove a const cast
2008-01-31 12:19:00 -05:00
Ken Martin
21852384e0
ENH: read in old file formats Dart as well
2008-01-31 11:43:44 -05:00
Brad King
065f23ba38
STYLE: Work-around std:: check since this is a platform test.
2008-01-31 08:32:08 -05:00
Brad King
e3c2c1923a
STYLE: Remove references to std:: inside KWSys, even in comments. This will allow a commit check to be added.
2008-01-31 08:21:35 -05:00