Commit Graph

9062 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
Andy Cedilnik 77da3d9b79 COMP: Fix support for old CMake (2.0 and 2.2) 2007-03-16 09:34:40 -04:00
Andy Cedilnik 9408e16704 ENH: Unify with the compile one 2007-03-15 17:22:33 -04:00
Andy Cedilnik 9314bb49e0 ENH: Update Curl to 7.16.1 2007-03-15 15:22:15 -04:00
Ken Martin f52d37c26f BUG: change in how set cache overrides local definitions. Should mainly be a NOP change for most cases 2007-03-15 13:48:15 -04:00
Andy Cedilnik daacd021fc STYLE: Nightly Version update 2007-03-14 21:51:08 -04:00
Brad King 87e8f718e3 ENH: Enable use of kwsys MD5 implementation. 2007-03-14 16:30:59 -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 b8bd0f80db BUG: When the current output directory is a link directory we need to reference it with the relative path "." instead of an empty relative path. 2007-03-14 15:35:10 -04:00
Brad King 6d2f08b6e1 ENH: Added MD5 implementation to KWSys. 2007-03-14 15:12: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 770ffb1699 BUG: All executable and library project types should specify a program database file name for all configurations. Even when debug information is not used the .pdb file specified is used to construct the name of a .idb file that exists for all configurations when building with the VS IDE. 2007-03-14 09:34:31 -04:00
Ken Martin c53b26baf2 ENH: some more cleanup 2007-03-13 15:18:27 -04:00
Bill Hoffman 5891ba16ce ENH: add project to target map, not used yet, but created 2007-03-13 14:23:08 -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
Andy Cedilnik 646e2ff9d8 STYLE: Nightly Version update 2007-03-13 03:57:47 -04:00
Brad King 176879b2fe BUG: Remove spaces from test output paths. Not all make tools can handle it. Ths SubDirSpaces test is meant for that purpose anyway. 2007-03-12 23:36:56 -04:00
Ken Martin f59e649dc2 ENH: added remove_directory bug 2937 2007-03-12 16:10:00 -04:00
Brad King e105c7fedc BUG: Preserve symlinks during installation. This addresses bug#4384. 2007-03-12 14:15:25 -04:00
Brad King e01cdf2065 ENH: Added kwsys SystemTools::CreateSymlink and SystemTools::ReadSymlink. 2007-03-12 13:50:28 -04:00
Ken Martin 558dbc84ad ENH: typo 2007-03-12 13:30:36 -04:00
Brad King 4b0d362fe9 BUG: Do not use /I mode in VS6. 2007-03-12 13:28:57 -04:00
Brad King ff220755e2 BUG: Clean the pch during make clean so that the test passes when run more than once. 2007-03-12 12:44:59 -04:00
Ken Martin 03f3411c4f ENH: small enchancement for bug 3776. 2007-03-12 12:40:34 -04:00
Brad King fb38af53c0 BUG: Split precompiled header flags into a separate per-global-generator flag map. This is needed because the flag mappings differ across VS IDE versions. This fixes bug#3512 for VS8 where as the previous fix only worked for VS7. 2007-03-12 12:35:11 -04:00
Ken Martin 55603ea9eb COMP: XCode fix 2007-03-12 11:32:10 -04:00
Ken Martin b99129d2d8 ENH: some code cleanup 2007-03-12 10:26:59 -04:00
Brad King cf7eeab37a ENH: Testing new target properties RUNTIME_OUTPUT_DIRECTORY, LIBRARY_OUTPUT_DIRECTORY, and ARCHIVE_OUTPUT_DIRECTORY. This is an incremental fix for bug#2240 and bug#4210. 2007-03-12 10:23:06 -04:00
Andy Cedilnik c03217d560 STYLE: Nightly Version update 2007-03-11 01:50:41 -05:00
Brad King 2f09a22411 BUG: Do not create import library for MODULEs. This is an incremental fix for bug#4210. 2007-03-10 07:49:47 -05:00
Brad King 007fa79037 BUG: Fixed MSVC8 module build rule to not use /implib option. This is an incremental fix for bug#4210. 2007-03-10 07:37:42 -05:00
Brad King 01a27cb5b4 STYLE: Fix line-too-long. 2007-03-10 06:56:11 -05:00
Andy Cedilnik ba037af74f STYLE: Nightly Version update 2007-03-10 01:31:08 -05: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 0e8d822b18 COMP: Fix warning about binding reference-to-non-const to an rvalue on VS6. It does not seem to be doing the proper auto_ptr_ref conversions. Instead use the const_cast work-around on this platform. 2007-03-09 16:58:08 -05:00
Brad King 72b08a80c8 COMP: Fixed unreferenced parameter warning for VS6 with /W4. 2007-03-09 16:27:14 -05:00
Brad King ade0fb94d8 BUG: Re-enable backward compatibility replacements in user-provided VS6 DSP template files. 2007-03-09 16:26:16 -05:00
Brad King 80e6cade7a ENH: Implemented use of cmTarget::GetDirectory() in Visual Studio 6 generator. This is an incremental fix for bug#4210. 2007-03-09 16:25:16 -05:00
Brad King 92ff60b6a6 ENH: Added target properties ARCHIVE_OUTPUT_DIRECTORY, LIBRARY_OUTPUT_DIRECTORY, and RUNTIME_OUTPUT_DIRECTORY. If set these override EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH for a specific target. They can be used to distribute target files in the build tree with the same granularity that the INSTALL command provides for the install tree. This addresses bug#2240 and bug#4210. 2007-03-09 15:14:27 -05:00
Brad King 5ed8ea8a0e BUG: Fixed OSX bundles to be built in the directory specified by cmTarget::GetDirectory(). This is an incremental step for bug#2240. 2007-03-09 14:50:11 -05:00
Brad King 475447870f BUG: Shared library creation should use /implib option to specify the name of the import library explicitly. This is an incremental step for bug #4210. 2007-03-09 13:59:18 -05:00
Brad King 7b68a64d12 ENH: Do not compute a path name for the import library if there is no import library. This simplifies tracking down problems with trying to create import libraries for MODULEs. 2007-03-09 13:56:45 -05:00
Andy Cedilnik 50ed755b5b ENH: Prepare for the new curl. Curl is build static, so set define to on 2007-03-09 11:35:53 -05:00
Brad King 31637efbfb ENH: Added cmMakefileTargetGenerator::GenerateExtraOutput to wrap up creation of rules to drive creation of extra outputs generated as side effects of another rule. Reimplemented generation of custom command multiple output rules to use it. Reimplemented soname symlink output dependencies to use it. Now if a symlink is deleted the library will be recreated with the symlink. 2007-03-09 11:29:15 -05:00
Brad King fb88335cdb BUG: Need to account for import library directory when constructing the clean rule for the import library. This is an incremental fix for bug #4210. 2007-03-09 11:26:10 -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
Andy Cedilnik 3ec0ff05de STYLE: Nightly Version update 2007-03-08 23:56:29 -05:00
Brad King 01dc699d82 ENH: Combined cmTarget::GetDirectory and cmTarget::GetOutputDir since they are nearly the same. This is another step for bug#2240. 2007-03-08 15:33:19 -05:00
Brad King 789a0f8359 ENH: Removed unused variables LibraryOutputPath and ExecutableOutputPath. Each target is asked for its own output directory. This is a step towards bug#2240. 2007-03-08 15:24:01 -05:00