Commit Graph

1987 Commits

Author SHA1 Message Date
Brad King ee459411ba ENH: Changed magic numbers to reserved. Added CMAKE_VERSION_MAJOR and CMAKE_VERSION_MINOR macros to allow commands to do conditional compilation across multiple versions of CMake. 2003-01-02 10:27:30 -05:00
Andy Cedilnik 6244ac6f06 Add a way to convert ascii to string 2003-01-01 17:34:47 -05:00
Brad King c8694bb509 BUG: When there are no link flags, we want an empty string, not a null pointer. 2002-12-31 12:59:02 -05:00
Brad King b290e5282c ENH: Support LINK_FLAGS property for static libraries. 2002-12-31 12:41:12 -05:00
Andy Cedilnik 6e4712d6ed Fix problem on windows with network paths 2002-12-30 08:18:38 -05:00
Bill Hoffman 455b262cfe ENH: clean up docs some 2002-12-30 07:47:03 -05:00
Bill Hoffman cd7d9823c4 ENH: fix for AIX 2002-12-23 12:19:44 -05:00
Bill Hoffman 3daf7f8056 WAR: remove warinings 2002-12-23 09:51:11 -05:00
Bill Hoffman 7c9c1c599d ENH: handle // in the path 2002-12-23 09:25:36 -05:00
Bill Hoffman e74377dcd8 ENH: fixes for borland with spaces in the path 2002-12-22 15:19:48 -05:00
Bill Hoffman d14ceb8a38 clean up warning and use more short paths 2002-12-22 11:50:24 -05:00
Bill Hoffman 1161d76bc6 ENH: add target properties files 2002-12-21 11:14:47 -05:00
Bill Hoffman 3859417d1a ENH: add target properties 2002-12-20 17:15:45 -05:00
Brad King 80c6f0fdec ERR: Tcl_PkgProvide takes char*, so we cannot pass a string literal to it. 2002-12-20 16:15:13 -05:00
Brad King 4e6ad941e9 ENH: Visual Studio 6 and 7 generators now set CMAKE_CONFIGURATION_TYPES to be a semicolon-separated list of configurations that will be built. 2002-12-20 12:59:18 -05:00
Bill Hoffman af1c727a1f ENH: add a check to make sure cmake can find the c or C++ compiler for trycompile 2002-12-20 11:20:49 -05:00
Ken Martin dcc9c131b4 testing more agressive compatability settings 2002-12-20 10:23:51 -05:00
Bill Hoffman bf70e0c246 BUG: enable the languages when not running in global mode 2002-12-19 15:34:11 -05:00
Brad King 190424b29c ENH: Tcl packages now Tcl_PkgProvide their own name and version. 2002-12-18 16:58:03 -05:00
Brad King ccb93dc2f4 ERR: Project name and executable name should match for consistency in the X11 test. 2002-12-18 09:38:34 -05:00
Brad King 10931b5e66 ENH: Added return type int to ExecuteCommand. 2002-12-17 17:05:59 -05:00
Brad King 3303599c75 BUG: Need at least 2 arguments, not exactly 2. 2002-12-17 14:55:49 -05:00
Brad King ad5d35c6cf ERR: Added operator != for SGI. 2002-12-17 14:55:31 -05:00
Brad King 5abc8c18c0 BUG: Renamed X11 test executable to useX11 to avoid conflict with name of library. 2002-12-17 13:28:49 -05:00
Ken Martin 18391be145 better handling of Module 2002-12-17 12:56:04 -05:00
Andy Cedilnik 2fb76a9f07 Save directories when doing global build 2002-12-17 12:11:48 -05:00
Brad King a37a934410 ENH: Improved error message for macro invoked with incorrect number of arguments. 2002-12-17 11:58:55 -05:00
Brad King a45217f2a2 ENH: TryCompile should produce a verbose makefile. 2002-12-17 11:57:52 -05:00
Ken Martin 6a0a8331ef some clean up in link directories 2002-12-17 10:04:39 -05:00
Andy Cedilnik 72cde70ee8 Split ctest into two three files 2002-12-16 21:19:21 -05:00
Brad King 728d3da737 BUG: Cannot remove quotes from defined flags. 2002-12-16 18:28:43 -05:00
Andy Cedilnik 1ac5fb545f Fix switching from local to global generation when cmake version changes or when things change inside version 2002-12-16 12:13:37 -05:00
Brad King 21c0dda8d0 ENH: Added copy_if_different option to -E flag. 2002-12-16 11:10:37 -05:00
Brad King 6e10f6cc75 BUG: Fixed quotes in output paths. 2002-12-16 09:39:06 -05:00
Andy Cedilnik e0cec1e650 Add support for only showing what will be done. This way you can for example get a list of all tests: ctest -N or list of all tests that match regex: ctest -N -R regex 2002-12-15 13:45:43 -05:00
Brad King 4cbcd08594 BUG: Need source file and OBJECT_DEPENDS as dependencies of an object file. 2002-12-13 17:34:34 -05:00
Brad King 3348131819 ENH: Added source file property OBJECT_DEPENDS to support generated header files included in non-generated sources. 2002-12-13 16:16:48 -05:00
Ken Martin 858c6c9a02 made more strict 2002-12-13 09:52:05 -05:00
Ken Martin ad8504701e fixed warnings 2002-12-13 09:27:31 -05:00
Brad King 08f1d2f9e1 ERR: Fixed unused parameter warning. 2002-12-13 09:18:01 -05:00
Bill Hoffman e03219860d Make try compile add a depend to re-run cmake if its source chagnes 2002-12-12 17:48:49 -05:00
Brad King 54541bd40a ENH: Improved filename/line number reporting in error message. Macro invocations now chain up the error message. 2002-12-12 11:36:28 -05:00
Brad King 8a275e798d BUG: Multi-line functions must also increment line number, not the pointer. 2002-12-11 18:20:10 -05:00
Brad King be66f58157 ERR: Dummy InitialPass implementation must return a value. 2002-12-11 18:15:30 -05:00
Brad King 4888c088ae ENH: Moved ExpandListVariables out of individual commands. Argument evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside. 2002-12-11 18:13:33 -05:00
Ken Martin 5a321605bc removed dsw file 2002-12-11 14:18:41 -05:00
Ken Martin c3474d4257 added a Free method 2002-12-11 14:16:55 -05:00
Brad King 3bcbca96ab ENH: Improved implementation of MSVC debug hook to only add the hook if DART_TEST_FROM_DART is set in the environment. This is better than always adding the hook and testing the environment from the callback. 2002-12-11 14:15:35 -05:00
Andy Cedilnik 682e2c7b8b Add check so that java projects build without C++ 2002-12-11 12:09:52 -05:00
Brad King d6f98c2a82 ENH: Added cmSystemTools::EnableMSVCDebugHook() to prevent error dialogs when CMake is invoked by Dart. 2002-12-11 11:49:08 -05:00
Brad King e9e3855c65 ENH: Generate code to setup MSVC debug library hook. The test driver program will not display error dialogs if DART_TEST_FROM_DART is set in the environment. 2002-12-11 11:32:43 -05:00
Andy Cedilnik 1c6203b406 Add java support 2002-12-11 10:34:35 -05:00
Andy Cedilnik ee548d8fd8 Add support for comments on custom commands in visual studio 6 2002-12-10 17:52:45 -05:00
Andy Cedilnik b0656a2605 Add support for comments on custom commands in visual studio 7 2002-12-10 17:43:34 -05:00
Andy Cedilnik 3893ee72d2 Add comment support, so that you can see in build process what the custom command does 2002-12-10 16:47:37 -05:00
Andy Cedilnik ab64db6ee8 Allow target with no command 2002-12-10 16:45:19 -05:00
Bill Hoffman a93038c52a ENH: update to new style MakeDepend 2002-12-10 15:55:43 -05:00
Sebastien Barre 0b8dcaddd2 FIX: drag&drop on CMake icon was not working anymore.
- the cmake instance had to be created before accessing the cache (doh)
- the cache iterator was not queried properly (seems the API changed)
2002-12-10 14:51:59 -05:00
Ken Martin 7928df0817 updated for changes in Depend Calcs 2002-12-10 14:10:15 -05:00
Bill Hoffman 65032b816e BUG: do not output empty depends 2002-12-10 13:59:53 -05:00
Andy Cedilnik 238815fe19 Remove warning 2002-12-10 13:36:37 -05:00
Bill Hoffman f03d370ee7 remove cerr 2002-12-10 09:34:08 -05:00
Bill Hoffman 5a676508c4 BUG: fix bug in depends 2002-12-10 09:28:05 -05:00
Andy Cedilnik ad3478cd1d Add to usage 2002-12-09 16:23:12 -05:00
Bill Hoffman fdd4cf7cf4 clean up leaks 2002-12-09 10:07:35 -05:00
Andy Cedilnik c17a0495f9 Initial addition of coverage 2002-12-08 22:36:54 -05:00
Andy Cedilnik e7d1a299fb Fix bug in globbing. Now it actually uses only files or directories that result in globbing not the ones that were is the vector before 2002-12-08 22:35:19 -05:00
Andy Cedilnik 39714fb179 Rename variable to remove warning 2002-12-08 22:34:17 -05:00
Bill Hoffman c1132e4b08 ENH: move version to title bar 2002-12-06 16:03:30 -05:00
Bill Hoffman b0f4a4cb39 ENH: fix IntDir jump and build problem 2002-12-06 15:35:22 -05:00
Bill Hoffman 7987ce88cb ENH: set the CXX and CC environment vars 2002-12-06 11:43:23 -05:00
Bill Hoffman 35fb6f22ba fix for generator picked compilers 2002-12-06 10:02:19 -05:00
Bill Hoffman 19aa18fd26 use correct path type for check_cache file 2002-12-05 16:53:09 -05:00
Bill Hoffman a551bfcafc fix free before use 2002-12-05 16:52:55 -05:00
Bill Hoffman 11e80e2611 ENH: add status bar and help for items 2002-12-05 15:54:23 -05:00
Bill Hoffman e61df962a6 ENH: add status bar and help for items 2002-12-05 15:48:03 -05:00
Bill Hoffman 7985bc118e ENH: add a rule to automatically re-run cmake from the top if the CMakeCache.txt file is changed 2002-12-05 14:56:31 -05:00
Andy Cedilnik 83f596ee9d Better dependencies for bootstrap 2002-12-05 14:24:42 -05:00
Bill Hoffman 96189f79d5 ENH: unify EnableLanguage across all generators 2002-12-05 13:44:11 -05:00
Bill Hoffman d6e6dcc3c0 BUG: make sure OK can not be hit first time around 2002-12-05 11:42:22 -05:00
Ken Martin 6964957b4a use InAll target setting to determine what targets are in the default build 2002-12-05 11:09:41 -05:00
Ken Martin d386b74fea use InAll target setting to determine what targets are in the default build 2002-12-05 08:30:50 -05:00
Brad King d66aa2262a ENH: Added COMPARE modes to STRING command. 2002-12-04 18:44:39 -05:00
Brad King 6676286784 ENH: When a full path to a library cannot be parsed, just add the whole path to the link line. If it isn't a valid path, the linker will complain. 2002-12-04 14:18:10 -05:00
Bill Hoffman 1e8914ada8 BUG: fix get make command problems. 2002-12-04 10:57:22 -05:00
Ken Martin 3a21181941 added CMAKE_BACKWARDS_COMPATIBILITY entry 2002-12-04 10:44:44 -05:00
Ken Martin 1367dff3fa updated comment 2002-12-04 10:25:06 -05:00
Bill Hoffman e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage 2002-12-03 16:19:16 -05:00
Bill Hoffman de316cac05 remove unused files 2002-12-03 15:24:03 -05:00
Ken Martin e802482b27 remove code warrior and fixed GUI isues 2002-12-03 14:32:46 -05:00
Ken Martin 8c75b551e6 remove code warrior and fixed GUI isues 2002-12-03 14:27:28 -05:00
Ken Martin 37aed9f6c5 remove code warrior and fixed GUI isues 2002-12-03 14:09:56 -05:00
Ken Martin cdf3fb6e7b fix purify FMR 2002-12-03 12:59:40 -05:00
Bill Hoffman 3873bd6257 correctly place both LINK_FLAGS and CXX_LINK_FLAGS and C_LINK_FLAGS into all the rules 2002-12-03 10:47:07 -05:00
Ken Martin 0123cb0f2c fix compile warning 2002-12-02 16:35:04 -05:00
Bill Hoffman 952c2f2d64 add project command even if inheriting 2002-12-02 16:15:36 -05:00
Bill Hoffman 332fb964e7 ENH: put the project command at the front of the project 2002-12-02 16:08:13 -05:00
Ken Martin 9e526f797a removed cmMakefile depend from cmSystemTools 2002-12-02 15:59:59 -05:00
Bill Hoffman 82a01df535 ENH: remove forced enable language call because a PROJECT command is now added to each project 2002-12-02 15:43:09 -05:00
Bill Hoffman ddbc9e6292 ENH: remove cerr calls 2002-12-02 15:37:27 -05:00