Commit Graph

2219 Commits

Author SHA1 Message Date
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
Bill Hoffman 83d273334a BUG: fix path problems 2002-11-12 16:58:38 -05:00
Bill Hoffman e020a6d171 ENH: add .def file support 2002-11-12 15:24:31 -05:00
Bill Hoffman cb42655060 BUG: change to new variables 2002-11-12 14:48:38 -05:00
Bill Hoffman 359ca21903 BUG: fix reg expression 2002-11-12 13:06:45 -05:00
Brad King c8ced2aca6 *** empty log message *** 2002-11-12 12:47:44 -05:00
Bill Hoffman 36db45082e ENH: fix up several problems with new stuff 2002-11-11 18:10:30 -05:00
Andy Cedilnik b7701cfa1a Fix regular expressions to be able to handle windows libraries 2002-11-11 13:15:52 -05:00
Bill Hoffman d1051bb575 clean up flags with _init flags 2002-11-11 12:31:46 -05:00
Brad King c74ce9b218 BUG: A variable is not in the cache if it is UNINITIALIZED. 2002-11-08 18:05:42 -05:00
Brad King 06b640fe48 ERR: Removed use of NULL. 2002-11-08 18:05:22 -05:00
Brad King a747e47cb0 ERR: Added missing include. 2002-11-08 18:05:06 -05:00
Bill Hoffman f5d95fb078 Complete rework of makefile generators expect trouble 2002-11-08 15:46:08 -05:00
Brad King c72462ffb1 ERR: Fixed signed/unsigned warnings. 2002-11-07 09:22:30 -05:00
Andy Cedilnik 202d2ea69a Revert 2002-11-07 09:15:36 -05:00
Andy Cedilnik 7274abe460 Revert back 2002-11-07 09:04:20 -05:00
Andy Cedilnik 5c6355ecbd Add readme for mac 2002-11-07 09:01:19 -05:00
Brad King 6ab16695d0 BUG: Fixed STRING(REGEX REPLACE ...) and added better test. 2002-11-06 18:05:39 -05:00
Brad King 42c464c05e ENH: Added STRING command. 2002-11-06 17:35:27 -05:00
Brad King 5417d02a61 ENH: compile method now returns whether compilation succeeded. 2002-11-06 16:59:09 -05:00
Andy Cedilnik 0930c14b04 Use CMake icon on Mac 2002-11-06 16:05:14 -05:00
Andy Cedilnik b99b9e5eac Add Mac icon 2002-11-06 14:56:54 -05:00
Andy Cedilnik c6fc225bfc Remove background and make bigger 2002-11-06 14:53:14 -05:00
Andy Cedilnik 00747ad827 Bigger icon 2002-11-06 14:44:57 -05:00
Andy Cedilnik 2a8c0bdfc3 Start adding CMake icon 2002-11-06 14:33:59 -05:00
Andy Cedilnik d7ee016535 Move the hi-res time to system tools 2002-11-06 13:06:49 -05:00
Andy Cedilnik 3d4a2fdc52 In certain cases, try to guess the source directory, so that you can run cmake or ccmake without specifying source dir 2002-11-06 12:04:24 -05:00
Andy Cedilnik 0b7d51d79f Remove warning 2002-11-06 11:37:00 -05:00
Sebastien Barre b8548c1db3 FIX: a / was appended without checking if there wasn't one already. 2002-11-06 11:20:12 -05:00
Andy Cedilnik 5a0641ac3b Cleanup 2002-11-05 13:35:02 -05:00
Andy Cedilnik 17b0a74046 More mac fixes 2002-11-05 09:38:34 -05:00
Andy Cedilnik f0db119873 Reparent file path widget, add tab completion support to path anf file path widget 2002-11-05 08:52:31 -05:00
Andy Cedilnik f895a94995 Add a simple globbing of files and directories 2002-11-05 08:51:40 -05:00
Brad King f33fda6720 ENH: Added generation of --gccxml-compiler argument to GCC-XML for msvc6, msvc7, and nmake makefiles generators. 2002-11-04 19:45:19 -05:00
Andy Cedilnik 12215e56f3 Start working on adding tab support 2002-11-04 17:37:21 -05:00
Andy Cedilnik 47769671fe Fix windows process execution so that it pops up the windows 2002-11-04 16:59:18 -05:00
Andy Cedilnik f0facf6584 Get the Mac resources done 2002-11-04 15:21:15 -05:00
Andy Cedilnik cf02c156d2 Minor fixes 2002-11-04 15:01:55 -05:00
Andy Cedilnik dc919e841a Make directory if it does not exist yet 2002-11-04 15:01:40 -05:00
Andy Cedilnik c45fc1e4b3 Attempt to automate apple gui generation 2002-11-04 14:50:32 -05:00
Andy Cedilnik a9df6fdd8e Try to fix generator problems on Mac 2002-11-04 13:09:51 -05:00
Bill Hoffman 565afcbdb9 ENH: better resize 2002-11-01 23:00:44 -05:00
Bill Hoffman 2ccc30d22a make qt stuff advanced 2002-11-01 22:57:24 -05:00
Andy Cedilnik 2d970c26f0 Add test for X11 2002-10-29 15:46:38 -05:00
Andy Cedilnik 91bd207812 Add flag to WRITE_FILE to append 2002-10-29 13:32:37 -05:00
Brad King 61a9bddb4c ENH: Added generation of --gccxml-cxxflags option to complement --gccxml-compiler. 2002-10-28 10:29:28 -05:00
Bill Hoffman 8ff7c13227 BUG: fix stack limit size on mac OSX 2002-10-24 15:39:25 -04:00
Andy Cedilnik e3e9fb633a Subdirs reports an error if the subdirectory does not exists 2002-10-24 10:58:25 -04:00
Andy Cedilnik 384fda81a9 Try to remove some warnings 2002-10-24 10:23:11 -04:00
Brad King 1f6a3c67b1 ENH: Added reference to Copyright.txt. Removed old reference to ITK copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs. 2002-10-23 18:03:27 -04:00
Bill Hoffman 48b74fd034 ENH: if output variable turn verbose off 2002-10-23 16:57:21 -04:00
Brad King f6a70573b0 ERR: Another attempt to remove warnings from missing prototypes. 2002-10-23 16:43:34 -04:00
Bill Hoffman 0e8052b101 BUG: make sure win32 exes are win32 2002-10-22 10:36:35 -04:00
Andy Cedilnik c1c74f925c When in verbose mode print test command 2002-10-18 15:51:12 -04:00
Andy Cedilnik 01bd3b7ab1 Improve comment 2002-10-18 12:08:10 -04:00
Andy Cedilnik c3007233ec Rename variables to remove warnings 2002-10-17 10:51:23 -04:00
Brad King a465ee3c6b ENH: Another attempt to fix OSF warnings. Also removed TABS. 2002-10-16 10:53:12 -04:00
Andy Cedilnik eda89848be Remove unused variable 2002-10-16 08:49:07 -04:00
Ken Martin 876645af51 better warning message 2002-10-15 14:33:11 -04:00
Ken Martin e4e920ef6c better warning message 2002-10-15 11:45:04 -04:00
Andy Cedilnik f70a759446 Remove std::hex as it does not seems to work on SGI, attempt to fix ftime problem on borland 2002-10-15 07:20:02 -04:00
Andy Cedilnik 5a1fccd34d Fix namespace, typo, and make ftime work on windows 2002-10-14 18:33:10 -04:00
Andy Cedilnik f4859295eb Even more cleanups, fix time on certain platforms such as windows, cygwin, and linux. Hopefully we can add entries for other platforms until try_compile works. Also escape certain characters for xml. 2002-10-14 15:11:21 -04:00
Andy Cedilnik 066cea228b More cleanups, fix prexontext and log number 2002-10-14 09:30:10 -04:00
Andy Cedilnik 461a3d2089 Add LastBuild.log file, fix some minor problems in output, modify output a bit... 2002-10-13 23:07:54 -04:00
Ken Martin d8167fb7fd compiler warning 2002-10-11 13:17:52 -04:00
Brad King a8d038dbd0 ENH: Added Split method to cmSystemTools to split a string into lines on its newlines. 2002-10-11 10:16:01 -04:00
Brad King 98ae74ce74 ERR: istrstream and istringstream need to be pulled into namespace std on the SGI. 2002-10-11 08:36:20 -04:00
Andy Cedilnik 5b9feb6fdc Fix network build 2002-10-10 11:08:52 -04:00
Brad King 281f7519e1 ENH: Renamed cmStringStream to cmOStringStream and added cmIStringStream. Removed cmInputStringStream. 2002-10-10 10:43:59 -04:00
Andy Cedilnik 65cc289047 Remove compile error and remove some warnings 2002-10-10 09:41:58 -04:00
Ken Martin 1ca67f200a fixed some compiler warnings 2002-10-10 08:25:11 -04:00
Andy Cedilnik 1dcfcc809e Remove warning 2002-10-10 08:23:29 -04:00
Andy Cedilnik f6a1218e10 Remove warning 2002-10-10 08:11:37 -04:00
Andy Cedilnik 089429fee9 Try to use platform independent input string stream 2002-10-10 08:11:05 -04:00
Ken Martin cceb68f2a0 Remove memory leak caused by cmDynamicLoader not being deleted properly 2002-10-09 17:47:24 -04:00
Andy Cedilnik b431046277 Try to add enter support 2002-10-09 16:26:02 -04:00
Ken Martin f990777a60 added FORCE option 2002-10-09 15:48:59 -04:00
Sebastien Barre cb5763a410 ENH: update the progress when generating is "done". 2002-10-09 15:24:20 -04:00
Ken Martin 6ee07d2c10 changed name 2002-10-09 13:49:56 -04:00
Ken Martin e55a05a6f6 added Code Warrior dev 2002-10-09 13:37:27 -04:00
Ken Martin 4e3d4e712c added build for Code Warrior 2002-10-09 13:32:01 -04:00
Ken Martin 5cef592bb1 some updates 2002-10-09 13:30:54 -04:00
Andy Cedilnik ea87271c4a Reorganization, cleanup and some improvement in dart emulation 2002-10-08 22:54:24 -04:00
Andy Cedilnik 8f63293056 Add parsing of warnings and errors 2002-10-08 22:00:11 -04:00
Andy Cedilnik 350eeeab4e Add configure option and fix potential bug in other targets. Now the run command is actually run with directory, so eventually we should be able to run this from a subdirectory 2002-10-08 20:02:01 -04:00
Ken Martin abf3337888 some mods to the plugin API 2002-10-08 15:55:04 -04:00
Bill Hoffman 8cdb9a316f BUG: get all the output including the last character 2002-10-08 10:53:32 -04:00
Ken Martin 2cf6730def minor fix to allow if with no arguments 2002-10-07 09:16:31 -04:00
Andy Cedilnik d5296aa85a Suppress output of trycompile 2002-10-07 08:23:19 -04:00
Andy Cedilnik fba1ca0b68 Fix update so that it actually updates the source directory, 2002-10-06 21:25:30 -04:00
Andy Cedilnik 51f399ca29 Fix for run command on windows. If you specify command in quotes but not full path, it should still work 2002-10-06 21:24:37 -04:00
Andy Cedilnik 088709e99f Add missing namespace 2002-10-06 20:44:29 -04:00
Andy Cedilnik a8bd7f1ff6 Revert back. Does not seems to work on Windows 2002-10-06 20:44:16 -04:00
Andy Cedilnik da70a950de Add some minimal Dart capability to ctest. For example now you can actually use ctest to build projects, do cvs update on all platforms. This is especially cool for Visual Studio where you do not want to load the whole development environment just to build your project. 2002-10-06 20:36:52 -04:00
Andy Cedilnik 8fd2ec6e91 Check if directory was actually created 2002-10-06 18:56:09 -04:00
Andy Cedilnik 9ed93397fb If you specify header file as source, it should still use C compiler and not CXX. Also fix COnly test so that it make sure that this still works... 2002-10-06 12:12:59 -04:00
Andy Cedilnik 1ba0a05039 Fix borland build. Borland Run command should be static, since it is called with no object... 2002-10-05 10:24:45 -04:00
Andy Cedilnik a518fed4e3 Try to improve source group interface 2002-10-04 18:16:13 -04:00
Andy Cedilnik 77616437d1 Remove tabs 2002-10-04 14:01:22 -04:00
Sebastien Barre 091f53f539 FIX: re-enable the OK button in RunCmake() when everything is done. 2002-10-04 12:56:22 -04:00
Andy Cedilnik f68f7c2550 Fix reading of advanced values from CMakeCache 2002-10-04 12:30:29 -04:00
Ken Martin bdfa41a4a6 updates 2002-10-04 11:42:16 -04:00
Andy Cedilnik 54ac432b27 Add missing argument 2002-10-04 10:47:57 -04:00
Andy Cedilnik 0f3661562c Cleanup RunCOmmand code and move borland one to vtkWin32ProcessExecution, so that it is all in one place... Add timeout option whihc does not work yet, but it should not produce warning any more 2002-10-04 10:38:14 -04:00
Ken Martin 38d1ea9b4c always set PROJECT_SOURCE_DIR etc 2002-10-04 08:59:02 -04:00
Ken Martin d27cd931ae some fixes 2002-10-03 16:40:23 -04:00
Ken Martin 599114fc70 under development 2002-10-03 15:14:32 -04:00
Ken Martin 9f5cf38290 Revert to fix win 9x 2002-10-02 17:46:21 -04:00
Brad King 5ce73bdd14 ENH: Added explicit declarations of some C functions that are hard to get from standard headers in como (www.comeaucomputing.com) strict mode. 2002-10-02 17:31:59 -04:00
Brad King cd8e26f14c BUG: Must return false after an error of incorrect arguments. 2002-10-02 17:23:26 -04:00
Brad King 6c2944b6fe BUG: STRLESS and STRGREATER need to treat non-existent definitions as strings. 2002-10-02 17:22:56 -04:00
Andy Cedilnik f549a2bac8 Cleanup and try to unify with the other code 2002-10-02 17:16:56 -04:00
Andy Cedilnik 4435bb091b Cleanup 2002-10-02 17:14:17 -04:00
Ken Martin 25b5897ffa Remove unnecessary new line 2002-10-02 11:35:29 -04:00
Ken Martin 8cac76825f Fix bug in borland run command 2002-10-02 11:15:07 -04:00
Ken Martin 047acd0c6f Produce only one output 2002-10-02 11:14:19 -04:00
Brad King 3997fdeec3 ENH: Added support to pass the gccxml program location to cable if ITK_GCCXML_EXECUTABLE is set on m_Makefile. 2002-10-01 18:37:08 -04:00
Ken Martin 4045066f01 Fix grouping of arguments on Windows 98 2002-10-01 13:04:48 -04:00
Ken Martin 789cc71855 Fix a bug in generator. This one is good: This bug is only present on Windows 98, but since RunCommand did not work, it never showed on the dashboard... In any case commands in Visual studio 6 should be in windows style slashes 2002-10-01 13:04:19 -04:00
Ken Martin ffe1132407 Put quotes around arguments if they have spaces and no quotes 2002-10-01 13:00:30 -04:00
Andy Cedilnik a2eccb4203 Remove dependency to dynamic loader during bootstrap 2002-10-01 07:28:34 -04:00
Brad King 9d32676b70 ERR: Fixed bad sentence in error message. 2002-09-30 21:34:05 -04:00
Andy Cedilnik 779810f132 Fix bug in chdir; Who did this anyway... 2002-09-30 16:46:19 -04:00
Bill Hoffman a63f7ba43c BUG: fix load command stuff for cygwin and cleanup at exit 2002-09-30 16:25:02 -04:00
Ken Martin 04d8ba688c Add some more comments 2002-09-30 15:05:35 -04:00
Ken Martin a7692d84f0 Cleanups and hopefully now it works on all windows platforms 2002-09-30 15:00:42 -04:00
Ken Martin 6672c295c7 Set comspec substitute the right way 2002-09-30 14:01:51 -04:00
Ken Martin 5b6d899bc6 Set comspec substitute 2002-09-30 14:00:28 -04:00
Ken Martin 67be746027 Add spaces 2002-09-30 13:59:01 -04:00
Andy Cedilnik 9619ee3aa1 Another attempt on Windows 98 2002-09-30 11:41:53 -04:00
Andy Cedilnik ef2af05140 Attempt to unify the code 2002-09-30 11:00:53 -04:00
Andy Cedilnik a38b917162 Fix bug in printing 2002-09-30 10:47:06 -04:00
Andy Cedilnik b7789388d3 Remove warnings and fix potential bug 2002-09-30 07:55:31 -04:00
Andy Cedilnik be6a5696ba Make borland pass all the tests on XP (and 2000?) 2002-09-30 07:09:31 -04:00
Andy Cedilnik d789b13502 Remove debug 2002-09-29 22:10:45 -04:00
Andy Cedilnik aad36568ea It is late and it at least seems to work better than before... 2002-09-29 21:57:48 -04:00
Andy Cedilnik 375c695ba1 Fix for it to compile on "all" windows platforms... 2002-09-29 21:55:10 -04:00
Andy Cedilnik 4fe98d8068 Simplify debugging by resetting error code 2002-09-29 21:48:16 -04:00
Ken Martin dbd13144a3 possible fix for warnings 2002-09-29 14:09:38 -04:00
Ken Martin 595c15c84a compiler warnings 2002-09-29 14:09:16 -04:00
Andy Cedilnik 780a9bbda7 Add two cmake commands -E echo for echoing strings and -E comspec for workaround of bug of windows 9x; add another implementation of run command on windows which should work... 2002-09-27 17:28:15 -04:00
Andy Cedilnik c310600df5 Add class for process execution on Windows 2002-09-27 17:26:37 -04:00
Ken Martin 7ddb408621 removed some includes 2002-09-27 16:24:10 -04:00
Bill Hoffman eb6bba34cd BUG: fix doc string and allow a variable to be promoted from non-cache to cache 2002-09-27 16:19:37 -04:00
Bill Hoffman cc6d56182d remove unused stuff 2002-09-27 16:18:55 -04:00
Ken Martin c751d2ebff added progress 2002-09-26 15:14:20 -04:00
Ken Martin 85896b3460 minor memory fix 2002-09-26 13:52:12 -04:00
Andy Cedilnik 561a3da204 Several changes: COMPILE_DEFINITIONS is now depricated. If you want to specify some, use CMAKE_FLAGS -DCMAKE_DEFINITIONS:STRING=...; same goes for libraries, include path, ... It now detects wether the file is C or C++ and uses the apropriate project command, it also does the right thing when doing try_compile, so it does not execute configure for every single try_compile 2002-09-25 10:07:45 -04:00
Andy Cedilnik 6ff1579ba7 Use file format detection 2002-09-25 09:31:13 -04:00
Andy Cedilnik 6736678ca3 Add detection of file format from extension 2002-09-25 09:30:49 -04:00
Andy Cedilnik c6384c19b4 Remove warnings 2002-09-25 07:47:02 -04:00
Andy Cedilnik 66d04692a0 Attempt to make NMake quiet during TRY_COMPILE 2002-09-25 07:46:45 -04:00
Andy Cedilnik 80f20047af Add verbose flag -V, which makes the output of tests to be displayed; also add help to ctest 2002-09-24 18:34:16 -04:00
Andy Cedilnik b5de000f26 Improve backward compatibility, so that all backward compatibility stuff is in two modules; fix invoking of try_compile; add checking for header files and sizes of types 2002-09-24 17:58:38 -04:00
Andy Cedilnik cabe849c03 Add support for mac dylib 2002-09-24 17:37:47 -04:00
Andy Cedilnik 8d14221f7e Some GUI improvements and fix the way dirty is being set, so that if there are no cache values, dirty is not set 2002-09-24 16:20:44 -04:00
Brad King 94ff97ceed *** empty log message *** 2002-09-24 14:49:34 -04:00
Ken Martin 9878f49dfc fixed memory leak 2002-09-24 13:24:10 -04:00
Ken Martin 72054b95fd always convert to output path 2002-09-24 13:17:39 -04:00
Andy Cedilnik d86d95cf2b Cleanup 2002-09-24 10:30:57 -04:00
Andy Cedilnik e00b56dd57 Add accessor for Flushing cache 2002-09-24 10:24:56 -04:00
Bill Hoffman cc0e0d5660 one rule per line so borland make does not die 2002-09-24 09:51:42 -04:00
Bill Hoffman dd0dc9e6bd handle long commands 2002-09-24 09:50:58 -04:00
Bill Hoffman 94f1e8f5c5 fix for cygwin and nmake that does not define WIN32 2002-09-24 09:24:39 -04:00
Andy Cedilnik 7fb39f7e3b Fix cache for non void* types 2002-09-23 16:57:51 -04:00
Andy Cedilnik 1b4171c5e4 Keep track of libraries so that you can load them as many times as you want... 2002-09-23 16:24:59 -04:00
Andy Cedilnik 576a490daa Cleanup 2002-09-23 15:57:05 -04:00
Andy Cedilnik 32fcc2464f Fix generation of C only modules 2002-09-23 15:54:25 -04:00
Andy Cedilnik 2a21a66b13 Fix extension and suffix for modules on mac 2002-09-23 15:53:40 -04:00
Ken Martin bafeb69742 cleaned up API 2002-09-23 14:57:24 -04:00
Andy Cedilnik 565adb8115 Fix HP build 2002-09-23 14:04:02 -04:00
Andy Cedilnik 48fe81acdd Try to remove some warnings 2002-09-23 13:32:14 -04:00
Andy Cedilnik 5843ae455e Fix loading of module for borland 2002-09-23 13:11:39 -04:00
Andy Cedilnik 6a096be924 Try to fix borland and nmake try compile 2002-09-23 12:23:06 -04:00
Andy Cedilnik e6406f681d Abstract cleaning of files and add code that deletes files from Debug subdirectory 2002-09-23 11:06:01 -04:00
Andy Cedilnik 9cf39703dc Remove debug stuff 2002-09-23 11:05:25 -04:00
Andy Cedilnik 242347c52e Try to fix quoted definitions 2002-09-23 09:58:34 -04:00
Ken Martin 4852c21b6f hopefull another fix to if statements 2002-09-23 09:41:01 -04:00
Andy Cedilnik 38baabc665 Attempt to fix Visual studio 6 comiling 2002-09-23 09:07:41 -04:00
Ken Martin cb4299e9fb defines cannot have quotes in them 2002-09-22 10:08:28 -04:00
Ken Martin c9d16defb0 some try compile fixes 2002-09-22 09:53:26 -04:00
Ken Martin f7ec3c2a76 compiler warning 2002-09-22 07:53:55 -04:00
Andy Cedilnik a77f9f0715 Fix namespace problem 2002-09-21 07:29:39 -04:00
Andy Cedilnik a76773f48f Add missing include 2002-09-20 15:45:33 -04:00
Andy Cedilnik 28159ebd71 Fix tests for new trycompile and tryrun 2002-09-20 15:01:27 -04:00
Andy Cedilnik 202600f95a Add GetLocal on cmMakefile and on local builds do not perform tests 2002-09-20 15:01:00 -04:00
Andy Cedilnik 157e2b4ac3 Add option of TRY_COMPILE to store the output of compilation so that if the output fails you can display it or store it in the file 2002-09-20 13:15:56 -04:00
Andy Cedilnik 92714311c9 Add WRITE_FILE command, which writes string to a file 2002-09-20 13:14:47 -04:00
Andy Cedilnik b380a37418 Fix includes 2002-09-20 09:53:13 -04:00
Ken Martin a7589c3a32 compiler warnings 2002-09-20 08:09:03 -04:00
Andy Cedilnik 0415b0db75 Add test for gui 2002-09-19 17:35:59 -04:00
Andy Cedilnik 3001a9ae80 Fix arguments 2002-09-19 17:35:27 -04:00
Andy Cedilnik ceb63bedaf Allow argument Q 2002-09-19 17:35:06 -04:00
Andy Cedilnik b7fa92c9e1 Add support for exiting after loading 2002-09-19 17:23:59 -04:00
Andy Cedilnik 8f3d8e7470 Add option -Q for existing after loading 2002-09-19 17:20:40 -04:00
Andy Cedilnik c91629109b Remove unnecessary disabling of output 2002-09-19 16:09:57 -04:00
Andy Cedilnik 5d0716439f Fix tryrun to work on Linux 2002-09-19 16:07:23 -04:00
Andy Cedilnik 4027cfbb2d Supress standard error when running command 2002-09-19 14:40:03 -04:00
Andy Cedilnik b17cfc7584 Fix try compile with second signature, remove cmake lists from cache so that multiple tests work 2002-09-19 14:36:46 -04:00
Andy Cedilnik dd6122c6f5 Add a way to check if run command output is disabled 2002-09-19 14:35:53 -04:00
Andy Cedilnik f5c6dfcb1c When doing try compile disable output 2002-09-19 14:35:20 -04:00
Andy Cedilnik 0301b8366b Add a way to remove files from cache 2002-09-19 14:34:15 -04:00
Andy Cedilnik 7dbff46638 Fix compile problem 2002-09-19 11:06:22 -04:00
Ken Martin 8f74db57a5 minor cleanup 2002-09-19 11:01:21 -04:00
Andy Cedilnik 5eeb0793ae Fix all defines on Windows 2002-09-19 11:00:48 -04:00
Andy Cedilnik 1cce2ed6e7 Fix executable to be WIN32 on windows 2002-09-19 10:56:24 -04:00
Ken Martin d4f5545007 updated to try compile 2002-09-19 09:49:14 -04:00
Ken Martin 3eaf054d6a new command 2002-09-19 09:48:39 -04:00
Andy Cedilnik e756d20811 Remove unnecessary message 2002-09-19 09:48:31 -04:00