Commit Graph

5152 Commits

Author SHA1 Message Date
Brad King f11f012cd7 BUG: ConvertToQuotedOutputPath must replace slashes in root component on windows. 2005-02-25 09:14:34 -05:00
Brad King 03e2878db8 ENH: Added ConvertToQuotedOutputPath method and used it to properly generate external object references with spaces in the path. 2005-02-25 09:06:18 -05:00
Andy Cedilnik 5bbf471f23 STYLE: Nightly Version update 2005-02-25 03:08:51 -05:00
Brad King c56045f2e2 BUG: Removed instances of calling ConvertToRelativeOutputPath twice on the same path. 2005-02-24 19:32:50 -05:00
Brad King de47b43c6f BUG: Need to configure relative path support for LocalGenerate to support old makefile generator. 2005-02-24 19:28:44 -05:00
Brad King 397dc1cef5 ENH: Converted some ConvertToRelativeOutputPath calls to ConvertToOptionallyRelativeOutputPath in preparation for making ConvertToRelativeOutputPath always convert. Some of these might be able to be switched back but we will first have to test what paths can be relative in the generate VS project files. 2005-02-24 18:35:36 -05:00
Bill Hoffman d680e51777 ENH: fix relative paths in xcode 2005-02-24 17:46:49 -05:00
Brad King ea258e9a1a ENH: Converted some ConvertToRelativeOutputPath calls to ConvertToOptionallyRelativeOutputPath in preparation for making ConvertToRelativeOutputPath not check CMAKE_USE_RELATIVE_PATHS. 2005-02-24 16:25:47 -05:00
Brad King ea5f13fc82 BUG: The path to the source file in a compile line should be made relative only when CMAKE_USE_RELATIVE_PATHS is on. 2005-02-24 16:19:42 -05:00
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 a21c0449ab BUG: Added installation of .in files as well as .cmake files. 2005-02-24 11:46:27 -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
Andy Cedilnik f30e760848 COMP: Several Windows fixes 2005-02-23 20:28:21 -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
Andy Cedilnik b9b4ea0f7b ENH: Initial import 2005-02-22 13:08:27 -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
Brad King 7da6124416 ENH: Added test for multiple commands in a custom command. 2005-02-22 12:04:02 -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