Commit Graph

3879 Commits

Author SHA1 Message Date
Brad King cb48e0c161 ENH: Merged implementations of ConvertToRelative*Path methods. The main ConvertToRelativePath method is now in cmGlobalGenerator. It converts paths only if they are at least inside the deepest common directory between the top-level source and build trees. Each cmLocalGenerator instance calls this global method with its own output directory as the "local" argument from which paths are relative. Added separate ConvertToOptionallyRelative path that pays attention to the CMAKE_USE_RELATIVE_PATHS option. 2005-02-24 16:04:54 -05:00
Andy Cedilnik 9bf0811e34 COMP: remove compiler warning 2005-02-24 15:36:56 -05:00
Andy Cedilnik 8b54b7a683 ENH: fix spaces in paths problems 2005-02-24 15:34:14 -05:00
Brad King 495666742b ENH: Added ComparePath method. 2005-02-24 14:47:45 -05:00
Bill Hoffman 2ebbf64508 ENH: remove unused code 2005-02-24 14:27:16 -05:00
Brad King c1ca511331 COMP: HP compiler does not like initializing a const std::string & with a const char* (which requires the reference to be bound to a temporary with the scope of the reference). 2005-02-24 13:45:37 -05:00
Bill Hoffman a51f7b4f9a ENH: clean up and remove some debug code 2005-02-24 13:26:39 -05:00
Bill Hoffman ff812580eb ENH: add a new library path ordering algorithm to make sure -L paths will pick the correct libraries if possible 2005-02-24 13:16:41 -05:00
Brad King 9c4997bf06 BUG: Avoid putting a leading ./ on the dependency names. 2005-02-24 12:44:56 -05:00
Brad King b40745c925 BUG: Using a better technique to produce the rule file name for a custom command when the output is not in the current directory or lower. 2005-02-24 12:19:20 -05:00
Brad King 2e451961b6 BUG: Only use the existing CMake(lang)Compiler.cmake file from the build tree if it was generated by the same version of CMake. 2005-02-24 10:32:58 -05:00
Brad King df301a2542 BUG: Fixed GetCacheMinorVersion to not always return 0. 2005-02-24 10:31:17 -05:00
Andy Cedilnik 33024e8ff6 COMP: Remove compile warning in bootstrap stage 2005-02-24 10:14:56 -05:00
Brad King e9da9cc3d7 BUG: Do not crash when the link language for a target is not known. 2005-02-24 09:21:15 -05:00
Brad King 77194207ce BUG: Need proper newline argument to ConstructScript call. 2005-02-24 09:20:34 -05:00
Andy Cedilnik f8c4e130a0 STYLE: Nightly Version update 2005-02-24 03:46:15 -05:00
Andy Cedilnik 7b9f3389c3 ENH: remove output path stuff 2005-02-23 20:41:03 -05:00
Ken Martin a8770ccc19 BUG: fix for empty target or config strings in the Build method 2005-02-23 14:36:38 -05:00
Bill Hoffman e5637ef7d8 FIX: fix to make this work with new custom command stuff 2005-02-23 13:50:52 -05:00
Andy Cedilnik b8c36562df STYLE: Nightly Version update 2005-02-23 03:03:21 -05:00
Brad King 798404aeee ENH: Added CMAKE_PROJECT_NAME variable to play the role of CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR for the top-level project name. 2005-02-22 15:31:02 -05:00
Brad King 7c7b173042 ENH: Added better default install location for windows builds. The previous default /usr/local did not make much sense. Now "%SystemDrive%/Program Files/PROJECT_NAME" is used, which is the windows equivalent to /usr/local. 2005-02-22 15:22:40 -05:00
Brad King ec497c7a23 ENH: LOAD_COMMAND command will now set a variable called CMAKE_LOADED_COMMAND_<COMMAND_NAME> to the full path of the loaded module if loading was successful. Otherwise the variable is not set (will evaluate to empty string). This is useful both in testing whether loading worked and for installing loaded command modules. 2005-02-22 14:52:55 -05:00
Ken Martin bfcb4b6937 COMP: fix warning 2005-02-22 12:34:02 -05:00
Brad King b8a77b2965 BUG: Fixed formatting of generated documentation. 2005-02-22 12:10:43 -05:00
Ken Martin 12c4e90294 BUG: fix test execution 2005-02-22 10:43:06 -05:00
Ken Martin 4baa085a1a BUG: better error handling 2005-02-22 10:42:49 -05:00
Brad King 39af9ee1e4 ENH: Updated implementation of custom commands. Multiple command lines are now supported effectively allowing entire scripts to be written. Also removed extra variable expansions and cleaned up passing of commands through to the generators. The command and individual arguments are now kept separate all the way until the generator writes them out. This cleans up alot of escaping issues. 2005-02-22 10:32:44 -05:00
Ken Martin 4d30cb309c ENH: ctest now uses CMake global generator to do the build part of build-and-test 2005-02-22 09:12:10 -05:00
Brad King 832fa0e609 BUG: Need to return before configure step when running in script mode. 2005-02-22 09:08:02 -05:00
Brad King 653bf6c25c ENH: Adding cmCustomCommandLine and cmCustomCommandLines subclasses of std::vector instantiations to represent multiple commands for a single custom command. These will be used in an upcoming checkin. 2005-02-22 08:22:38 -05:00
Andy Cedilnik 1662466ca2 STYLE: Nightly Version update 2005-02-22 03:01:21 -05:00
Andy Cedilnik 658dfe5b3f STYLE: Nightly Version update 2005-02-21 03:07:46 -05:00
Andy Cedilnik b787497496 STYLE: Nightly Version update 2005-02-20 03:13:45 -05:00
Andy Cedilnik d51c43a80d STYLE: Nightly Version update 2005-02-19 02:43:06 -05:00
Brad King ffb2c0c0e5 BUG: cmSourceFile instances should delete their own custom commands when a new one is set. 2005-02-18 16:19:09 -05:00
Brad King 04b5d1613c COMP: Using const_iterator instead of iterator to walk through custom command dependencies. 2005-02-18 16:12:33 -05:00
Brad King 1088f39327 COMP: Added missing forward declaration of cmMakefile. This was only working because cmCustomCommand.h declared it. 2005-02-18 16:12:08 -05:00
Andy Cedilnik c116bf5f84 ENH: fix for spaces in the path 2005-02-18 15:45:19 -05:00
Bill Hoffman c60cf6585d COMP: remove warning 2005-02-18 14:32:55 -05:00
Bill Hoffman 785b0dc012 ENH: all tests are passing for XCode 2005-02-18 13:32:51 -05:00
Andy Cedilnik b5ca101fd7 STYLE: Nightly Version update 2005-02-18 02:44:58 -05:00
Bill Hoffman e930043477 ENH: more tests are passing, relative paths, and external objects are the ones left now 2005-02-17 17:54:14 -05:00
Andy Cedilnik 28f2dfb752 BUG: Detect when TestsToRunInformation is not set 2005-02-17 16:59:22 -05:00
Andy Cedilnik d5aafe1b93 ENH: Some more generalization 2005-02-17 16:11:10 -05:00
Andy Cedilnik 79a7f42a21 ENH: Cleanups and add CTEST_UPDATE command 2005-02-17 15:23:00 -05:00
Andy Cedilnik ab7668de3f ENH: Add a way to set options of the handler genericly 2005-02-17 15:22:29 -05:00
Brad King e2ec4a1845 ENH: Adding kwsys::SystemTools::FileTimeCompare method to compare file modification times with the highest resolution possible on the file system. 2005-02-17 11:28:13 -05:00
Andy Cedilnik 8fe1686510 ENH: Cleanups and add CTEST_START command 2005-02-17 10:51:52 -05:00
Andy Cedilnik ad5115d00f ENH: Add support for single ' 2005-02-17 10:51:18 -05:00
Brad King 0fd1c5d809 ENH: Added try-compile KWSYS_STAT_HAS_ST_MTIM. This tests whether struct stat has the extra st_mtim member that has high resolution times. 2005-02-17 10:49:16 -05:00
Bill Hoffman 761cbed509 FIX: fix for bug 1606 2005-02-17 10:39:59 -05:00
Brad King 6d487c33d4 ENH: Removing collapsing of files to full path before checking. The current working directory is set correctly because the dependency lines are used by make anyway. This drastically improves the speed of dependency checking. 2005-02-17 10:18:29 -05:00
Brad King 3d9d893426 ENH: Avoid generating duplicate rules for an object file. A warning about duplicate source files in a target is now generated. 2005-02-17 10:03:27 -05:00
Brad King cd6dd55330 ENH: Added generation of test target to run ctest. 2005-02-17 08:50:53 -05:00
Brad King 2651d170d5 BUG: Removing "guess when there is a space in the path" check for chdir command. It is the responsibility of the caller of the command to ensure the arguments are properly quoted on the command line. 2005-02-17 07:53:57 -05:00
Andy Cedilnik 9e65aca620 STYLE: Nightly Version update 2005-02-17 02:42:42 -05:00
Bill Hoffman b0a0ccb083 ENH: add CMAKE_CFG_INTDIR 2005-02-16 19:13:20 -05:00
Bill Hoffman 6bf064d41c ENH: use ALL_BUILD target 2005-02-16 18:47:30 -05:00
Bill Hoffman cb73410ccb ENH: more tests are passing 2005-02-16 16:35:32 -05:00
Andy Cedilnik ae63ae6a6e BUG: Report errors 2005-02-16 16:06:11 -05:00
Andy Cedilnik a8c74a6b57 BUG: On windows allow removing of files that are read-only 2005-02-16 16:03:21 -05:00
Andy Cedilnik ea6547b6b3 COMP: Remove unused variable 2005-02-16 14:38:36 -05:00
Andy Cedilnik fc913ee499 COMP: Remove warning 2005-02-16 14:24:56 -05:00
Andy Cedilnik 71f00352fa ENH: Improve output, and handle 'G' files in subversion 2005-02-16 14:24:43 -05:00
Andy Cedilnik 8ec1ab2ab0 BUG: If project is up to date, handle that case 2005-02-16 13:45:08 -05:00
Andy Cedilnik 3caedbdddb ENH: Initial implementation of SVN support. Closes Bug #1601 - Add subversion support 2005-02-16 13:28:47 -05:00
Bill Hoffman ee0db4aeb4 BUG: fix CommandLine test problems with spaces and testing for the return value 2005-02-16 13:15:25 -05:00
Brad King 93384c7763 BUG: Removing debugging code now that the problem has been fixed on the remote dashboard. 2005-02-16 08:56:17 -05:00
Andy Cedilnik d35eb4b116 STYLE: Nightly Version update 2005-02-16 02:18:26 -05:00
Bill Hoffman f508fc9839 ENH: add custom commands, still failing a bunch of tests 2005-02-15 17:25:40 -05:00
Brad King ca205223da BUG: Preserve trailing slash state when translating paths. 2005-02-15 16:03:14 -05:00
Bill Hoffman 3675a6e3a7 ENH: make sure paths do not end in / before adding one 2005-02-15 09:58:58 -05:00
Brad King 4601c46ad8 STYLE: Added TODO comment for checking dependencies. 2005-02-15 09:02:45 -05:00
Brad King 23dfc9440a BUG: Adding debugging code to remotely debug a failing dashboard test. 2005-02-15 08:40:34 -05:00
Brad King fc8e5aeebf BUG: Adding debugging code to remotely debug a failing dashboard test. 2005-02-15 08:28:19 -05:00
Andy Cedilnik 01c799c0ff STYLE: Nightly Version update 2005-02-15 02:16:17 -05:00
Bill Hoffman 34e7e36cae ENH: getting closer 2005-02-14 16:46:32 -05:00
Ken Martin 7bc60c68e7 ENH: only do objc++ test with GNU of course 2005-02-14 10:16:58 -05:00
Andy Cedilnik 534ed3eb2b STYLE: Nightly Version update 2005-02-14 02:14:56 -05:00
Andy Cedilnik 279ed8d356 STYLE: Nightly Version update 2005-02-13 02:17:01 -05:00
Andy Cedilnik 4cf544cd44 STYLE: Nightly Version update 2005-02-12 02:14:46 -05:00
Andy Cedilnik dd851619ac ENH: Add command to copy directory with content 2005-02-11 16:25:30 -05:00
Andy Cedilnik 39fcca05cf ENH: Implement copy of directory with content 2005-02-11 16:25:07 -05:00
Bill Hoffman 71ff74d045 FIX: fix for bug 1135 2005-02-11 14:36:57 -05:00
Bill Hoffman ef5db04e24 more work on linking flags 2005-02-11 14:25:05 -05:00
Bill Hoffman a2972211a8 FIX: fix for bug 1460 2005-02-11 14:20:51 -05:00
Bill Hoffman 712f4b3d01 FIX: fixes bugs 1152 and 1154 2005-02-11 14:13:58 -05:00
Andy Cedilnik b2592925a5 STYLE: Nightly Version update 2005-02-11 02:17:37 -05:00
Brad King 6173dea153 ENH: Split cmLocalUnixMakefileGenerator2 away from cmLocalUnixMakefileGenerator to be a stand-alone generator. 2005-02-10 16:18:27 -05:00
Brad King 23276ca3a2 ENH: Initializing translation map using the PWD environment variable and getcwd functions to automatically translate logical paths involving the current working directory. Also added the JoinPath method to aid users of the SplitPath method. 2005-02-10 14:19:06 -05:00
Brad King 3b008ea03b COMP: std:: -> kwsys_stl:: 2005-02-10 10:35:23 -05:00
Brad King 4bf8aa6293 ENH: Added SystemTools::SplitPath method to split any file path into its basic components. 2005-02-10 10:32:53 -05:00
Bill Hoffman 52a6bb1bca COMP: fix warning 2005-02-10 08:27:26 -05:00
Brad King cab47a47a2 BUG: Fix for bug 1100. If EXECUTABLE_OUTPUT_PATH or LIBRARY_OUTPUT_PATH is a relative path it should be converted to a full path relative to each build directory. 2005-02-10 08:22:00 -05:00
Bill Hoffman 816d73f23f COMP: fix warning 2005-02-10 07:44:06 -05:00
Andy Cedilnik 84f918f788 STYLE: Nightly Version update 2005-02-10 02:14:59 -05:00
Bill Hoffman d8ed9ef121 ENH: fix bug 1324 2005-02-09 23:25:09 -05:00
Bill Hoffman c840bbcaaf ENH: move most of the to global generator 2005-02-09 23:22:06 -05:00
Bill Hoffman b7b501bbe8 ENH: fix for 1450 2005-02-09 23:00:16 -05:00