Commit Graph

2206 Commits

Author SHA1 Message Date
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
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
Franck Bettinger 271e6ec374 added test for QTWrapUI called qtwrapping 2002-09-12 11:38:00 -04:00
Andy Cedilnik cf272c76ad Oops, too fast commit; add missing ; 2002-09-12 11:13:22 -04:00
Andy Cedilnik 6a2174ff9d Add more error checking 2002-09-12 11:12:31 -04:00
Ken Martin 31f714fc2a another signature for Try_Compile 2002-09-12 11:08:35 -04:00
Ken Martin 2aea6d528e added a flag if a cmake is in try compile 2002-09-12 11:08:06 -04:00
Andy Cedilnik 895f8c42c0 Fix mark as advanced. Now it should work properly 2002-09-12 09:56:48 -04:00
Andy Cedilnik 628625af72 Simplify code. Since we access cache entry through the iterator, we do not need the cache manager any more 2002-09-12 09:00:30 -04:00
Andy Cedilnik c478520cab Fix build problem on Sun 2002-09-12 08:56:32 -04:00
Franck Bettinger 3507ef55c6 corrected the generated lists .h in header list and .cxx in sources list 2002-09-11 16:44:52 -04:00
Franck Bettinger dffde0c4fa added generation of the GENERATED_QT_FILES list for make clean 2002-09-11 16:43:35 -04:00
Brad King 1eb3dd19fc BUG: GetCacheValue must check if value is UNINITIALIZED. If so, pretend it doesn't exist. 2002-09-11 16:12:49 -04:00
Andy Cedilnik 9ec133d428 Fix bug in ccmake which made it crash when all cache values were deleted 2002-09-11 15:13:32 -04:00
Andy Cedilnik 2ca71beb2a Fix problem with ccmake crashing on empty caches 2002-09-11 15:04:50 -04:00
Andy Cedilnik c41fe4f179 Fix MFC GUI 2002-09-11 14:38:45 -04:00
Andy Cedilnik 62d654abae Fix find and remove check for uninitialized entries 2002-09-11 14:38:29 -04:00
Andy Cedilnik b2f845feee Function strcasecmp is not portable 2002-09-11 14:08:39 -04:00
Andy Cedilnik bef93dc5c1 Couple of changes: cache variables now have a map of properties. ADVANCED and HELPSTRING are now properties of cache variable, IsAdvanced is gone, so is GetCacheEntry, since cache entries are now all private. To access them, you use the iterator. -ADVANCED cache entries are gone and are replaced by the property of cache variables. The cache file still looks the same, but the -ADVANCED cache entries are created when writing file. MarkAsAdvanced and VariableRequires are fixed. So are curses gui and wizard 2002-09-11 14:05:45 -04:00
Ken Martin 19323b6bac minor fix in try compile code 2002-09-11 12:52:11 -04:00
Brad King b9db890ebc ENH: Pointer-to-function to pointer-to-data casts are not even allowed in strict C. Re-implemented this conversion in pure C++ using a casting trick with an extra level of indirection. 2002-09-11 09:54:03 -04:00
Brad King 994e300914 ERR: Removed C++-style comments, used C-style instead. 2002-09-11 08:52:31 -04:00
Brad King d9326ed78d ERR: Added missing include of stdio.h for sprintf. 2002-09-10 17:24:25 -04:00
Ken Martin 5608a9a129 updated signature 2002-09-10 16:52:56 -04:00
Ken Martin bea21587cf updated makefile moved commands into cmake and fixed try compile 2002-09-10 16:52:39 -04:00
Ken Martin 74e13ad2fc moved dump docs into cmake 2002-09-10 16:51:59 -04:00
Ken Martin 9149cdd078 moved commands into cmake 2002-09-10 16:51:29 -04:00
Ken Martin 38e412626b modified TryCompile 2002-09-10 16:49:40 -04:00
Brad King 820088cefc ERR: Cast from pointer-to-data to pointer-to-function is not allowed in C++. The cast needed by cmDynamicLoader::GetSymbolAddress is now hidden in a C file. 2002-09-10 15:46:49 -04:00
Brad King de48dbbf7c ERR: Fixes for comeau compiler. NULL is a pointer of type void*, and cannot be compared directly with other pointer types. We use 0 instead. Also changed putenv to setenv for comeau on linux. 2002-09-10 15:40:41 -04:00
Brad King 14f0211858 ENH: Added definition of _BSD_SOURCE to enable proper use of POSIX functions on comeau in linux. 2002-09-10 15:40:11 -04:00
Brad King ce65c54d7a ERR: Fixes for comeau compiler. NULL is a pointer of type void*, and cannot be compared directly with other pointer types. We use 0 instead. 2002-09-10 15:39:18 -04:00
Brad King 807b4ac47f ERR: Fix for borland on linux. We cannot directly compare the st_dev and st_ino members of struct stat. Use memcmp instead. 2002-09-10 15:38:26 -04:00
Brad King 1bad75e8a2 ERR: Removed stray semi-colon. 2002-09-10 15:37:52 -04:00
Brad King eb1ff5f968 ERR: Fixes for comeau compiler. NULL is a pointer of type void*, and cannot be compared directly with other pointer types. We use 0 instead. 2002-09-10 15:37:28 -04:00
Brad King 929a2b18f6 ERR: Fix for borland on linux. 2002-09-10 15:36:11 -04:00
Ken Martin 3c3ea267b8 removed extra ENDIF 2002-09-10 12:49:09 -04:00
Ken Martin d7a1063b20 better error checking on If statements 2002-09-10 10:16:50 -04:00
Brad King e500dd4b77 ERR: Removed accidental commit. 2002-09-10 09:51:14 -04:00
Brad King 722f923a9e BUG: Missing AC_SUBST commands added. 2002-09-10 09:50:39 -04:00
Ken Martin 3abb9e240d compiler warnings 2002-09-08 10:17:03 -04:00
Ken Martin f229c1c46e compiler warnings 2002-09-07 21:26:08 -04:00
Ken Martin b7455e404f compiler warning 2002-09-07 21:22:03 -04:00
Ken Martin 386c19ff6a fix for borland compilers 2002-09-07 21:18:09 -04:00
Brad King a4eebcb5b1 ERR: Fix for borland in generated code. vtkCommand is ambiguously both a function and a class. 2002-09-06 18:05:06 -04:00
Ken Martin 41628d2602 updated to fix the long depend line issue on Borland 2002-09-06 16:30:24 -04:00
Ken Martin 25ff4552b3 new arch 2002-09-06 13:06:23 -04:00
Ken Martin 2c7e9b3b59 new architecture 2002-09-06 13:00:12 -04:00
Bill Hoffman 27bc5789b9 ENH: use :: rule and not a long line extension 2002-09-06 10:47:50 -04:00
Ken Martin 709517bcf0 minor fix 2002-09-06 09:24:30 -04:00
Ken Martin 50a1f8a5e4 minor fixes 2002-09-06 08:33:21 -04:00
Ken Martin 12054916d4 made destructor virtual 2002-09-05 09:04:55 -04:00
Ken Martin 7e0655f290 removed some couts 2002-09-05 08:22:47 -04:00
Ken Martin 7f76762c07 made method public 2002-09-04 15:46:25 -04:00
Ken Martin ae34a490bb fixes 2002-09-04 15:28:11 -04:00
Ken Martin 5b0611d709 updates 2002-09-04 15:24:49 -04:00
Ken Martin 49aebe6c99 new arch 2002-09-04 15:23:56 -04:00
Ken Martin d28e483f4e first cut a new arch 2002-09-04 15:22:11 -04:00
Bill Hoffman 1fc3bb4377 BUG: use windows paths for utility depends 2002-09-03 10:41:58 -04:00
Bill Hoffman 231c9dad5a BUG: bug for more than one custom commands 2002-09-03 10:41:04 -04:00
Ian Scott 95a506e6de FLTK_FLUID_EXE -> FLTK_FLUID_EXECUTABLE
because Module files are moving to consistent scheme
2002-09-02 17:29:52 -04:00
Ian Scott 63d64d5780 Define a single expected format for the values defined in every FindXXX.cmake file.
Upgrade all the QT functionality to use the new FindXXX.cmake format
Add a module for AVIFile.
2002-09-02 07:03:43 -04:00
Ken Martin a888ba53fa in progress 2002-08-30 16:01:48 -04:00
Ken Martin 3ffc4b2ee1 in progress checkin 2002-08-30 16:00:35 -04:00
Ken Martin b64c6bba11 extern C fixes 2002-08-29 09:45:34 -04:00
Ken Martin e8d0e8088f some changes in cachemanager and singletons 2002-08-28 16:35:54 -04:00
Ken Martin 7ebbc4399c no more singletons 2002-08-28 16:34:02 -04:00
Ken Martin d0be2896d7 changed cache manager and registered generators to no longer be singletons 2002-08-28 14:51:10 -04:00