Commit Graph

6777 Commits

Author SHA1 Message Date
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
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
Andy Cedilnik c03217d560 STYLE: Nightly Version update 2007-03-11 01:50:41 -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 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
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
Brad King 1a734f238a COMP: Fixed enumeration-not-used warning in switch. 2007-03-08 15:10:20 -05:00
Brad King 33ee83714d ENH: Replaced LibraryOutputPath and ExecutableOutputPath variables in Makefile and VS generators to instead ask each target for its output path. This significantly reduces total code size and centralizes previously duplicate code. It is also a step towards bug#2240. 2007-03-08 14:57:28 -05:00
Brad King ea19994b13 ENH: Ask the target for its own directory in case of bundle instead of directly using ExecutableOutputPath. 2007-03-08 14:15:45 -05:00
Brad King d65db7c6bb BUG: Compute HomeRelativeOutputPath following the rules of RelativePathTopBinary by going through the Convert() method. This supports out-of-binary build trees without using relative paths that go outside trees managed by CMake. 2007-03-08 13:19:39 -05:00
Brad King 1d75e47dee ENH: Enable SubDirSpaces test when building with bootstrapped cmake. 2007-03-08 13:13:58 -05:00
Brad King fd3688fa72 ENH: Fixed recursive make call target escaping for Borland to support SubDirSpaces test. 2007-03-08 13:05:02 -05:00
Brad King 7157743d69 ENH: Updated GetRecursiveMakeCall to use EscapeForShell instead of MAKEFILE conversion. This code is special because it is the only place that a make target name is passed on a command line. 2007-03-08 11:49:30 -05:00
Brad King 91c2b84a92 ENH: Added ConvertToOutputSlashes method to convert slashes with the same policy as ConvertToOutputPath but without escaping. 2007-03-08 11:49:26 -05:00
Brad King 00051cf721 ENH: Removed useless method ConvertToMakeTarget and all calls to it. It had a buggy implementation that caused it to do nothing. 2007-03-08 11:10:21 -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 00b4eeeded STYLE: Removed unused calls to Convert. 2007-03-08 10:19:25 -05:00
Brad King d37577d9e0 STYLE: Removing unused methods ConvertToShellPath and EscapeForUnixShell. 2007-03-08 09:48:17 -05:00
Brad King 254ae5c62e STYLE: Fix line-too-long. 2007-03-08 08:46:03 -05:00
Brad King 2f2b5b2503 ENH: SetupPathConversions is now called automatically on demand. 2007-03-08 08:38:40 -05:00
Andy Cedilnik 9a5a051f21 STYLE: Nightly Version update 2007-03-07 22:12:11 -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 073076e0f7 COMP: Fix ConvertToRelativePath change for Xcode generator. 2007-03-07 16:32:29 -05:00
Brad King f3cc908e42 STYLE: Move warning disable pragma into push/pop block. 2007-03-07 16:00:21 -05:00
Brad King 0e8515fa4c BUG: Get rid of ancient variables CMAKE_CXX_WARNING_LEVEL, CMAKE_CXX_USE_RTTI, CMAKE_CXX_STACK_SIZE which are only partially implemented and now taken care of by flag mapping anyway. 2007-03-07 15:57:52 -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
Brad King 3bd9d67488 BUG: Use angle-brackets to include testSystemTools.h to avoid problems with in-source builds. 2007-03-07 13:52:32 -05:00
Ken Martin d12455fccb BUG: oops bad arg for new test 2007-03-07 13:01:00 -05:00
Ken Martin bfb3598c4b BUG: improve bad argument handling for INCLUDE_DIRECTORIES and ADD_DEFINITIONS bug 4364 2007-03-07 11:03:57 -05:00
Brad King 4148fedbf0 ENH: Enabled support for use_auto_ptr(get_auto_ptr()) syntax on HP compiler. 2007-03-07 09:26:49 -05:00
Andy Cedilnik c0ee369379 STYLE: Nightly Version update 2007-03-06 21:22:01 -05:00
Ken Martin 12b8643fee COMP: shut up w4 warning 2007-03-06 10:56:21 -05:00
Andy Cedilnik 5cc53f2dc1 STYLE: Nightly Version update 2007-03-05 21:23:34 -05:00
Brad King 73a5c33f9b BUG: Removed legacy SetupTests method that was causing RUN_TESTS to test twice. 2007-03-05 13:01:02 -05:00
Ken Martin 420095c013 COMP: shut up warnings 2007-03-05 10:36:06 -05:00
Ken Martin d443963d91 ENH: fix compiler warnings 2007-03-05 09:51:13 -05:00
Ken Martin 1263baec63 STYLE: long line 2007-03-05 09:50:53 -05:00
Andy Cedilnik d4798181a2 STYLE: Nightly Version update 2007-03-04 21:31:10 -05:00
Brad King 55280c5524 COMP: Disable function call with function return test for HP until it is implemented. 2007-03-03 23:46:42 -05:00
Andy Cedilnik 8774e0f81f STYLE: Nightly Version update 2007-03-03 21:26:10 -05:00
Brad King 091eafefb3 COMP: All kwsys .hxx headers should include Configure.hxx. Re-enabling testAutoPtr. 2007-03-03 15:43:31 -05:00
Brad King 55abd50681 COMP: Disable auto_ptr test for now. 2007-03-03 15:32:00 -05:00
Brad King 8c1f9e1b83 ENH: Implemented auto_ptr_ref in a way that allows conversion of the pointed-to type. 2007-03-03 15:05:52 -05:00
Brad King ed722cbe61 COMP: Remove one conversion test until it is implemented. 2007-03-03 14:51:36 -05:00
Brad King 3fcec9daa4 ENH: Added test for auto_ptr. Documented aut_ptr template implementation. 2007-03-03 14:48:48 -05:00
Brad King bdc4974f88 BUG: cmCreateTestSourceList command is needed at boostrap time because KWSys now uses test drivers. 2007-03-03 12:16:35 -05:00
Brad King 0edbb68352 ENH: Cleaned up KWSys tests to use test drivers. 2007-03-03 10:47:06 -05:00
Andy Cedilnik 399c3dffce STYLE: Nightly Version update 2007-03-02 21:12:52 -05:00
Ken Martin 1de68b46f1 BUG: fix for build order 2007-03-02 14:31:04 -05:00
Andy Cedilnik b9ab2b1932 BUG: Propagate platform settings such as CMAKE_OSX_ARCHITECTURES to the try compile 2007-03-02 11:33:37 -05:00
Ken Martin 8e702e6977 COMP: fix some w4 warnings 2007-03-02 10:50:45 -05:00
Ken Martin 4456013702 ENH: fix compiler warning 2007-03-02 10:49:32 -05:00
Ken Martin fdbe20cf8b COMP: fix warnings 2007-03-02 10:48:58 -05:00
Brad King a0e26986f7 COMP: More workarounds for Borland. 2007-03-01 23:28:17 -05:00
Andy Cedilnik ba6b7628e5 STYLE: Nightly Version update 2007-03-01 21:15:24 -05:00
Ken Martin d223fc64ad COMP: fix a compiel warning 2007-03-01 16:23:06 -05:00
Ken Martin f8c982cf78 ENH: added LIMIT on file read 2007-03-01 15:53:09 -05:00
Ken Martin 508ddaf929 COMP: fix warning 2007-03-01 14:52:26 -05:00
Ken Martin ae3ef64307 ENH: added a limit to the getline method 2007-03-01 14:30:42 -05:00
Ken Martin c733ab2701 BUG: a couple bugs in system informaiton 2007-03-01 10:53:09 -05:00
Andy Cedilnik f81579bb4a STYLE: Nightly Version update 2007-02-28 21:07:18 -05:00
Bill Hoffman 1503caa14e ENH: remove qnx special stuff that does not work 2007-02-28 17:26:20 -05:00
Ken Martin e5e2e6a3b3 BUG: cleanup paths in GetSourceFile to handle bug 2724 2007-02-28 14:45:58 -05:00
Bill Hoffman ecbec236b1 ENH: one more pass at paths with spaces and parens 2007-02-28 14:29:26 -05:00
Ken Martin 56e3a35ece BUG: allow system information to accept the -G option 2007-02-28 12:25:19 -05:00
Brad King b1aae98926 BUG: Assignment should always use reset(). 2007-02-28 09:36:08 -05:00
Brad King 5ba5c450e6 COMP: Fix for auto_ptr_ref on Borland 5.8. 2007-02-28 09:35:28 -05:00
Brad King 6c82483cdb BUG: Fix for cmake_force target in Borland Makefiles. 2007-02-28 09:33:25 -05:00
Ken Martin cbf6bae9f4 BUG: fix to naming of results file 2007-02-27 16:41:43 -05:00
Bill Hoffman 5ae48cf852 ENH: add a fix for spaces in the path again... 2007-02-27 13:34:12 -05:00
Ken Martin 08ccfacf03 BUG: possible fix for new SystemInfo test 2007-02-27 13:04:29 -05:00
Ken Martin 42c41d77fa BUG: fix for unused variable 2007-02-27 12:47:14 -05:00
Bill Hoffman 0ce8c158cc ENH: fix for spaces in the path and mingw 2007-02-27 12:10:42 -05:00
Ken Martin 4d9bc90e58 BUG: possible fix for new SystemInfo test 2007-02-27 11:59:34 -05:00
Ken Martin 31a700188b ENH: added --system-information option to CMake 2007-02-27 10:10:10 -05:00
Brad King d97ae16bad COMP: Added line accidentally removed. 2007-02-26 12:08:27 -05:00
Brad King 220989104c BUG: Fixed implementation of auto_ptr_ref. 2007-02-26 12:06:42 -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
Andy Cedilnik 334e6d6801 STYLE: Nightly Version update 2007-02-25 21:02:16 -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 da72f0a07a COMP: Disable test until generators are fixed 2007-02-23 14:37:23 -05:00
Andy Cedilnik b34f2d5c06 ENH: Try to fix spaces in the path problem 2007-02-23 11:30:04 -05:00
Ken Martin 2b3dae596a ENH: added some documentation on how to find the default properties of a test 2007-02-23 09:54:55 -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
Andy Cedilnik 440bbf0871 BUG: Produce error when include directories is invoked with an empty list 2007-02-23 09:45:04 -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
Brad King 2a64bb4774 BUG: Fix bug#4482. 2007-02-22 15:27:56 -05:00
Bill Hoffman abb67cae48 ENH: actually keep the output 2007-02-22 10:31:12 -05:00
Bill Hoffman 13bd83c953 ENH: make sure EXECUTE_PROCESS is there because in bootstrap it is not 2007-02-22 10:05:50 -05:00
Bill Hoffman 2d6e914b2d COMP: remove warning 2007-02-22 09:48:19 -05:00
Ken Martin b41d4a1b54 STYLE: fix someones line length 2007-02-22 09:44:27 -05:00
Andy Cedilnik 726c267f99 BUG: Produce an error when the script is not found 2007-02-22 09:10:37 -05:00
Bill Hoffman 5647e6e254 ENH: fix parens in the path with spaces in the path 2007-02-21 21:24:17 -05:00
Ken Martin 806001bbb6 ENH: turn on spaces test for more platforms 2007-02-21 14:58:33 -05:00
Bill Hoffman d999d0240d ENH: get rid of some extra erase calls 2007-02-21 14:07:33 -05:00
Bill Hoffman 828eebcd31 STYLE: fix line length 2007-02-21 14:07:04 -05:00
Bill Hoffman 7a13c7affe BUG: fix for quotes in strings for flags #4022 2007-02-21 14:01:19 -05:00
Brad King 53c72ed6c3 COMP: Disable LFS on AIX. 2007-02-21 13:33:19 -05:00
Ken Martin d160362e83 ENH: remove unused variable 2007-02-21 12:19:51 -05:00
Ken Martin 276d61c90b ENH: turn on spaces test for more platforms 2007-02-21 11:58:58 -05:00
Bill Hoffman a2e8b602f9 ENH: fix spelling error bug # 4233 2007-02-20 15:09:09 -05:00
Ken Martin 4ddfe5f9a4 ENH: only add the test for some platforms 2007-02-20 15:03:22 -05:00
Bill Hoffman d5cb0f48b7 ENH: fix source extensions fror txt on xcode 2007-02-20 13:52:29 -05:00
Ken Martin 06027d1d2b ENH: fix for Watcom 2007-02-20 12:28:22 -05:00
Bill Hoffman d712e40d36 ENH: fix for force language stuff 2007-02-20 11:14:41 -05:00
Bill Hoffman 323860cbdf ENH: fix crash 2007-02-20 10:52:06 -05:00
Bill Hoffman 1d8e7e9411 BUG: fix for bug 4423 set language fixes 2007-02-20 09:35:21 -05:00
Bill Hoffman 5c0a340a9e ENH: remove ConvLib test for now 2007-02-19 16:34:05 -05:00
Bill Hoffman c856f76de3 ENH: use correct name 2007-02-19 15:12:06 -05:00
Bill Hoffman 797a7f50a2 ENH: use project not target name 2007-02-19 15:07:31 -05:00
Ken Martin 245e7c3482 ENH: make the test really test targets with spaces 2007-02-19 14:48:04 -05:00
Ken Martin 84315a7d57 BUG: fix accidental checkin 2007-02-19 14:32:36 -05:00
Ken Martin e7ab8a0e1d ENH: fixed more bugs with spaces in the path 2007-02-19 14:25:45 -05:00
Bill Hoffman 303048d3dc ENH: add test for conv libraries 2007-02-19 13:26:38 -05:00
Ken Martin 09699018cc ENH: turn on spaces in path test 2007-02-19 13:20:27 -05:00
Ken Martin 314f5f60a0 BUG: fix for spaces in path for nmake 2007-02-19 12:26:32 -05:00
Ken Martin 74968ce1c7 BUG: fix for shrinking cmake oh no 2007-02-19 11:30:34 -05:00
Andy Cedilnik 32af87ad04 STYLE: Nightly Version update 2007-02-18 21:44:54 -05:00
Bill Hoffman 857a54ec54 STYLE: fix warning 2007-02-18 09:31:16 -05:00
Andy Cedilnik 3ebb0f5469 STYLE: Nightly Version update 2007-02-17 22:43:04 -05:00