Commit Graph

1772 Commits

Author SHA1 Message Date
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
Andy Cedilnik 192dfbaaab Add option for building wxWindows GUI for CMake 2002-09-19 09:47:49 -04:00
Andy Cedilnik f1d40eef93 Initial import of wxWindows dialog 2002-09-19 09:47:18 -04:00
Andy Cedilnik b13e120d92 Fix callback for the new API 2002-09-18 14:30:54 -04:00
Andy Cedilnik 6769e84472 Improve message handler to include client data. 2002-09-18 14:18:43 -04:00
Ken Martin 610ff11cf3 now Try compile can include CMAKE_FLAGS 2002-09-18 11:37:40 -04:00
Ken Martin f835a83b8d better error reporting 2002-09-18 11:36:58 -04:00
Brad King bd7ffbc258 ENH: If SET(VAR) is called with no other arguments, remove the definition of VAR. 2002-09-18 10:40:07 -04:00
Brad King aa29bbc326 ENH: Added RemoveDefinition method. 2002-09-18 10:39:41 -04:00
Sebastien Barre 24e0518122 FIX: better support for the Tcl/Tk 8.4 pre-release 2002-09-18 09:53:11 -04:00
Andy Cedilnik 56b69e5fcc Remove unnecessary variable 2002-09-18 08:13:53 -04:00
Brad King d631e114f9 BUG: Generated CMakeLists.txt file needs to take CMAKE_ANSI_CXXFLAGS into account. 2002-09-17 15:41:21 -04:00
Brad King 67e13e9798 ERR: Fixed typo: INSTALL_PROGRAMS -> INSTALL_PROGRAM. 2002-09-17 14:40:22 -04:00
Ken Martin 4267a1b4c1 some cmake api changees 2002-09-17 14:20:07 -04:00
Andy Cedilnik 8491551d6a Strip the string that user answers 2002-09-17 14:19:50 -04:00
Sebastien Barre a4b076811c ENH: add support for Tcl/Tk 8.4.0 2002-09-17 14:18:11 -04:00
Ken Martin 973cf550cb updated comments 2002-09-17 14:12:03 -04:00
Brad King 5376acd6a9 BUG: INSTALL_DATA should be INSTALL_PROGRAMS for program install targets. 2002-09-17 14:09:39 -04:00
Ken Martin 6844dfd7ca some cmake api changees 2002-09-17 14:04:33 -04:00
Ken Martin 2a68d21e85 cleaned up some of the cmake interface 2002-09-17 13:59:58 -04:00
Ken Martin e68e917d9f new test 2002-09-17 13:59:13 -04:00
Andy Cedilnik d1fbb556eb Replace getline with fgets since getline does not seems to work properly on Mac OSX 2002-09-17 13:48:30 -04:00
Andy Cedilnik 577cf91945 Fix problems with advanced not being marked. 2002-09-17 11:48:52 -04:00
Brad King e5e0132203 ENH: Improved implementation of INSTALL_FILES and INSTALL_PROGRAMS commands. Source paths can now be relative or full paths, and don't need to be in the same directory as the CMakeLists.txt file. 2002-09-17 10:56:18 -04:00
Ken Martin 0a2f6c876c added destructor to loaded commands 2002-09-17 10:38:00 -04:00
Ken Martin 83f61619a3 slight change in signature 2002-09-17 09:16:53 -04:00
Ken Martin 4dec2a174a remove unused variables 2002-09-15 09:54:08 -04:00
Ken Martin 2d9fbbd94c updated to use ConfigureFinalPass 2002-09-15 09:42:29 -04:00
Ken Martin d2c4432bbe changed handling of FinalPass 2002-09-15 08:54:16 -04:00
Ken Martin 44e4c7cd77 changed when final pass is done 2002-09-15 08:53:02 -04:00
Ken Martin a4ca3229ff renamed GenerateMakefile to ConfigureFinalPass 2002-09-15 08:52:24 -04:00
Ken Martin b67f7451fd removed extra Generate that was screwing things up 2002-09-14 10:59:06 -04:00
Ken Martin 021a1c3071 fixed warning 2002-09-14 08:47:56 -04:00
Ken Martin 99a1749712 made less verbose 2002-09-13 19:23:38 -04:00
Brad King 0815091e26 ENH: Added FileIsFullPath test method. 2002-09-13 16:38:35 -04:00
Ken Martin ee592e9b98 some fixes for try compile 2002-09-13 13:48:14 -04:00
Ken Martin 9e64895812 minor fix inEnableLanguages 2002-09-13 11:05:49 -04:00
Ken Martin 7e6f9fff2b fix to the cleanup code 2002-09-13 11:02:15 -04:00
Ken Martin b3b0eeba05 fix to the cleanup code 2002-09-13 11:01:29 -04:00
Ken Martin 6132184cc3 better trycompile and enable langiages 2002-09-13 10:42:50 -04:00
Ken Martin c1da4c9570 better try compile 2002-09-13 10:41:20 -04:00
Ken Martin c1b92d2ea0 compiler warning 2002-09-13 08:18:13 -04:00
Ken Martin 6c3aaa42b7 duh 2002-09-13 08:12:23 -04:00
Ken Martin c6c579f35a uninitialized var 2002-09-12 14:37:27 -04:00
Andy Cedilnik e88e3d3cb5 Remove unnecessary include 2002-09-12 13:55:42 -04:00
Andy Cedilnik 4c21ba27c9 Remove unnecessary include 2002-09-12 13:42:31 -04:00
Franck Bettinger 5e6b29717e added include of FindQT.cmake 2002-09-12 13:20:05 -04:00
Ken Martin c8c89b653f new arch 2002-09-12 11:49:10 -04:00