Commit Graph

326 Commits

Author SHA1 Message Date
Brad King 576d8b41cb ENH: Enabled bootstrapping with MinGW from an MSYS prompt. 2006-01-31 18:50:16 -05:00
Bill Hoffman 9891260a6d ENH: add support for watcom wmake and wcl386 2006-01-17 10:21:45 -05:00
Andy Cedilnik c690311b76 ENH: Add a way to compare two files 2005-12-30 15:25:35 -05:00
Andy Cedilnik abe4fd77fc ENH: Make the syntax more line tar 2005-12-29 12:19:13 -05:00
Andy Cedilnik 14c256ddba ENH: Make additional file names optional 2005-12-29 10:52:19 -05:00
Andy Cedilnik d1180fc4e1 ENH: Add untaring support 2005-12-29 10:43:12 -05:00
Andy Cedilnik 5222266e7e ENH: Add command to create tar 2005-12-28 16:31:12 -05:00
Bill Hoffman f6588b7919 ENH: fix borland make clean targets before build, add new generators for msys and mingw 2005-12-22 16:42:36 -05:00
Ken Martin d3d746ad7b STYLE: minor cleanup 2005-10-20 16:37:14 -04:00
Andy Cedilnik a51dfefe79 ENH: Optimize performance by caching stat results 2005-10-12 13:51:15 -04:00
Ken Martin 9be341383e BUG: the -P option was not working with relative paths and a couple types 2005-09-23 12:50:09 -04:00
Brad King 904305e3cb ENH: Added cmake -E create_symlink command that behaves like ln -s. 2005-08-19 09:38:17 -04:00
Brad King 78112eef25 ENH: Added -E cmake_symlink_executable command to help create symbolic links for versioned executables. 2005-08-17 16:06:52 -04:00
Ken Martin 039d4b604e ENH: added better error checking for cases when there is a CMakeCache.txt file but it is not readable 2005-08-11 13:20:23 -04:00
Brad King ce52a0802f BUG: When exiting before the configure step in script mode we must account for cmSystemTools::GetErrorOccuredFlag() for the return code. 2005-08-08 09:37:29 -04:00
Ken Martin f85f919dbc ENH: reduce the number of files produced still needs a bit more cleanup 2005-07-27 09:49:37 -04:00
Bill Hoffman 9062e6d922 ENH: fix for bug 1866, make -G,-D -C options allow for space between arg and value 2005-07-19 17:16:23 -04:00
Ken Martin 9d531303c0 BUG: win95 returning non unix path for cmake command 2005-07-07 09:44:55 -04:00
Andy Cedilnik 034d87eef5 ENH: Only truncate files when not in try compile. Alsom move truncating code closer to configure 2005-07-03 12:06:40 -04:00
Andy Cedilnik 69ca8776a8 ENH: Start adding the code that will truncate output logs 2005-07-02 22:25:43 -04:00
Andy Cedilnik 9a7dec33a3 ENH: Before running configre, remove all macros. Also, backup the command names. Also, make command names case insensitive 2005-06-16 14:56:15 -04:00
Andy Cedilnik 24a5c0a72e ENH: Save command that macro overwrites 2005-06-14 12:48:59 -04:00
Ken Martin e559aa11ac ENH: added support for forcing recomputation of depends 2005-06-10 10:45:08 -04:00
Ken Martin c08862a88d ENH: removed UMG2 2005-06-09 14:39:14 -04:00
Ken Martin 749fe26394 ENH: fix problem with dependency scanning 2005-06-07 10:47:28 -04:00
Ken Martin 193747256b ENH: switch to using new Unix Makefile generator for Unix as well 2005-05-25 11:18:41 -04:00
Ken Martin 4a701917a4 BUG: fix bad generator name 2005-05-12 11:24:23 -04:00
Ken Martin caf17c123b ENH: added new generator 2005-05-12 10:49:56 -04:00
Brad King dc75c22645 COMP: Fixed forced bool conversion warning. 2005-05-06 12:38:23 -04:00
Brad King e8911705d6 ENH: Added optional verbose output to build system dependency check. 2005-05-06 09:58:58 -04:00
Bill Hoffman d74d8aeb71 BUG: fix for bug 1700 2005-04-05 11:23:08 -04:00
Bill Hoffman 3abbf15a5a ENH: make xcode compile only on apple 2005-03-14 13:23:14 -05:00
Ken Martin 63cd6e39e1 COMP: fix a warning 2005-03-11 08:38:15 -05:00
Ken Martin 3ff6722934 ENH: cleanup by removing all the olf local generate junk that i not longer needed 2005-03-10 13:39:38 -05:00
Brad King 2444cd3828 ENH: Implementing explicit cmake_copy_f90_mod callback to copy Fortran90 modules to the stamp files more reliably. This removes the temporary hack for per-platform upper-/lower- case. 2005-03-03 16:53:33 -05:00
Ken Martin 78ca400d33 ENH: remove code warrior classes 2005-03-03 08:47:03 -05:00
Brad King 2aa613b98c ENH: Enabling cmLocalUnixMakefileGenerator2 (new makefile generator) by default. 2005-03-01 12:26:25 -05:00
Brad King 832fa0e609 BUG: Need to return before configure step when running in script mode. 2005-02-22 09:08:02 -05:00
Brad King 2651d170d5 BUG: Removing "guess when there is a space in the path" check for chdir command. It is the responsibility of the caller of the command to ensure the arguments are properly quoted on the command line. 2005-02-17 07:53:57 -05:00
Bill Hoffman ee0db4aeb4 BUG: fix CommandLine test problems with spaces and testing for the return value 2005-02-16 13:15:25 -05:00
Andy Cedilnik dd851619ac ENH: Add command to copy directory with content 2005-02-11 16:25:30 -05:00
Andy Cedilnik e9eccb0098 BUG: prevent -P or script to be passed as homedirectory 2005-01-28 13:00:36 -05:00
Bill Hoffman 96daa417cb ENH: add initial non-working XCode stuff 2005-01-25 15:26:57 -05:00
Bill Hoffman a641ad3bba ENH: split up cmCommands into two files 2005-01-21 10:27:51 -05:00
Brad King 195cdf172e ENH: Split dependency scanning and checking into separate cmDepends superclass with language-specific subclasses such as cmDependsC. 2005-01-18 17:09:05 -05:00
Brad King 81bbae1fb2 ENH: Added build system integrity check to cmLocalUnixMakefileGenerator2. This now uses a special --check-build-system flag to cmake which replaces --check-rerun. Integrity of dependencies is also checked during generation. 2004-10-29 16:50:46 -04:00
Andy Cedilnik 56234aed4b PERF: Remove several classes from the bootstrap and so making bootstrap smaller and faster 2004-10-27 10:47:14 -04:00
Brad King 2a7e2adf7a ENH: Added object file dependency scanning to cmLocalUnixMakefileGenerator2. This needs a hook in cmake.cxx. 2004-10-26 12:55:20 -04:00
Andy Cedilnik fc70a2bb2a ENH: Add development version support in CMake 2004-10-22 15:44:54 -04:00
Brad King 6bc6466be3 ENH: Added --check-rerun option to allow a runtime check of whether a new generate should really be done. 2004-10-15 09:24:44 -04:00
Bill Hoffman 832a302ca2 BUG: do not build kdevlop stuff when bootstrapping 2004-10-12 09:50:36 -04:00
Bill Hoffman 766c093d69 NEW: add kdevelop patch from Alexander Neundorf 2004-10-11 11:32:14 -04:00
Bill Hoffman f9468a2967 FIX: correctly handle if path table can not open 2004-10-05 11:37:03 -04:00
Ken Martin c86e9f5b3e COMP: fix bad include file 2004-10-05 09:01:30 -04:00
Ken Martin 1066af4527 ENH: Mathieus support for path conversions 2004-10-04 12:31:09 -04:00
Bill Hoffman 66a08c10e5 ENH: more uniform approach to enable language, one step closer to being able to enable a language without modifing cmake source code 2004-08-26 14:55:55 -04:00
Andy Cedilnik 75cf590b21 ENH: Implement PreLoad.cmake feature for CMakeSetup 2004-08-23 14:33:22 -04:00
Andy Cedilnik 957ddc4195 ENH: Move PreLoad.cmake code to public method so that ccmake and CMakeSetup can call it 2004-08-17 15:36:08 -04:00
Brad King 743eed068c BUG: Fixed typo in name of MSVC 8 registry key. 2004-08-04 10:00:39 -04:00
Bill Hoffman 2a8b05b69d BUG: fix for bug 971, pick a better generator from the command line 2004-07-27 13:40:47 -04:00
Bill Hoffman 997ee7b8d6 ENH: add a message at the end of the cmake run telling the user where things were written. 2004-07-16 16:02:40 -04:00
Bill Hoffman 86195caf6a ENH: add support for VCExpress 2005 2004-07-05 12:16:33 -04:00
Andy Cedilnik 9d61ea38dd ENH: Also read PreLoad.cmake from the binary tree 2004-07-02 09:57:39 -04:00
Andy Cedilnik 23798f8a22 ENH: Remove memory leak 2004-05-05 10:13:19 -04:00
Bill Hoffman 55af104169 BUG: fix crash from bug id 806 2004-04-29 10:26:22 -04:00
Andy Cedilnik df31c576dc ENH: Add support for automatically preloaded cmake file. Closes Bug #802 - Add auto preload file support in CMake 2004-04-28 10:52:20 -04:00
Andy Cedilnik 34115a5989 BUG: Fix resolving of infinite loops while CMakeSetup/ccmake still running 2004-04-26 11:23:06 -04:00
Andy Cedilnik 55a71ba572 ENH: Add check for infinite loops. Make sure that files written using WRITE_FILE and FILE WRITE are not used as input files. Fixes Bug #678 - WRITE_FILE and FILE(WRITE...) lead to infinite loops 2004-04-18 14:41:46 -04:00
Bill Hoffman d0cea4c7bb ENH: make relative paths optional and default off, and add a test for them 2004-03-31 10:01:52 -05:00
Andy Cedilnik 51516613e8 ENH: Ok, when doing cmake -P you should not have to squish filename next to -P, There should be space between 2004-02-20 14:46:33 -05:00
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