Commit Graph

2028 Commits

Author SHA1 Message Date
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
Bill Hoffman 27110975c2 ENH: add PROJECT command if there is not one 2002-12-02 15:30:59 -05:00
Ken Martin 5d2f83dad5 minor fix 2002-12-02 15:03:44 -05:00
Bill Hoffman 16db85a651 BUG: add a space around the compile flags 2002-12-02 13:18:38 -05:00
Bill Hoffman 3851ac2416 BUG: fix compile flags for a single file 2002-12-02 10:33:35 -05:00
Andy Cedilnik 43a4436551 Fix problem on unix with space 2002-11-29 18:56:22 -05:00
Andy Cedilnik a4b04375d2 When cd-jing into directory, if directory has space, it should put quotes around. I guess we could just put quotes around all the time 2002-11-29 16:35:43 -05:00
Andy Cedilnik a7411d6ceb Add objective C++ file in the list of C++ files. This may be wrong, but it will fix problems on Mac for now 2002-11-27 07:41:57 -05:00
Yves Starreveld 9a9f700140 Add ObjC++ test for OSX 2002-11-26 19:02:56 -05:00
Andy Cedilnik cab011b7ec Remove warning 2002-11-26 09:37:05 -05:00
Bill Hoffman 3c6d30e4ab fix for paths with spaces and borland 2002-11-22 16:59:21 -05:00
Andy Cedilnik be986c6cae Revert back to 1.5, since it is fixed in ConvertToOutputPath and this breaks Windows 98 2002-11-22 15:44:10 -05:00
Andy Cedilnik 934d7d3dd6 Rename local variable 2002-11-22 09:45:50 -05:00
Bill Hoffman 2a48ce12b1 add support for CMAKE_C_FLAGS and handle quotes in CMAKE_CXX_FLAGS 2002-11-21 23:54:34 -05:00
Bill Hoffman fc68dd61c3 fix for c flags 2002-11-21 16:11:44 -05:00
Bill Hoffman ddf6808956 fix flag setting 2002-11-21 16:03:59 -05:00
Bill Hoffman 145390fcc9 fix flag setting 2002-11-21 16:03:07 -05:00
Bill Hoffman a8a087b099 move compile defs to cxx and c flags 2002-11-21 15:15:49 -05:00
Bill Hoffman c544cb4307 clean up entire temp directory 2002-11-21 14:59:41 -05:00
Bill Hoffman a7098d1433 move ansi cxx flags stuff out of try compile and into cmake files 2002-11-21 14:11:53 -05:00
Bill Hoffman 02ef2fb568 fix network paths with spaces 2002-11-21 13:37:32 -05:00
Andy Cedilnik b8a1b1e9e7 Fix for network paths with space 2002-11-21 12:26:54 -05:00
Andy Cedilnik 146a3de46d Fix for network paths 2002-11-21 12:26:31 -05:00
Brad King a7da3d4eff ERR: Fixed string literal to char* warnings. 2002-11-21 10:03:36 -05:00
Bill Hoffman e9687d931a fix for create shared library 2002-11-21 08:45:45 -05:00
Bill Hoffman b123c07ecf rename foo variables to better names 2002-11-20 18:18:24 -05:00
Brad King 7ef6173664 ENH: Added READ_WITH_PREFIX option to LOAD_CACHE command. This allows reading of cache values from another cache without actually creating local copies of the cache entires. The values are stored as prefixed local makefile variables. 2002-11-20 18:00:02 -05:00
Brad King c96c3c382f BUG: Attempt to fix CopyFile problem using flush before check for success. 2002-11-20 12:58:29 -05:00
Brad King 6435f608b9 ERR: Fixed signed/unsigned warning. 2002-11-20 09:06:38 -05:00
Brad King f87d7039e2 ERR: Fixed unused parameter warning. 2002-11-20 09:06:23 -05:00
Bill Hoffman 5a75e03037 allow flags to be in the CC and CXX environment variables 2002-11-19 18:17:17 -05:00
Amitha Perera 939035ad91 BUG: the dependency analysis would incorrectly alphabetically re-order the
link lines, which affects external libraries pulled up from deep within
the dependency tree. Fixed by preserving order everywhere.
2002-11-19 18:01:05 -05:00
Bill Hoffman 76fca308d3 ENH: add some better output when copy file fails 2002-11-19 14:40:47 -05:00
Bill Hoffman fd30c82a19 fix some warnings 2002-11-19 14:40:23 -05:00
Andy Cedilnik ae3b1f3e70 Add / after directory name when doing tab completion 2002-11-19 13:19:40 -05:00
Andy Cedilnik 1d39833446 Add progress to ccmake 2002-11-19 13:09:16 -05:00
Bill Hoffman 1a2a600a55 fix warning 2002-11-19 09:12:23 -05:00
Ken Martin d5463f404c fix in warning 2002-11-19 09:01:37 -05:00
Andy Cedilnik 65a814c989 Initial add of progress 2002-11-18 16:29:14 -05:00
Ken Martin 86c32e96db fix some compiler warnings hopefully 2002-11-17 17:31:12 -05:00
Bill Hoffman dad83f4d3c BUG: fix for borland run time dll 2002-11-15 17:45:03 -05:00
Ken Martin 523b7ffa3b fixed bad source directory bug 2002-11-15 13:17:43 -05:00
Ken Martin 78b8d0af6c fixed compiler warning 2002-11-15 12:54:04 -05:00
Andy Cedilnik a96940d7b2 Oops, std namespace 2002-11-15 07:42:00 -05:00
Andy Cedilnik c91ca248f6 Add progress reporting 2002-11-14 18:18:49 -05:00
Andy Cedilnik 9f6e61361c Add Progress support 2002-11-14 17:12:38 -05:00
Bill Hoffman 610b04713c *** empty log message *** 2002-11-14 16:29:14 -05:00
Andy Cedilnik 4b0c9ee2be Fix compile flags on c files in static liobraries on windows 2002-11-14 14:06:54 -05:00
Andy Cedilnik 115ea25dab BUG: fix flags for c compiler on windows 2002-11-14 11:33:25 -05:00
Ken Martin f67643112c added another func 2002-11-14 11:16:58 -05:00
Ken Martin 1d74cb3e35 added another func 2002-11-14 11:03:08 -05:00
Berk Geveci b7f96d0e75 Added missing space. 2002-11-14 09:38:28 -05:00
Andy Cedilnik e9fa0d3cbb Fix building on NMake. Use short paths 2002-11-14 09:37:58 -05:00
Bill Hoffman a79b16a67f reorder tWR so that it does not crash with shared 2002-11-13 23:37:20 -05:00
Bill Hoffman b7b32566d2 add support for borland run time flag for shared builds 2002-11-13 20:14:05 -05:00
Bill Hoffman c1c3149d16 BUG: fix for build out of dir for windows 2002-11-13 18:27:29 -05:00
Ken Martin 20b7e6b222 ENH: space fixes and add a status option to message command 2002-11-13 15:59:40 -05:00
Bill Hoffman 2905d39689 ENH: check to make sure cmake matches the cmake used to generate the cache 2002-11-13 15:20:20 -05:00
Bill Hoffman 7b54b22ccd ENH: force a global generate if the cache version does not match the running cmake 2002-11-13 14:31:44 -05:00
Berk Geveci 4a9e790717 BUG: add missing depend rules for hp make 2002-11-13 13:19:52 -05:00