Commit Graph

163 Commits

Author SHA1 Message Date
Andy Cedilnik 1cd8c64384 STYLE: Remove debug 2006-02-24 17:43:19 -05:00
Andy Cedilnik c4156b4531 COMP: Even more global target fixes 2006-02-24 17:35:35 -05:00
Andy Cedilnik 77e5a607f2 BUG: Only add test targets when testing is enabled. Also add CMAKE_CFG_INTDIR when specified 2006-02-24 10:55:44 -05:00
Andy Cedilnik 0ba40b59c7 COMP: Handle preinstall properly on IDEs 2006-02-24 09:43:23 -05:00
Andy Cedilnik 66ea097554 ENH: Properly handle target dependencies 2006-02-23 17:30:12 -05:00
Andy Cedilnik 7c0251014c COMP: More fixes for visual studio 2006-02-23 13:46:34 -05:00
Andy Cedilnik 549b77034e COMP: Fixes for visual studio 2006-02-23 13:37:35 -05:00
Andy Cedilnik 32c403f665 ENH: Remove debug 2006-02-23 10:48:35 -05:00
Andy Cedilnik 12dc64c7f5 ENH: Add a notion of a global target 2006-02-23 10:07:24 -05:00
Bill Hoffman 347c5f4b46 ENH: add working directory support 2006-02-08 10:58:36 -05:00
Brad King afa8367885 BUG: Fixed cmTarget::GetFullPath to not append the configuration name when only one configuration is built. It now asks the generator what subdirectory if any to use for a given configuration name. 2006-02-03 11:36:11 -05:00
Andy Cedilnik 782bef7374 ENH: Add a way for the generated command to include extra flags. This is useful for CTest (or try compile) to add -j2 2005-12-01 11:41:00 -05:00
Bill Hoffman 5b9ecdec44 ENH: fix warning 2005-09-15 13:26:29 -04:00
Bill Hoffman 8be3e4eeca ENH: clean up EnableLanguage try to fix problem where try compile runs cmake 2005-09-15 12:17:38 -04:00
Ken Martin 2a45d5cd68 ENH: added DIRECTORY option to GET_DIRECTORY_PROPERTIES 2005-09-13 10:39:42 -04:00
Bill Hoffman 9c4bfe975a ENH: add a fix for VTK on the mac and a way to fix some projects with a single file in the cmake modules directory 2005-09-07 17:05:01 -04:00
Ken Martin c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
Brad King 80802c21b6 ENH: RUN_TESTS target now uses proper CMAKE_CFG_INTDIR setting to get $(IntDir) or $(OutDir) depending on the generator. 2005-07-27 16:46:06 -04:00
Andy Cedilnik de217bee8d BUG: Generate RUN_TEST target if any tests are there 2005-07-27 15:46:21 -04:00
Ken Martin 369308ca76 ENH: make LOCATION an computed property of the target and get rid of a bunch of const junk 2005-06-22 09:06:46 -04:00
Brad King 7ed018ec09 BUG: Changing to a new test for whether to do relative path conversion. Now only paths inside the source or binary trees are converted. 2005-05-16 14:17:30 -04:00
Ken Martin 3744464c5e BUG: filx for old bug in rel path computaiton code 2005-05-13 14:12:05 -04:00
Ken Martin 8c65179339 ENH: warning fixes and some first steps in cleaning up the convert code 2005-05-13 09:54:30 -04:00
Ken Martin 25f75d9075 ENH: added new methods to convert to HomeRelative paths 2005-05-11 10:19:58 -04:00
Andy Cedilnik 082b3b44d7 BUG: Fix bootstrap test on machines with spaces in the path 2005-05-04 11:13:00 -04:00
Andy Cedilnik d772fce254 ENH: No need to convert to output path 2005-05-03 15:20:16 -04:00
Andy Cedilnik 61d0a75d11 ENH: Add option to ignore errors. Only works on make 2005-04-29 11:49:18 -04:00
Andy Cedilnik 7c5745ae95 ENH: Start working on command that will abstract generating of build command 2005-04-28 17:33:51 -04:00
Andy Cedilnik d395b563ed ENH: Improve internal test handling by creating a test class. Command cmEnableTesting now only sets CMAKE_TESTING_ENABLED and cmAddTest only adds a test to the list. The actual test files are written by local generator. This way we can at some point in the future replace DartTestfile with some XML file 2005-04-24 15:59:51 -04:00
Bill Hoffman 697d749c73 BUG: fix for bug 1660 2005-04-05 13:14:50 -04:00
Andy Cedilnik 0dd2b6eb80 BUG: By default disable new files. 2005-04-04 12:22:08 -04:00
Andy Cedilnik 86cebea79a ENH: More ctest changes and move SetupTest to superclass 2005-04-01 15:48:46 -05:00
Ken Martin 62969492b0 ENH: removed GetParentProjects 2005-03-29 15:34:27 -05:00
Bill Hoffman 213040b612 ENH: make sure project map is cleared each time. 2005-03-22 11:33:46 -05:00
Ken Martin eb1764b34f COMP: fix warning 2005-03-19 09:05:17 -05:00
Ken Martin 345cf04012 ENH: big change that includes immediate subdir support, removing the notion of inherited commands, makefiles no longer read in the parent makefiles but instead inherit thier parent makefiles current settings 2005-03-18 10:41:41 -05:00
Ken Martin 791aa6052b ENH: add support for out of source source 2005-03-14 11:29: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
Bill Hoffman a9a0c91630 ENH: fix for finding the correct target in the current project 2005-03-03 22:35:06 -05:00
Brad King de47b43c6f BUG: Need to configure relative path support for LocalGenerate to support old makefile generator. 2005-02-24 19:28:44 -05:00
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