Commit Graph

3999 Commits

Author SHA1 Message Date
Brad King ddb0408007 ENH: Added option CMAKE_SKIP_RULE_DEPENDENCY to skip making build rules depend on their own rule files. It can be added to the cache by the user or added by the project in a list file. 2005-03-08 13:43:17 -05:00
Brad King 200c98fc32 BUG: Only add leading ./ to custom command executable if the command is really specified as one in the current directory. 2005-03-08 11:37:41 -05:00
Brad King d4a2000657 BUG: When a custom command's executable is in the current directory the relative path to it needs a "./". 2005-03-08 11:25:07 -05:00
Brad King f3a92bdfc7 ENH: Updating Kdevelop generator to use the new makefile generator. The old one no longer works anyway because local generates are now disabled. 2005-03-08 09:25:17 -05:00
Brad King 5dc555e26d BUG: Dependency scans and checks must always set the current working directory to the directory containing the Makefile. 2005-03-08 09:24:24 -05:00
Andy Cedilnik 59a7019305 STYLE: Nightly Version update 2005-03-08 02:26:43 -05:00
Brad King e75df695de BUG: When checking for upper-case modules do not use an upper-case .MOD extension. 2005-03-07 15:19:18 -05:00
Andy Cedilnik 04bb427d1f BUG: Handle restrictive permissions 2005-03-07 13:51:18 -05:00
Andy Cedilnik 14890b6ad4 COMP: Remove warning 2005-03-07 12:14:22 -05:00
Andy Cedilnik 8ee95c2c57 STYLE: Nightly Version update 2005-03-07 02:28:26 -05:00
Andy Cedilnik 8248953df1 COMP: Remove warning and fix the logic 2005-03-06 08:51:08 -05:00
Andy Cedilnik 70b01d4506 COMP: Do not build cmw9xcom on Cygwin 2005-03-06 08:17:42 -05:00
Andy Cedilnik c0de8ba723 STYLE: Nightly Version update 2005-03-06 02:27:37 -05:00
Andy Cedilnik 4203bdf816 COMP: Remove compile error 2005-03-05 08:12:05 -05:00
Andy Cedilnik d8a563f45c STYLE: Nightly Version update 2005-03-05 02:21:06 -05:00
Andy Cedilnik bee77d0298 ENH: Start working on xmlrpc code. This code does not work, but it will at least test compiling with cmxmlrpc 2005-03-04 17:11:42 -05:00
Andy Cedilnik ef282e2a7f ENH: More cleanups and start linking ctest to XML-RPC 2005-03-04 14:27:32 -05:00
Andy Cedilnik 89f603b620 ENH: More cleanups and reorganization 2005-03-04 11:38:34 -05:00
Andy Cedilnik f451469d58 ENH: Cleanups 2005-03-04 10:05:01 -05:00
Andy Cedilnik bab4bf8591 BUG: This cmakelists file is not used any more 2005-03-04 10:04:25 -05:00
Andy Cedilnik a98ce34c81 STYLE: Nightly Version update 2005-03-04 02:25:40 -05:00
Bill Hoffman a9a0c91630 ENH: fix for finding the correct target in the current project 2005-03-03 22:35:06 -05:00
Bill Hoffman 16b65d86c9 ENH: try and debug the failed test on the continuous 2005-03-03 18:46:52 -05:00
Bill Hoffman ded7d15144 ENH: try number two with topological sort 2005-03-03 18:16:00 -05:00
Brad King 2444cd3828 ENH: Implementing explicit cmake_copy_f90_mod callback to copy Fortran90 modules to the stamp files more reliably. This removes the temporary hack for per-platform upper-/lower- case. 2005-03-03 16:53:33 -05:00
Brad King 2fe4e650bf BUG: Fixed scanning to account for double-quote includes. 2005-03-03 15:22:18 -05:00
Brad King 5290b40c47 ENH: Added "ostringstream(const kwsys_stl::string& s)" and "void str(const kwsys_stl::string& s)" compatibility methods. 2005-03-03 12:00:43 -05:00
Ken Martin 78ca400d33 ENH: remove code warrior classes 2005-03-03 08:47:03 -05:00
Andy Cedilnik cd46fcaaf9 STYLE: Nightly Version update 2005-03-03 02:26:04 -05:00
Bill Hoffman 17f474b0d4 ENH: reverse last changes to avoid dashboard failures 2005-03-02 18:56:46 -05:00
Bill Hoffman 7007b41dcb ENH: fix library ordering stuff to use a topological sort 2005-03-02 17:49:11 -05:00
Andy Cedilnik 1b68c76b19 BUG: Attempt to fix sorting stability using more deterministic compare function 2005-03-02 11:48:58 -05:00
Ken Martin 78d85f4af8 ENH: now use xcode instead 2005-03-02 10:58:13 -05:00
Brad King e015d822ab BUG: Pay attention to ForceUnixPaths setting in cmSystemTools for ConvertToQuotedOutputPath and for dependency scanning. 2005-03-02 09:34:16 -05:00
Brad King ba6f07b10c BUG: We need to test the compiler for the case of the mod file names. For now this is a temporary hack to use upper case on SGI and lower case on Sun. 2005-03-02 09:02:36 -05:00
Brad King 749b80c7ed BUG: SGI make can support suffixes only up to 32 characters. Renaming .hpux_make_must_have_suffixes_list to .hpux_make_needs_suffix_list. 2005-03-02 08:51:48 -05:00
Andy Cedilnik a00d3d39a5 STYLE: Nightly Version update 2005-03-02 02:30:11 -05:00
Bill Hoffman 87e6c54e26 FIX: switch to stable_sort to avoid crash 2005-03-01 17:32:25 -05:00
Andy Cedilnik ce403305e1 COMP: CMake should be build static. Also propagate build_shared_libs to curl 2005-03-01 14:21:45 -05:00
Brad King 2a8adb53ea BUG: Module file names are case insensitive. Always use lower case no matter the real name of the module. 2005-03-01 13:36:07 -05:00
Brad King 35f36d3f0f COMP: Removed unused parameter warning. 2005-03-01 13:32:58 -05:00
Brad King c7beb28657 ENH: Enabling cmLocalUnixMakefileGenerator2 by default. 2005-03-01 12:27:06 -05:00
Brad King 2aa613b98c ENH: Enabling cmLocalUnixMakefileGenerator2 (new makefile generator) by default. 2005-03-01 12:26:25 -05:00
Brad King e979735a19 ENH: Framework for java dependency scanner. Right now it does nothing but always reports success. This is enough to get the Java test to pass with the new generator because the old implementation did not do dependencies anyway. 2005-03-01 12:21:34 -05:00
Brad King b636a0f20a BUG: Added FILES mode to INSTALL_PROGRAMS command to make the single argument case unambiguous. 2005-03-01 12:13:38 -05:00
Andy Cedilnik 717927d6d2 FIX: fix spaces in paths 2005-03-01 11:25:23 -05:00
Brad King 77e22a7d70 BUG: Replaced previous fix with an implementation of properly formatting the custom build code in the generated file. 2005-03-01 10:05:58 -05:00
Andy Cedilnik 2e00f02112 STYLE: Nightly Version update 2005-03-01 02:28:25 -05:00
Ken Martin a5501b11f6 FIXTHIS THING: fix the bug 2005-02-28 16:11:21 -05:00
Bill Hoffman a65da51919 fix typeo 2005-02-28 15:30:40 -05:00
Bill Hoffman b7ef8149e8 ENH: add re run cmake if inputs change 2005-02-28 15:07:13 -05:00
Andy Cedilnik 46fc2dc0cd STYLE: Nightly Version update 2005-02-28 02:25:09 -05:00
Andy Cedilnik 588653c4e8 COMP: Remove warnings about shadow variables 2005-02-27 17:36:00 -05:00
Andy Cedilnik 90c0fc8cc5 STYLE: Nightly Version update 2005-02-27 03:04:56 -05:00
Bill Hoffman 80c9a67845 COMP: remove some warnings 2005-02-26 16:58:19 -05:00
Andy Cedilnik ca7c1219b5 STYLE: Nightly Version update 2005-02-26 03:02:56 -05:00
Bill Hoffman 8d59e58b6a COMP: fix warning 2005-02-25 20:46:33 -05:00
Bill Hoffman c4ca049e3f ENH: clean up and use order link directories 2005-02-25 17:45:12 -05:00
Bill Hoffman 381777f866 ENH: make sure header files are in the header file group 2005-02-25 14:20:20 -05:00
Brad King d18722a212 ENH: Replaced OutputEcho/pre-echo/post-echo with AppendEcho. This allows for more flexible echo specifications and better preserves echo text. 2005-02-25 11:23:17 -05:00
Brad King cf8fb5c6f8 ENH: Adding inclusion of pre-build and pre-link commands when building executables and libraries. 2005-02-25 09:19:04 -05:00
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 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