Commit Graph

220 Commits

Author SHA1 Message Date
Ken Martin b99129d2d8 ENH: some code cleanup 2007-03-12 10:26:59 -04: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 73a5c33f9b BUG: Removed legacy SetupTests method that was causing RUN_TESTS to test twice. 2007-03-05 13:01:02 -05:00
Bill Hoffman d999d0240d ENH: get rid of some extra erase calls 2007-02-21 14:07:33 -05:00
Ken Martin 49085f7fed BUG: fixes so that --build-and-test will honor timeouts 2007-01-30 11:35:17 -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 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 dd8d1e8c8d ENH: remove warning 2006-11-10 09:32:27 -05:00
Bill Hoffman 3b7005c554 BUG: fix for broken borland compiler 2006-11-10 08:11:37 -05:00
Bill Hoffman b0bc59f709 ENH: commit fix for putting everything in the build on vs 2006-11-09 09:57:23 -05:00
Andy Cedilnik 897a2a9029 ENH: Cleanup of install component list. There was already the list in the global generator. Use that one 2006-10-31 14:28:48 -05:00
Andy Cedilnik 7ded253013 ENH: Add support for displaying the list of components 2006-10-30 15:59:54 -05:00
Andy Cedilnik d5f31292b2 BUG: Use variable instead of retrieving again. Fixes bug: Bug #3476 2006-10-12 15:30:01 -04:00
Bill Hoffman 4f304e7a07 BUG: fix for bug #3517 seg fault with enable language before project command 2006-10-04 11:11:21 -04:00
Bill Hoffman 18e302a377 ENH: fix dashbaord error do not exclude root project from itself. 2006-10-03 17:53:07 -04:00
Bill Hoffman f851821cc7 BUG: fix for bug#3714 execlude_from_all not working on vs 2006-10-03 15:12:25 -04:00
Brad King e4ec89d036 ENH: Added SYMBOLIC source file property to mark custom command outputs that are never actually created on disk. This is used by the Watcom WMake generator to generate the .SYMBOLIC mark on the files in the make system. 2006-10-02 10:20:53 -04:00
Brad King 7d2de52c1a ENH: Cleaned up signature of cmMakefile::AddUtilityCommand. It is not valid to have an output from a utility rule and no calls to the method asked for an output anyway. The argument has been removed. 2006-09-28 13:55:26 -04:00
Brad King 57eb30087f STYLE: Fixed line-too-long warning. 2006-09-01 09:51:28 -04:00
Brad King 239fce5caa ENH: Do not generate install target unless some INSTALL or INSTALL_* commands have been used. This addresses bug#2827. 2006-08-31 10:47:00 -04:00
Brad King eef327b944 ENH: Adding install/local global target for Makefile generators. This runs installation only in the current directory and not subdirectories. 2006-08-29 10:03:47 -04:00
Brad King ed6791c898 BUG: Make sure targets of type GLOBAL_TARGET have a makefile set. 2006-08-25 22:56:36 -04:00
Brad King 15ca72a862 BUG: Delay relative path configuration until as late as possible to make sure the source/binary dir are set. This is a work-around for lack of a more structured way of creating the global generator. 2006-06-19 14:57:57 -04:00
Brad King 0bbcb49f65 ENH: Added generation of link rules into script files executed by a cmake -E command in order to support longer link lines. This is needed only on platforms without response file support and that may have weak shells. 2006-06-15 16:17:11 -04:00
Ken Martin 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 2006-06-14 12:28:32 -04:00
Brad King 87d4d0e039 BUG: cmGlobalGenerator::Build should not always use the /fast target name because dependency checking is often required. It now takes an argument specifying whether to use the /fast target name, and the argument is currently only true for try-compiles. 2006-06-01 15:51:24 -04:00
Brad King ec2104cd31 BUG: Updated Makefile dependency scanning to provide a full local generator to the dependency scanner to do proper path conversions. This allows the rules written into the depend.make files to use the same relative path conversion as those written into the build.make files. Several previous changes added more and more information for use by the dependency scanner and it was converging to having the full local generator anyway. 2006-05-25 09:47:30 -04:00
Brad King e838bb31e3 BUG: Make sure RUN_TESTS target passes the desired configuration to ctest. 2006-05-13 12:28:06 -04:00
Ken Martin 01c25dd378 STYLE: fix line length 2006-05-12 10:46:50 -04:00
Ken Martin b8483cf109 STYLE: fix line length 2006-05-11 10:40:28 -04:00
Ken Martin 3023eb7ccb ENH: Makefile performance improvements 2006-05-02 09:56:42 -04:00
Brad King 4494c29078 ENH: Enabling color makefile support using cmsysTerminal_cfprintf. Support for color is automatically detected when messages are printed. Also made color scheme more readable on both black and white backgrounds. This option can be enabled by setting CMAKE_COLOR_MAKEFILE to true in the project. 2006-04-26 21:31:39 -04:00
Bill Hoffman 0952ff6f4b ENH: don't add package target if no package file is around 2006-04-20 15:49:37 -04:00
Andy Cedilnik 71b370c79c BUG: Verify the global target name exists before using it. Fixes VS and Xcode 2006-04-17 16:06:31 -04:00
Andy Cedilnik 1e608c912c ENH: Add packaging of source code (make package_source) 2006-04-17 15:26:54 -04:00
Ken Martin 17ebcb1bcd COMP: fix warning 2006-04-12 11:56:27 -04:00
Ken Martin 535acdc7a0 ENH: some performance optimizations 2006-04-11 12:51:20 -04:00
Brad King d5719f22c1 ENH: Added support for multiple outputs generated by a single custom command. For Visual Studio generators the native tool provides support. For Xcode and Makefile generators a simple trick is used. The first output is considered primary and has the build rule attached. Other outputs simply depend on the first output with no build rule. During cmake_check_build_system CMake detects when a secondary output is missing and removes the primary output to make sure all outputs are regenerated. This approach always builds the custom command at the right time and only once even during parallel builds. 2006-04-11 11:06:19 -04:00
Brad King 2301a025ea ENH: Added global TargetManifest computation between Configure and Generate steps. This allows generators to know what other targets will exist on disk when the build completes. 2006-04-04 11:48:19 -04:00
Bill Hoffman 6e217924ce ENH: use correct addcache call to fix build tools 2006-04-03 22:05:58 -04:00
Bill Hoffman ae10b3578d ENH: add a wrapper for xcodebuild to get around bug and verbose output 2006-03-31 13:17:23 -05:00
Brad King eb31755eb2 ENH: Implemented VT100 terminal escape sequences. If CMAKE_COLOR_MAKEFILE is set then messages produced by makefiles will be in color if the native tool supports it. This addresses bug#3060. 2006-03-30 15:39:03 -05:00
Bill Hoffman 5a2668b326 ENH: add support for win64 for visual studio 2005 ide and nmake, also fix warnings produced by building for win64 2006-03-30 13:49:56 -05:00
Brad King 08b14163ee ENH: Added named component installation implementation. Installation behavior should be unchanged unless -DCOMPONENT=<name> is specified when cmake_install.cmake is invoked. 2006-03-30 13:33:48 -05:00
Ken Martin 7b3be313ee ENH: modified the relative path code to not do relative paths between bin and source 2006-03-30 09:17:02 -05:00
Brad King 94cc5898e7 BUG: When generating the install rules for CMake itself the per-configuration subdirectory must be used to specify the executable location. 2006-03-16 18:24:26 -05:00
Ken Martin 3d96e52261 STYLE: some m_ to this-> cleanup 2006-03-15 11:02:08 -05:00
Brad King c21a61c91a BUG: Check for whether to add -C to package rule should check for a . in the first character not the second. 2006-03-07 14:38:52 -05:00
Brad King 93c95f1cc5 BUG: Fixed installation of MacOSX Bundle executables and the corresponding install_name remapping support. Extended the BundleTest test to check that this all works. Part of these fixes required changing the signature of AppendDirectoryForConfig in all generators. It now accepts prefix and suffix strings to deal with whether leading or trailing slashes should be included with the configuration subdirectory. 2006-03-03 12:58:48 -05:00
Bill Hoffman 2f78d874a7 ENH: fix for bug 2921, move _OVERRIDE variable to a better position to allow changing _INIT variables 2006-03-02 07:52:52 -05:00
Brad King 007421e19c BUG: Check for whether to add BUILD_TYPE to install rule should check for a . in the first character not the second. 2006-03-01 18:49:52 -05:00
Andy Cedilnik 07260a6f27 ENH: Cleanup global targets even more and potentially fix Xcode 2006-03-01 08:28:39 -05:00
Andy Cedilnik e6b8706225 BUG: Ok, fix the ordering 2006-02-28 16:33:14 -05:00
Andy Cedilnik 6783765c90 BUG: On Visual Studio and XCode, handle build configurations 2006-02-28 15:31:43 -05:00
Brad King 7db64cdb28 BUG: Need to use the CMAKE_COMMAND cache entry to get the location of CMake. 2006-02-28 09:53:32 -05:00
Andy Cedilnik ee227d3af5 ENH: Several packaging issues. Allow random variables to be passed to cpack (anything starting with CPACK_, add preinstall to the list of dependencies for package, fix typos 2006-02-27 10:58:20 -05:00
Andy Cedilnik 3d9610feec COMP: More fixes for non makefile generators and global targets 2006-02-24 18:15:35 -05:00
Andy Cedilnik 1cd8c64384 STYLE: Remove debug 2006-02-24 17:43:19 -05:00
Andy Cedilnik c4156b4531 COMP: Even more global target fixes 2006-02-24 17:35:35 -05:00
Andy Cedilnik 77e5a607f2 BUG: Only add test targets when testing is enabled. Also add CMAKE_CFG_INTDIR when specified 2006-02-24 10:55:44 -05:00
Andy Cedilnik 0ba40b59c7 COMP: Handle preinstall properly on IDEs 2006-02-24 09:43:23 -05:00
Andy Cedilnik 66ea097554 ENH: Properly handle target dependencies 2006-02-23 17:30:12 -05:00
Andy Cedilnik 7c0251014c COMP: More fixes for visual studio 2006-02-23 13:46:34 -05:00
Andy Cedilnik 549b77034e COMP: Fixes for visual studio 2006-02-23 13:37:35 -05:00
Andy Cedilnik 32c403f665 ENH: Remove debug 2006-02-23 10:48:35 -05:00
Andy Cedilnik 12dc64c7f5 ENH: Add a notion of a global target 2006-02-23 10:07:24 -05:00
Bill Hoffman 347c5f4b46 ENH: add working directory support 2006-02-08 10:58:36 -05:00
Brad King afa8367885 BUG: Fixed cmTarget::GetFullPath to not append the configuration name when only one configuration is built. It now asks the generator what subdirectory if any to use for a given configuration name. 2006-02-03 11:36:11 -05:00
Andy Cedilnik 782bef7374 ENH: Add a way for the generated command to include extra flags. This is useful for CTest (or try compile) to add -j2 2005-12-01 11:41:00 -05:00
Bill Hoffman 5b9ecdec44 ENH: fix warning 2005-09-15 13:26:29 -04:00
Bill Hoffman 8be3e4eeca ENH: clean up EnableLanguage try to fix problem where try compile runs cmake 2005-09-15 12:17:38 -04:00
Ken Martin 2a45d5cd68 ENH: added DIRECTORY option to GET_DIRECTORY_PROPERTIES 2005-09-13 10:39:42 -04:00
Bill Hoffman 9c4bfe975a ENH: add a fix for VTK on the mac and a way to fix some projects with a single file in the cmake modules directory 2005-09-07 17:05:01 -04:00
Ken Martin c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
Brad King 80802c21b6 ENH: RUN_TESTS target now uses proper CMAKE_CFG_INTDIR setting to get $(IntDir) or $(OutDir) depending on the generator. 2005-07-27 16:46:06 -04:00
Andy Cedilnik de217bee8d BUG: Generate RUN_TEST target if any tests are there 2005-07-27 15:46:21 -04:00
Ken Martin 369308ca76 ENH: make LOCATION an computed property of the target and get rid of a bunch of const junk 2005-06-22 09:06:46 -04:00
Brad King 7ed018ec09 BUG: Changing to a new test for whether to do relative path conversion. Now only paths inside the source or binary trees are converted. 2005-05-16 14:17:30 -04:00
Ken Martin 3744464c5e BUG: filx for old bug in rel path computaiton code 2005-05-13 14:12:05 -04:00
Ken Martin 8c65179339 ENH: warning fixes and some first steps in cleaning up the convert code 2005-05-13 09:54:30 -04:00
Ken Martin 25f75d9075 ENH: added new methods to convert to HomeRelative paths 2005-05-11 10:19:58 -04:00
Andy Cedilnik 082b3b44d7 BUG: Fix bootstrap test on machines with spaces in the path 2005-05-04 11:13:00 -04:00
Andy Cedilnik d772fce254 ENH: No need to convert to output path 2005-05-03 15:20:16 -04:00
Andy Cedilnik 61d0a75d11 ENH: Add option to ignore errors. Only works on make 2005-04-29 11:49:18 -04:00
Andy Cedilnik 7c5745ae95 ENH: Start working on command that will abstract generating of build command 2005-04-28 17:33:51 -04:00
Andy Cedilnik d395b563ed ENH: Improve internal test handling by creating a test class. Command cmEnableTesting now only sets CMAKE_TESTING_ENABLED and cmAddTest only adds a test to the list. The actual test files are written by local generator. This way we can at some point in the future replace DartTestfile with some XML file 2005-04-24 15:59:51 -04:00
Bill Hoffman 697d749c73 BUG: fix for bug 1660 2005-04-05 13:14:50 -04:00
Andy Cedilnik 0dd2b6eb80 BUG: By default disable new files. 2005-04-04 12:22:08 -04:00
Andy Cedilnik 86cebea79a ENH: More ctest changes and move SetupTest to superclass 2005-04-01 15:48:46 -05:00
Ken Martin 62969492b0 ENH: removed GetParentProjects 2005-03-29 15:34:27 -05:00
Bill Hoffman 213040b612 ENH: make sure project map is cleared each time. 2005-03-22 11:33:46 -05:00
Ken Martin eb1764b34f COMP: fix warning 2005-03-19 09:05:17 -05:00
Ken Martin 345cf04012 ENH: big change that includes immediate subdir support, removing the notion of inherited commands, makefiles no longer read in the parent makefiles but instead inherit thier parent makefiles current settings 2005-03-18 10:41:41 -05:00
Ken Martin 791aa6052b ENH: add support for out of source source 2005-03-14 11:29:15 -05:00
Ken Martin 3ff6722934 ENH: cleanup by removing all the olf local generate junk that i not longer needed 2005-03-10 13:39:38 -05:00
Bill Hoffman a9a0c91630 ENH: fix for finding the correct target in the current project 2005-03-03 22:35:06 -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 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
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
Ken Martin bfcb4b6937 COMP: fix warning 2005-02-22 12:34:02 -05:00