Commit Graph

656 Commits

Author SHA1 Message Date
Bill Hoffman 222e9a2876 BUG: fix put/get env problems 2004-01-26 13:32:46 -05:00
Brad King 49bd89fe31 BUG: CopyFileIfDifferent should return success if the files did not differ or if the copy succeeded. It should return failure only if the files were different and the copy failed. 2004-01-22 10:30:01 -05:00
Bill Hoffman c336a9b1ac BUG: make sure null terminator is in the right place for putenv static char array 2004-01-08 09:59:24 -05:00
Bill Hoffman 2c2291bbe0 ENH: add new feature to ctest so that it can cmake, build and run a test executable 2004-01-07 11:24:22 -05:00
Bill Hoffman 09ba0a0a31 BUG: keep more of the case information 2003-12-23 15:01:10 -05:00
Bill Hoffman eb9fc21543 ENH: add support for relative paths in makefiles 2003-12-22 12:24:26 -05:00
Andy Cedilnik afc33a1990 ENH: Argument for script mode is -P (process) and take out the automatic script mode 2003-12-10 19:47:15 -05:00
Brad King 306fc9ea96 ENH: Improved error messages when source tree does not have a CMakeLists.txt file. No matter how many cases we check, there always seems to be a user that finds a case that gives a confusing error message... 2003-12-08 11:31:16 -05:00
Brad King ffd8ca9cd9 BUG: cmake_symlink_library should return the accumulated result, not just 0. 2003-11-27 10:28:50 -05:00
Brad King 5bbc45d589 BUG: The cmake_symlink_library command needs to remove existing files before creating links. 2003-11-26 17:34:01 -05:00
Brad King f764e1fcb2 ENH: Added undocumented cmake_symlink_library to help with building versioned shared libraries. 2003-11-26 16:38:26 -05:00
Brad King 7ce0e4c576 BUG#313: Improving error message when no CMakeLists.txt file is found in the source tree. 2003-10-30 16:12:09 -05:00
Andy Cedilnik d21532cd02 ENH: Ok, no more argument needed for script mode 2003-10-29 19:49:50 -05:00
Andy Cedilnik ac2859aaa3 ENH: Start includding the scripting support 2003-10-29 09:45:26 -05:00
Andy Cedilnik b79c2f5a4c ENH: Command should also be quoted 2003-10-28 15:26:00 -05:00
Brad King 41445f67ac BUG: Fixed crash of cmake -i when CMAKE_ROOT cannot be found. Made resulting error message cleaner. 2003-08-26 15:06:52 -04:00
Bill Hoffman a413160fec ENH: add the unix makefile generator as an option from the windows GUI, this builds with mingw, cygwin, and combinations of make cl, bcc32 2003-08-21 16:22:23 -04:00
Andy Cedilnik 39c7cb9197 ENH: Remove unused variable 2003-08-18 14:06:27 -04:00
Bill Hoffman 86947e0b26 ENH: remove a warning 2003-08-14 09:09:44 -04:00
Ken Martin 072db6ad70 removed redundent includes 2003-08-10 18:30:54 -04:00
Brad King 1de2bba717 BUG: Fixed typo in error message. 2003-08-07 16:11:49 -04:00
Brad King 9234f45e23 ENH: Removed old argument processing code that never does anything. 2003-08-06 18:41:36 -04:00
Brad King 75b3751a4f ENH: Clarified source directory mismatch message. 2003-08-05 16:51:00 -04:00
Brad King 1e077d436e ENH#61: cmake and ccmake now support passing the path to a CMakeCache.txt file as an argument. Its settings will be loaded. 2003-08-05 16:36:15 -04:00
Andy Cedilnik 369a4188e6 ENH: Use the new RunCommand 2003-08-03 22:35:52 -04:00
Andy Cedilnik 2f98c791fa ENH: Allow specifying cmake variables on the command line without specifying the type Bug #118 - Specifying cache entries with -D should not need the type 2003-08-01 14:10:26 -04:00
Bill Hoffman f7c9e258ae BUG: make sure initial cache file read only reads one file, and does not look for CMakeLists.txt files on the entire disk 2003-07-28 13:40:53 -04:00
Bill Hoffman fe384ee980 add a better message for the GUI if no CMakeLists.txt file is found. 2003-07-25 13:39:47 -04:00
Brad King a1bb1a4712 ENH: Added optional configuration of data/doc/man dirs. This will be useful for package maintainers. 2003-07-21 16:38:53 -04:00
Brad King e5ed57ec18 ENH: Registered global generators are now kept in a table in the cmake instance. Added support for documentation with a Generators section. 2003-07-07 21:52:10 -04:00
Brad King abffd72cbb BUG: Fixed check for existence of CMakeLists.txt file in top-level source directory before first configure. 2003-06-13 14:15:17 -04:00
Andy Cedilnik 1e09bc5dde ENH: Abstract pre configure check in a separate method 2003-05-29 11:14:05 -04:00
Bill Hoffman 5945a5a448 ENH: add some includes for borland 6 2003-05-23 16:40:55 -04:00
Brad King cbef9d224d ERR: Fixed string literal->char* conversion warning. 2003-05-14 08:40:16 -04:00
Brad King 02f7cfbcbe BUG: Need to remove the MAKEFLAGS when cmake starts. If cmake is run from inside make, we don't want the try-compiles to inherit the makeflags. 2003-05-13 16:51:01 -04:00
Brad King 20b198835c ENH: When the initially configured generator is invalid, allow the user to change the generator without deleting the cache by hand. 2003-05-13 16:11:14 -04:00
Bill Hoffman 6112e7fc16 add support for vs 71 2003-05-08 16:59:27 -04:00
Andy Cedilnik d6b9c96739 ENH: New location of cmake binaries 2003-05-02 13:56:56 -04:00
Andy Cedilnik e72535fda7 ENH: Add additional optional argument to Run. If it is true, it will only set paths and load cache. It will not do configure and gfenerate 2003-04-29 10:04:05 -04:00
Ken Martin af055f6f6d minor fix 2003-04-16 15:40:24 -04:00
Ken Martin 99b3152a60 add COdeWarrior back in for testing 2003-04-16 14:47:44 -04:00
Brad King a5ea72df88 ENH: Improved documentation. Also modified behavior of "cmake" to not configure a project in the current directory unless . is given. 2003-04-02 22:48:12 -05:00
Brad King ab761edaef BUG: Fixed crash when CMAKE_BACKWARDS_COMPATIBILITY is deleted between configures. 2003-02-24 11:02:23 -05:00
Brad King 1f55680332 ENH: Added cmDocumentation class to generate various forms of documentation. Each executable will be able to generate its own documentation. 2003-02-14 10:53:37 -05:00
Brad King 486454ef78 BUG: Fixed crash when CMAKE_ROOT cannot be found. 2003-01-22 10:33:34 -05:00
Bill Hoffman c7b5bb6d2c BUG: fix command line to take -G only 2003-01-22 09:34:15 -05:00
Brad King 7418ed1a67 BUG: Use CMakeDefaultMakeRuleVariables.cmake to locate modules directory instead of FindVTK.cmake. 2003-01-21 16:46:24 -05:00
Ken Martin 6e7f83a0ab compiler warning 2003-01-10 09:02:29 -05:00
Ken Martin 05955d6403 fix bug in env settings 2003-01-09 12:18:22 -05:00
Ken Martin 26bc729933 added watches for access of bw compat vars 2003-01-09 08:47:17 -05:00
Andy Cedilnik 829f8382e0 Add option of watching variables 2003-01-08 12:59:52 -05:00
Ken Martin dcc9c131b4 testing more agressive compatability settings 2002-12-20 10:23:51 -05:00
Andy Cedilnik 2fb76a9f07 Save directories when doing global build 2002-12-17 12:11:48 -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
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 37aed9f6c5 remove code warrior and fixed GUI isues 2002-12-03 14:09:56 -05:00
Ken Martin 86c32e96db fix some compiler warnings hopefully 2002-11-17 17:31:12 -05:00
Ken Martin 523b7ffa3b fixed bad source directory bug 2002-11-15 13:17:43 -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
Andy Cedilnik 7274abe460 Revert back 2002-11-07 09:04:20 -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
Bill Hoffman 8ff7c13227 BUG: fix stack limit size on mac OSX 2002-10-24 15:39:25 -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
Brad King 281f7519e1 ENH: Renamed cmStringStream to cmOStringStream and added cmIStringStream. Removed cmInputStringStream. 2002-10-10 10:43:59 -04:00
Ken Martin e55a05a6f6 added Code Warrior dev 2002-10-09 13:37:27 -04:00
Ken Martin 047acd0c6f Produce only one output 2002-10-02 11:14:19 -04:00
Andy Cedilnik 779810f132 Fix bug in chdir; Who did this anyway... 2002-09-30 16:46:19 -04:00
Ken Martin 6672c295c7 Set comspec substitute the right way 2002-09-30 14:01:51 -04:00
Andy Cedilnik 9619ee3aa1 Another attempt on Windows 98 2002-09-30 11:41:53 -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
Ken Martin c751d2ebff added progress 2002-09-26 15:14:20 -04:00
Ken Martin 9878f49dfc fixed memory leak 2002-09-24 13:24:10 -04:00
Ken Martin 2a68d21e85 cleaned up some of the cmake interface 2002-09-17 13:59:58 -04:00
Ken Martin c1da4c9570 better try compile 2002-09-13 10:41:20 -04:00
Ken Martin c6c579f35a uninitialized var 2002-09-12 14:37:27 -04:00
Ken Martin 2aea6d528e added a flag if a cmake is in try compile 2002-09-12 11:08:06 -04:00
Brad King d9326ed78d ERR: Added missing include of stdio.h for sprintf. 2002-09-10 17:24:25 -04:00
Ken Martin 9149cdd078 moved commands into cmake 2002-09-10 16:51:29 -04:00
Brad King 929a2b18f6 ERR: Fix for borland on linux. 2002-09-10 15:36:11 -04:00
Ken Martin 3abb9e240d compiler warnings 2002-09-08 10:17:03 -04:00
Ken Martin 25ff4552b3 new arch 2002-09-06 13:06:23 -04:00
Ken Martin d0be2896d7 changed cache manager and registered generators to no longer be singletons 2002-08-28 14:51:10 -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
Andy Cedilnik 42a00c96c1 Fix changing of directories using cmSystemTools RunCommand feature 2002-07-17 11:53:07 -04:00
Andy Cedilnik 120b2523f5 Add command that runs program in given directory 2002-07-10 14:34:38 -04:00
Brad King a1a05a5fbc BUG: CMake crashed if it failed to find its own executable. Also added better error messages when this occurs. 2002-06-27 09:35:21 -04:00
Brad King 07d35e662d ENH: Added cmStringStream class to wrap std::stringstream or std::strstream depending on the platform. The interface is that of std::stringstream, so no "ends" or "rdbuf()->freeze(0)" lines are needed. 2002-06-19 15:21:49 -04:00
Ken Martin 350f09ae6d removed ccommand use cmake now 2002-06-03 13:08:52 -04:00
Ken Martin ccbc8a3c8a remobed bootstrap 2002-05-28 08:56:39 -04:00
Ken Martin 92c5ff5b40 minor bootstap fixes 2002-05-23 10:33:37 -04:00
Ken Martin 1052a6700f added initial attempt to support win32 bootstrapping 2002-05-15 17:23:09 -04:00
Bill Hoffman 0caf44cb5d ENH: fix cmake to work without ccommand. 2002-05-08 09:05:40 -04:00
Bill Hoffman 3bc9830686 ENH: add an edit_cache target that runs ccmake or CMakeSetup 2002-05-07 09:02:45 -04:00
Bill Hoffman 059a14a3a6 ENH: check for mismatched generators 2002-04-25 13:09:17 -04:00
Berk Geveci 77bb62e00c Exit ccmake on fatal errors. 2002-04-23 16:16:48 -04:00
Bill Hoffman 75f9434374 BUG: fix SameFile function for windows, and compare source directories 2002-04-19 08:27:50 -04:00
Bill Hoffman 06922e1ac6 ENH: use home not start 2002-04-18 14:51:33 -04:00
Bill Hoffman 5ba411dd64 ENH: check for mis-matched source directories 2002-04-18 14:19:39 -04:00
Bill Hoffman 4ea0f6b949 ENH: add enable language support for PROJECT command, this means that a C only project can be built with cmake, even without a cxx compiler 2002-04-02 15:43:23 -05:00
Ken Martin 8d594bdcce removed quotes from cmake and ccommand executable to be consistant 2002-03-25 17:03:54 -05:00
Andy Cedilnik 5bbae88569 Add ccommand for executing commands on the system, so by using ADD_CUSTOM_COMMAND, you can make rules to do some system commands during build. Currently supported commands are copy and remove. Others will follow. 2002-03-15 15:42:59 -05:00
Bill Hoffman 60b9a2c14b ENH: first pass at dot net support 2002-02-18 14:36:04 -05:00
Bill Hoffman 4d119dd7d6 ENH: add ends at end of string 2002-02-06 12:14:03 -05:00
Berk Geveci 11ff0db01f Using cmSystemTools::Error() instead of cerr. 2002-02-01 13:08:50 -05:00
Brad King 8ed3ce29bf ERR: Removed cmCacheManager::DefineCache method. It is no longer needed. 2002-01-22 10:17:37 -05:00
Will Schroeder a6a43d5320 ENH:Updated copyright 2002-01-21 15:30:43 -05:00
Sebastien Barre 8a599b3569 Fix: escaping spaces was preventing a value with space to be passed correctly 2002-01-18 14:07:17 -05:00
Amitha Perera b2085d7e9d Rolling back symbolic path changes until it works on Windows. 2002-01-07 15:49:07 -05:00
Amitha Perera 2fa6a0eb44 ENH: Add an invocation that maintains symbolic paths to the source and binary trees, mainly for systems with automounted network drives.
ENH: CollapseFullPath() no longer adds a trailing "/" to directory paths.
2002-01-06 14:59:16 -05:00
Ken Martin b4e27e9795 prints the relese version 2002-01-02 16:45:30 -05:00
Bill Hoffman b545988c0b ENH: add -C load cache file option 2001-12-03 17:00:43 -05:00
Berk Geveci b8573c65ec Fixed help. 2001-12-03 15:11:59 -05:00
Berk Geveci a987b6bf47 Fixed help. 2001-12-03 15:11:03 -05:00
Sebastien Barre b180bf609b fix warning for Borland build 2001-11-30 17:20:43 -05:00
Bill Hoffman 0d3eefb1f1 new borland generator moved into place 2001-11-30 16:48:52 -05:00
Bill Hoffman fd516c022d add new borland generator 2001-11-28 11:12:15 -05:00
Bill Hoffman 12551a33c3 NMake with spaces in directories 2001-11-21 17:45:01 -05:00
Bill Hoffman 94c828bd1f ENH: clean up command line arguments 2001-11-21 08:47:37 -05:00
Bill Hoffman f7fae15d39 ENH: add command line arguments to set cache entries 2001-11-20 17:51:03 -05:00
Bill Hoffman 2df56cf21b ENH: fix library builds with nmake 2001-11-15 09:55:50 -05:00
Bill Hoffman 94f82edd07 Closer to nmake build 2001-11-14 18:12:22 -05:00
Bill Hoffman 8f652aad21 ENH: fixes for borland compiler testing 2001-10-03 15:49:52 -04:00
Bill Hoffman d204791e45 ENH: integrate borland support 2001-09-06 17:28:24 -04:00
Bill Hoffman 7aec024997 opps 2001-08-29 17:21:21 -04:00
Bill Hoffman 97dc84a613 ENH: run cmake from cmaketest 2001-08-29 15:57:57 -04:00
Bill Hoffman a5eac44d18 ENH: rework GUI with configure/OK/Cancel 2001-07-25 18:30:27 -04:00
Brad King fdd48818db ENH: Removing automatic setting of BUILD_SHARED_LIBS. Projects that support this should explicitly declare it with the OPTION command, or set its libraries to shared or static directly on each ADD_LIBRARY command. 2001-07-10 12:09:18 -04:00
Ken Martin ae2723878e better arg support 2001-07-02 14:38:39 -04:00
Bill Hoffman a5cda2217d ENH: fix install for cygwin, build cmake from configure 2001-06-27 15:42:27 -04:00
Ken Martin b5c6730f70 added help options 2001-06-27 11:35:08 -04:00
Brad King 10e0197054 BUG: Fixed generation of cMakeRoot in one case. 2001-06-22 12:18:52 -04:00
Bill Hoffman 900f1be244 BUG: fix for unix 2001-06-21 17:41:23 -04:00
Bill Hoffman 18b2449ca2 ENH: clean up 2001-06-21 17:25:35 -04:00
Bill Hoffman 31ab42e5b7 ENH: look in the PREFIX dir for the modules 2001-06-21 17:20:03 -04:00
Bill Hoffman a2b757aa2d ENH: better ability to find cmake program 2001-06-21 16:34:13 -04:00
Ken Martin 0ff3bdba20 better install support 2001-06-21 12:01:18 -04:00
Bill Hoffman adbae91cb5 ENH: fix cmake so it can boot strap itself better 2001-06-20 13:56:38 -04:00
Brad King a5087b8cca ENH: CMake now always adds the BUILD_SHARED_LIBS cache entry. The BUILD_SHARED_LIBRARIES command that used to be used is now deprecated. 2001-06-19 15:50:39 -04:00
Bill Hoffman 145fac96fc ENH: move EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH initial creation to after the CMakeLists.txt files have been parsed 2001-06-18 15:31:43 -04:00
Bill Hoffman 78ee6660a7 ENH: fix EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH for unix 2001-06-13 17:03:49 -04:00
Brad King 0929dbbacf ERR: int -> unsigned int. 2001-06-12 08:30:12 -04:00
Ken Martin 667a57d157 minor fix in error checking 2001-06-11 18:00:38 -04:00
Bill Hoffman 4f77d737c9 ENH: move utilities to targets from makefile, and add versioning to cache 2001-06-07 14:52:29 -04:00
Bill Hoffman 01b980591b BUG: fix edit of directories 2001-05-31 15:48:35 -04:00
Bill Hoffman 4179c991f4 ENH: change MFC gui to use cmake class 2001-05-30 15:28:55 -04:00
Ken Martin ad92f34fea added version number 2001-05-24 11:47:21 -04:00
Ken Martin 768134c690 command line fixes for win32 2001-05-23 16:28:34 -04:00
Ken Martin 5d05b44844 fixed quoted cmake 2001-05-23 15:49:18 -04:00
Bill Hoffman 26f638248d BUG: remove declaration without variable 2001-05-21 14:17:19 -04:00
Ken Martin d7976058e4 bug fix in finding CMAKE_ROOT 2001-05-21 11:13:56 -04:00
Ken Martin 06f403b274 updated for out of tree builds 2001-05-21 09:50:24 -04:00
Ken Martin 619864c09e new out of place builds 2001-05-21 09:32:11 -04:00
Ken Martin 72bc7951be new command 2001-05-18 15:25:08 -04:00