Commit Graph

1778 Commits

Author SHA1 Message Date
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
Ken Martin 4855fe5c10 an early checking not complete 2002-08-28 14:49:25 -04:00
Bill Hoffman 6046060714 ENH: add include paths to rc program for resource generation 2002-08-28 14:33:12 -04:00
Andy Cedilnik 5897d078c6 Fix bug in trying to set stding with null 2002-08-27 14:45:25 -04:00
Bill Hoffman 37b73a908a ENH: fix warnings 2002-08-27 09:43:54 -04:00
Ken Martin 716eb19819 fixed bootstrap build to not use LoadCOmmandCOmmand 2002-08-27 08:36:03 -04:00
Ken Martin b8be208408 updated to match the SET 2002-08-26 15:22:31 -04:00
Ken Martin d99454cba4 now uses stubs 2002-08-26 10:52:04 -04:00
Ken Martin c728b6c963 fixed bug maybe 2002-08-26 08:53:16 -04:00
Ken Martin 499bd45d4d removed shared lib support 2002-08-23 16:13:34 -04:00
Ken Martin d7f1a49006 memory issue 2002-08-23 16:12:08 -04:00
Ken Martin 13d4f89dfe compiler warnings 2002-08-23 15:13:49 -04:00
Bill Hoffman 3f36d23421 BUG: add explicit clean up of the cachemanager at exit of programs, so dll destruction is not a problem. 2002-08-23 13:46:32 -04:00
Bill Hoffman 0fdfab32d1 BUG: borland needs to have BUILD_SHARED_LIBS on for executables to work with c++ 2002-08-22 16:16:05 -04:00
Ken Martin 2fc458ecce minor warning fix 2002-08-22 14:41:38 -04:00
Ken Martin 0401303263 fixed some warnings 2002-08-22 09:17:02 -04:00
Ken Martin 470e057e55 fixed some warnings 2002-08-22 09:11:18 -04:00
Ken Martin 4a398a9ca6 fixed nested comment 2002-08-22 09:10:24 -04:00
Ken Martin 184e7053d3 added lib 2002-08-22 08:25:58 -04:00
Ken Martin 2353f5e787 minor fixes for new cache api 2002-08-21 15:37:49 -04:00
Ken Martin 9f870d3efb minor bug 2002-08-21 13:16:07 -04:00
Ken Martin 96f8d18f8d support for dll 2002-08-21 12:02:32 -04:00
Ken Martin 6158aa7fd6 dll support 2002-08-21 12:01:55 -04:00
Ken Martin c0b293f21b made into dll 2002-08-21 12:00:17 -04:00
Ken Martin 15b2d2f2a6 support for plugins 2002-08-21 11:59:52 -04:00
Ken Martin a21140658c adding plugin support 2002-08-21 11:58:48 -04:00
Ken Martin 9184cac1ff added plugin support 2002-08-21 11:58:01 -04:00
Ken Martin 34c7c1b78d made CMakeLib shared on windows 2002-08-21 11:57:12 -04:00
Ken Martin 38dfd36fda added C Plugin API first cut 2002-08-21 11:54:06 -04:00