Commit Graph

273 Commits

Author SHA1 Message Date
Brad King cb48e0c161 ENH: Merged implementations of ConvertToRelative*Path methods. The main ConvertToRelativePath method is now in cmGlobalGenerator. It converts paths only if they are at least inside the deepest common directory between the top-level source and build trees. Each cmLocalGenerator instance calls this global method with its own output directory as the "local" argument from which paths are relative. Added separate ConvertToOptionallyRelative path that pays attention to the CMAKE_USE_RELATIVE_PATHS option. 2005-02-24 16:04:54 -05:00
Brad King 2e451961b6 BUG: Only use the existing CMake(lang)Compiler.cmake file from the build tree if it was generated by the same version of CMake. 2005-02-24 10:32:58 -05:00
Ken Martin bfcb4b6937 COMP: fix warning 2005-02-22 12:34:02 -05:00
Ken Martin 4d30cb309c ENH: ctest now uses CMake global generator to do the build part of build-and-test 2005-02-22 09:12:10 -05:00
Bill Hoffman e930043477 ENH: more tests are passing, relative paths, and external objects are the ones left now 2005-02-17 17:54:14 -05:00
Bill Hoffman cb73410ccb ENH: more tests are passing 2005-02-16 16:35:32 -05:00
Bill Hoffman fd0f29e6f4 ENH: depends work between targets 2005-02-03 17:42:55 -05:00
Bill Hoffman 13865fc4fa ENH: move project map to global generator base 2005-01-21 12:26:32 -05:00
Bill Hoffman beb584e7a1 ENH: add some comments on how this could be moved to global generator 2005-01-20 12:28:57 -05:00
Bill Hoffman 2615e6f0a9 BUG: fix for bug 1396, object files could not be used as sources any more 2004-12-06 12:38:04 -05:00
Bill Hoffman 5bf55d1590 ENH: shorten the symbols a bit and remove maps of std::string for map of cmStdString 2004-09-29 16:07:07 -04:00
Bill Hoffman 9e08d07be2 ENH: change ignore function so that it first checks to see if the extension has a language 2004-09-24 09:34:27 -04:00
Bill Hoffman 67ac3ea503 ENH: fix problems with .def and RC files 2004-09-23 08:51:06 -04:00
Bill Hoffman 692ba48c4e ENH: major changes to support addition of languages from cmake modules directory. 2004-09-22 14:42:05 -04:00
Bill Hoffman b1f3e10439 BUG: make sure env CC and CXX are not set for VS IDE builds 2004-09-15 11:31:54 -04:00
Ken Martin ce277b647b warning fix 2004-09-06 12:46:10 -04:00
Bill Hoffman c2ef51e181 ENH: define language extensions in cmake files and not hard coded, also fix trycompile problem 2004-09-03 12:03:41 -04:00
Bill Hoffman 731369ef9c ENH: try to initialize all languages at the same time 2004-08-27 08:41:07 -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
Bill Hoffman b41d447935 ENH: use GetRequiredDefinition instead of GetDefinition and crash 2004-08-11 16:58:09 -04:00
Bill Hoffman 9655299f08 ENH: initial fortran support 2004-08-06 14:51:41 -04:00
Brad King 46418e70a3 BUG#427: Generated makefiles need to have targets with canonical names for each executable and library target in order for try-compiles to work correctly when specifying the target. 2004-08-05 10:17:26 -04:00
Brad King 9b1771aef4 BUG: CMAKE_TRY_COMPILE_CONFIGURATION should be obtained from the cmMakefile instance for the listfile containing the TRY_COMPILE call, not the top level listfile. 2004-08-04 16:33:10 -04:00
Bill Hoffman 86195caf6a ENH: add support for VCExpress 2005 2004-07-05 12:16:33 -04:00
Andy Cedilnik ed0999c9d1 ERR: Fix visual studio install 2004-06-28 16:39:51 -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 ddb815c125 ENH: add new subdirectory exclude from top option 2004-03-09 16:28:44 -05:00
Bill Hoffman 222e9a2876 BUG: fix put/get env problems 2004-01-26 13:32:46 -05:00
Andy Cedilnik 797db2bd82 ENH: Start adding new installation framework 2004-01-25 19:25:26 -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 add1f25f58 BUG:427 trycompile target must be exe 2003-12-11 15:38:00 -05:00
Andy Cedilnik 3b7c4b2a7b ENH: More scripting changes 2003-10-29 09:56:49 -05: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 0b150f69c2 ENH: Use the new RunCommand 2003-08-03 22:34:37 -04:00
Bill Hoffman 79c298e12c ENH: set CMAKE_SYSTEM_VERSION for windows 2003-07-16 15:38:31 -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
Bill Hoffman ca773a5d6d ENH: add stdlib.h for portability to borland 6 2003-05-24 10:07:58 -04:00
Brad King a843439d14 BUG: Work-around for SGI MipsPro bug where #error doesn't return an error to make. 2003-05-14 12:06:40 -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
Brad King a30148e640 ENH: Improved error message when a wrong generator is selected. 2003-05-13 14:26:16 -04:00
Bill Hoffman e3d93e22f8 BUG: add better testing for notfound 2003-02-04 15:37:24 -05:00
Bill Hoffman d9d19a4d68 fix warning 2003-02-02 11:45:44 -05:00
Bill Hoffman 81aee11c21 ENH: add checking for NOTFOUND 2003-01-31 14:39:49 -05:00
Bill Hoffman f58d7df66a ENH: add checking for NOTFOUND 2003-01-31 13:50:42 -05:00
Bill Hoffman 2f4ea98a4c add a fatal error, and make sure c and c++ compilers work before using them 2003-01-21 12:50:48 -05:00
Ken Martin 6772b9f90b fix warnings 2003-01-10 11:07:29 -05:00
Ken Martin 05955d6403 fix bug in env settings 2003-01-09 12:18:22 -05:00
Bill Hoffman f36608b8ed fix warning 2003-01-09 11:32:40 -05:00
Bill Hoffman 384523a315 restore the environment for cxx and cc in global generator 2003-01-09 11:28:29 -05:00
Ken Martin 5c92fa4879 only load bw compat if CMAKE_BACK... is set 2003-01-09 08:47:54 -05:00
Bill Hoffman bf70e0c246 BUG: enable the languages when not running in global mode 2002-12-19 15:34:11 -05:00
Andy Cedilnik 1c6203b406 Add java support 2002-12-11 10:34:35 -05:00
Andy Cedilnik 39714fb179 Rename variable to remove warning 2002-12-08 22:34:17 -05:00
Bill Hoffman 7987ce88cb ENH: set the CXX and CC environment vars 2002-12-06 11:43:23 -05:00
Bill Hoffman 96189f79d5 ENH: unify EnableLanguage across all generators 2002-12-05 13:44:11 -05:00
Bill Hoffman f5d95fb078 Complete rework of makefile generators expect trouble 2002-11-08 15:46:08 -05: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
Sebastien Barre cb5763a410 ENH: update the progress when generating is "done". 2002-10-09 15:24:20 -04:00
Ken Martin c751d2ebff added progress 2002-09-26 15:14:20 -04:00
Andy Cedilnik 66d04692a0 Attempt to make NMake quiet during TRY_COMPILE 2002-09-25 07:46:45 -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 6a096be924 Try to fix borland and nmake try compile 2002-09-23 12:23:06 -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
Ken Martin d2c4432bbe changed handling of FinalPass 2002-09-15 08:54:16 -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
Ken Martin ee592e9b98 some fixes for try compile 2002-09-13 13:48:14 -04:00
Ken Martin 6132184cc3 better trycompile and enable langiages 2002-09-13 10:42:50 -04:00
Ken Martin 38e412626b modified TryCompile 2002-09-10 16:49:40 -04:00
Ken Martin f229c1c46e compiler warnings 2002-09-07 21:26:08 -04:00
Ken Martin 25ff4552b3 new arch 2002-09-06 13:06:23 -04:00
Ken Martin 5b0611d709 updates 2002-09-04 15:24:49 -04:00
Ken Martin 3ffc4b2ee1 in progress checkin 2002-08-30 16:00:35 -04:00