Commit Graph

205 Commits

Author SHA1 Message Date
Brad King 1f639ee76c ENH: Added computation of object file names that are almost always short enough to not exceed the filesystem path length limitation. This is useful when a source file from outside the tree is referenced with a long full path. The object file name previously would contain the entire path which when combined with the build output directory could exceed the filesystem limit. Now CMake recognizes this case and replaces enough of the beginning of the full path to the source file with an md5sum of the replaced portion to make the name fit on disk. This addresses bug#4520. 2007-03-16 10:34:25 -04:00
Brad King 9da6f96d98 BUG: Reverting previous changes related to using an empty string for a relative path to the current directory. Too many places want the . version. Instead we can just convert the . to an empty string in the one place that motiviated the original change. 2007-03-14 16:29:10 -04:00
Brad King a724f0d425 BUG: During relative path conversion if the remote and target paths are the same return the empty string instead of ".". 2007-03-14 13:36:24 -04:00
Brad King d720036e61 BUG: Fix check of EXCLUDE_FROM_ALL property to use boolean type. This is required for installation of subdirectories to work. 2007-03-13 11:58:12 -04:00
Ken Martin b99129d2d8 ENH: some code cleanup 2007-03-12 10:26:59 -04:00
Brad King 1e25f2b3db BUG: Use real path subdirectory check instead of substring comparison to identify when paths are below the relative path tops. Otherwise when the build tree is next to the source tree with the same name plus a suffix the relative path from the binary to source tree is allowed even though it goes outside cmake-managed directories. 2007-03-09 17:15:13 -05:00
Brad King 54923d6ad8 ENH: Implemented new policy to choose the directory part of the object file name. This should keep the names looking as nice and short as possible. This partially addresses bug#4520. 2007-03-09 10:30:07 -05:00
Brad King 528f60f4a6 ENH: Added implib option to cmTarget::GetDirectory to support a separate directory containing the import library. This is an incremental step for bug#4210. 2007-03-09 09:30:16 -05:00
Brad King 4089c76890 BUG: Some calls to Convert() were converting for MAKEFILE but then passing the output to the build shell. The calls have now been converted to call Convert() with SHELL. 2007-03-08 10:31:03 -05:00
Brad King 2f2b5b2503 ENH: SetupPathConversions is now called automatically on demand. 2007-03-08 08:38:40 -05:00
Brad King b90e241a31 ENH: Modified GetObjectFileNameWithoutTarget to use relative paths for object file names with sources above the current directory so long as the relative path conversion works. 2007-03-07 17:39:16 -05:00
Brad King 4036627487 ENH: Improved computation of RelativePathTopSource and RelativePathTopBinary to use higher relative path tops when the source directories jump around in a tree below the original source top. 2007-03-07 17:32:35 -05:00
Brad King ad4055f3e2 ENH: Set RelativePathTopSource and RelativePathTopBinary independently for each local generator. Relative path conversion is safe within a tree as long as it does not go above the highest parent directory still managed by CMake. 2007-03-07 16:35:53 -05:00
Brad King c841258170 COMP: Add missing include for assert. 2007-03-07 15:30:30 -05:00
Brad King fc19882e8f ENH: Moved ConvertToRelativePath from cmGlobalGenerator to cmLocalGenerator. This is in preparation for setting up each local generator to have its own RelativePathTopSource and RelativePathTopBinary based on its ancestor directories. 2007-03-07 15:15:46 -05:00
Bill Hoffman 1503caa14e ENH: remove qnx special stuff that does not work 2007-02-28 17:26:20 -05:00
Bill Hoffman ecbec236b1 ENH: one more pass at paths with spaces and parens 2007-02-28 14:29:26 -05:00
Bill Hoffman 90974ea1d6 ENH: go back to \ escapes for qnx 2007-02-26 11:56:13 -05:00
Bill Hoffman 4d5321f891 ENH: go back to EscapeForShell version 2007-02-26 11:41:41 -05:00
Bill Hoffman 512d5dd1e3 ENH: try and use \ for space and () escapes 2007-02-25 16:13:33 -05:00
Bill Hoffman f0d5bdf86e ENH: try another thing 3 2007-02-23 20:37:35 -05:00
Bill Hoffman d7e57294fb ENH: try another thing 2007-02-23 17:38:59 -05:00
Bill Hoffman 77ad2d62c2 ENH: add some debug stuff 2007-02-23 17:07:57 -05:00
Bill Hoffman ae1d9e8b93 ENH: add some debug stuff 2007-02-23 16:44:13 -05:00
Andy Cedilnik 8ad3430931 ENH: Make EXCLUDE_FROM_ALL a target and directory properties. Also, make IsInAll use EXCLUDE_FROM_ALL. Also, enable the test that tests this 2007-02-23 09:46:27 -05:00
Bill Hoffman 48202ef623 ENH: hack put the hack back for qnx to try and fix spaces in the path 2007-02-22 17:34:14 -05:00
Bill Hoffman 0b350cbb97 ENH: undo hack and try to get dashboard back 2007-02-22 17:26:36 -05:00
Brad King c1eae5b891 BUG: Hack to try working around a problem with spaces in an rpath on QNX. 2007-02-22 16:23:12 -05:00
Bill Hoffman 417b2073df ENH: add new escape stuff 2007-02-22 15:33:49 -05:00
Bill Hoffman 5647e6e254 ENH: fix parens in the path with spaces in the path 2007-02-21 21:24:17 -05:00
Bill Hoffman f7cd9f76ce STYLE: fix line length issues 2007-02-17 08:46:25 -05:00
Bill Hoffman 66523061d0 ENH: remove warnings and debug statement 2007-02-17 08:38:41 -05:00
Bill Hoffman ca0230a33e ENH: check in initial conv library stuff 2007-02-16 16:12:17 -05:00
Bill Hoffman 8013ffd23b ENH: do not use crazy long paths to object files for try compile 2007-01-31 16:49:25 -05:00
Bill Hoffman 37d979e0fc ENH: this does not need to be safe as the value is checked 2007-01-23 14:28:40 -05:00
Bill Hoffman 0272c209a5 ENH: avoid crash, but do not make it an error if include flags is missing from a language 2007-01-23 13:08:40 -05:00
Bill Hoffman 91bd8099d8 ENH: make the include flag required for a language avoids seg fault 2007-01-23 11:39:22 -05:00
Ken Martin 27379d7b08 ENH: make properties a bit more formal with documentation and chaining 2006-12-07 09:45:32 -05:00
Bill Hoffman 26b527ac0f ENH: fix bug in full path to target depends stuff 2006-12-06 23:05:10 -05:00
Brad King d045ae45f2 BUG: Do not print empty install configuration repeatedly. 2006-12-04 13:54:32 -05:00
Bill Hoffman ccb77b65c6 ENH: unify version stuff, get rid of it out of cmake and cmMakefile and only use cmVersion 2006-11-29 15:59:16 -05:00
Bill Hoffman 9baa760315 BUG: fix problem when a target name is the same as the output of a custom command 2006-11-25 10:59:26 -05:00
Brad King 54731fa2c8 ENH: Adding support for # escape in Watcom WMake. 2006-10-25 11:23:04 -04:00
Brad King b155f3aa1c ENH: Adding image version number (major.minor) property to windows binaries. Default is 0.0, but the VERSION target property may change the value. Windows now has first-class support for dll and exe versioning. This addresses bug#1219. 2006-10-16 18:17:14 -04:00
Brad King 023041362d BUG: Do not try to compute the location of a non-library target for linking. 2006-10-13 10:03:54 -04:00
Brad King 86dd8579c5 BUG: TARGET_QUOTED should always be replaced if Target is set in the rule variables. 2006-10-10 14:13:35 -04:00
Brad King bdf8e186e5 BUG: Need to match shared library names before static because some platforms have static name patterns that match their shared patterns but not vice versa. This is needed for implementing bug#1644 on cygwin. 2006-10-05 16:59:46 -04:00
Brad King 7ad07e0811 BUG: Fix link flags on cygwin shared libraries. This requires that the shared library prefix be supported in the link library regex. 2006-10-05 15:08:20 -04:00
Brad King c11cf31c9b ENH: Adding SYSTEM option to INCLUDE_DIRECTORIES command. This addresses bug #3462. 2006-10-05 08:55:59 -04:00
Brad King 406f3554c7 BUG: Fixed display of custom command comments with quotes, dollars, and other special characters in them. 2006-10-04 18:52:29 -04:00