Commit Graph

565 Commits

Author SHA1 Message Date
Brad King 65e2c18d73 ENH: Enabling ability for CMAKE_MINIMUM_REQUIRED version to include patch level. Submitted by Alexander Neundorf. 2005-06-17 09:49:06 -04:00
Andy Cedilnik f7ddfbe1fd ENH: Add extra argument 2005-06-16 16:33:24 -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 1004073942 ENH: performance improvements 2005-04-12 13:27:07 -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
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
Brad King 39af9ee1e4 ENH: Updated implementation of custom commands. Multiple command lines are now supported effectively allowing entire scripts to be written. Also removed extra variable expansions and cleaned up passing of commands through to the generators. The command and individual arguments are now kept separate all the way until the generator writes them out. This cleans up alot of escaping issues. 2005-02-22 10:32:44 -05:00
Bill Hoffman cb73410ccb ENH: more tests are passing 2005-02-16 16:35:32 -05:00
Brad King 1d1bd31933 ENH: Added GetComplainRegularExpression method. 2005-02-07 15:09:22 -05: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
Bill Hoffman 891c273062 ENH: remove warning 2004-08-27 09:55: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 9655299f08 ENH: initial fortran support 2004-08-06 14:51:41 -04:00
Brad King b6da1d1271 ENH: Added support for special variables CMAKE_CURRENT_LIST_FILE and CMAKE_CURRENT_LIST_LINE that evaluate to the file name and line number in which they appear. This implements the feature request from bug 1012. 2004-08-04 10:45:11 -04:00
Andy Cedilnik 3031467e33 ENH: Implement additional make clean files as a directory property instead of cmake variable 2004-05-20 16:56:34 -04:00
Andy Cedilnik e09e1679ab ENH: Add method to get definition even if it does not exists 2004-04-27 11:30:31 -04:00
Andy Cedilnik aff8c7bcd6 ENH: Add GET/SET_DIRECTORY_PROPERTY/PROPERTIES commands so that we can change include directories and get all sorts of things. Closes Bug #25 - Get_CMAKE_PROPERTIES 2004-04-23 16:20:36 -04:00
Bill Hoffman 8b0b749a11 ENH: add SUBDIR PREORDER and fix clean for non-relative paths 2004-04-23 12:52:48 -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
Andy Cedilnik 504d0bc3b3 ENH: ADD REMOVE_DEFINITION command. Fix feature request: Bug #182 - Add opposite to ADD_DEFINITIONS 2004-04-15 13:58:10 -04:00
Bill Hoffman ddb815c125 ENH: add new subdirectory exclude from top option 2004-03-09 16:28:44 -05:00
Andy Cedilnik f93b1e6d48 ENH: Try to remove warning 2004-03-09 07:50:45 -05:00
Andy Cedilnik 3f752ea4cd ENH: Move implementation of configure_file to cmMakefile, so that other classes can use it 2004-03-08 19:05:04 -05:00
Brad King 1dd718457f ENH: Moved variable and #cmakedefine replacement from cmConfigureFileCommand.cxx to a ConfigureString method on cmMakefile. This will give other commands access to the configuration code. 2004-03-03 18:18:47 -05:00
Andy Cedilnik b1a7421840 ENH: Styart working on bundles support and abstract WIN32_EXECUTABLE 2004-02-28 18:59:19 -05:00
Bill Hoffman 5ccfaefb48 ENH: generate a sln and dsw file for each sub project in a project 2003-11-26 14:29:53 -05:00
Ken Martin 072db6ad70 removed redundent includes 2003-08-10 18:30:54 -04:00
Andy Cedilnik 96d561aabc ENH: Add option to retrieve list of macros. Close Bug #25 - Get_CMAKE_PROPERTIES 2003-08-06 18:54:13 -04:00
Ken Martin e315bff47b performance improvements 2003-06-24 15:23:34 -04:00
Ken Martin 61a3e4fb80 more custom command 2003-06-05 16:45:06 -04:00
Ken Martin ba68f771b3 yikes added new custom command support 2003-06-03 10:30:23 -04:00
Andy Cedilnik ce750180ba Add method which returns a list of all variables 2003-03-06 11:19:28 -05:00
Bill Hoffman ae5a80c795 spelling errors 2003-02-14 09:54:15 -05:00
Brad King 1fe42129d4 ENH: Centralized setting of CMake version number to top-level CMake listfile. 2003-02-13 21:57:05 -05:00
Bill Hoffman c4fa5d1fdf ENH: add a new command that allows exports of library dependencies from a project to a file 2003-01-20 16:59:02 -05:00
Andy Cedilnik 5147742a83 Make GetCMakeInstance private and clean cxx file 2003-01-14 09:53:13 -05:00
Andy Cedilnik 829f8382e0 Add option of watching variables 2003-01-08 12:59:52 -05:00
Ken Martin 85549bf496 update version 2003-01-06 09:39:38 -05:00
Ken Martin e90d2dd9f8 updated version 2003-01-06 09:36:27 -05:00
Brad King 54541bd40a ENH: Improved filename/line number reporting in error message. Macro invocations now chain up the error message. 2002-12-12 11:36:28 -05:00
Brad King 4888c088ae ENH: Moved ExpandListVariables out of individual commands. Argument evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside. 2002-12-11 18:13:33 -05:00
Andy Cedilnik 3893ee72d2 Add comment support, so that you can see in build process what the custom command does 2002-12-10 16:47:37 -05:00
Ken Martin 9e526f797a removed cmMakefile depend from cmSystemTools 2002-12-02 15:59:59 -05:00
Ken Martin 20b7e6b222 ENH: space fixes and add a status option to message command 2002-11-13 15:59:40 -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
Andy Cedilnik a518fed4e3 Try to improve source group interface 2002-10-04 18:16:13 -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
Ken Martin 610ff11cf3 now Try compile can include CMAKE_FLAGS 2002-09-18 11:37:40 -04:00
Brad King aa29bbc326 ENH: Added RemoveDefinition method. 2002-09-18 10:39:41 -04:00
Ken Martin a4ca3229ff renamed GenerateMakefile to ConfigureFinalPass 2002-09-15 08:52:24 -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 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
Ken Martin 499bd45d4d removed shared lib support 2002-08-23 16:13:34 -04:00
Ken Martin 9f870d3efb minor bug 2002-08-21 13:16:07 -04:00
Ken Martin 6158aa7fd6 dll support 2002-08-21 12:01:55 -04:00
Ken Martin 32ad30e883 better error handling with if statements 2002-07-10 11:38:38 -04:00
Ken Martin 2a7e4539e6 fixed warning 2002-07-02 08:24:36 -04:00
Ken Martin 44a7cd55ff removed all source lists from the system and made them vectors. Also appended _CMAKE_PATH to the end of the automatic cache entries for executables and libraries. Odds of all these changes working are slim but cmake builds and passes all its tests. VTK40 starts building 2002-06-27 15:57:09 -04:00
Ken Martin 11cff6ef6a updated rev 2002-06-05 13:30:54 -04:00
Bill Hoffman a80153b5cb make it backwards compatible with old cmake 2002-05-02 15:56:13 -04:00
Bill Hoffman 27fe57b716 ENH: change LINK_LIBRARY to add to targets 2002-05-02 13:17:10 -04:00
Amitha Perera 099436db26 ENH: Make the LinkLibraries command contribute dependencies towards AddLibraries. 2002-05-01 16:33:27 -04:00
Amitha Perera 1f8df8585e ENH: Add library dependency analysis. 2002-05-01 14:00:21 -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
Bill Hoffman 8b3b49a010 ENH: major change, the cmMakefile now contains a master list of cmSourceFile objects, the source lists reference the list via pointers, also you can now set properties on a file, like compile flags, abstract, etc. 2002-03-29 10:06:30 -05:00
Will Schroeder a6a43d5320 ENH:Updated copyright 2002-01-21 15:30:43 -05:00
Brad King 4688198996 ERR: Missing forward declaration of cmMakeDepend added. 2002-01-17 10:48:37 -05:00
Ken Martin 48f77f9de1 next release 2002-01-15 15:50:35 -05:00
Ken Martin d41b42a019 next release 2002-01-15 15:46:34 -05:00
Ken Martin 79d9bd8a59 added release verison to cmMakefile 2002-01-02 16:44:44 -05:00
Brad King fd37e46eb3 ENH: Added option to IF command to test if a command exists. Syntax is IF(COMMAND name-of-command). 2001-12-18 09:39:26 -05:00
Brad King ee31c3e0a4 ENH: SUBDIR_DEPENDS command now does nothing. The parallel build functionality is now automatic. Dependencies are setup to force the same build order as a single threaded build, but multiple files in the same directory can be built simultaneously. Also fixed bug with inheriting CMakeLists.txt files when a directory level is skipped. 2001-12-10 11:03:44 -05:00
Ken Martin 95fa88b7bc version rev 2001-12-07 16:06:08 -05:00
Ken Martin ab3b0c04aa release 10 2001-12-07 16:01:32 -05:00
Ken Martin cf8003f03f up version 2001-12-05 12:07:34 -05:00
Ken Martin d4bb11cd8b up version 2001-12-05 11:59:18 -05:00
Sebastien Barre ef74458b34 Add optional BEFORE param to INCLUDE_DIRECTORIES so that include dirs can be specified before the actual include dirs 2001-11-02 22:32:39 -05:00
Bill Hoffman 091e95f26d ENH: add an option to configure file command that allows for only expansion of at variables and not dollar variables 2001-10-30 14:05:07 -05:00
Bill Hoffman 1c5c899fd7 add dependency for configure files and use short path in WIN32 cmake test 2001-10-26 15:42:02 -04:00
Ken Martin c9caf2390c version 2001-10-01 13:36:27 -04:00
Ken Martin 8e505ebf53 version 2001-10-01 13:35:44 -04:00
Bill Hoffman baa28efd10 ENH: change InitialPass to take a const reference to the argument string, to avoid changes to the file cache 2001-09-20 15:08:30 -04:00
Ken Martin 1bf6afaabf version rev to 95 2001-09-19 14:20:53 -04:00
Ken Martin ccc1c3d50a version rev to 94 2001-09-19 14:20:37 -04:00
Ken Martin 0fe42a9857 various windows fixes 2001-09-10 15:11:15 -04:00
Bill Hoffman cc5c1fa6f7 ENH: separate command from its arguments in the custom command. This allows the generator on windows to change the slashes for just the command 2001-09-04 16:07:54 -04:00
John Biddiscombe 0645a50061 ENH: ExpandVariables functions return a char * for convenience 2001-09-01 16:12:52 -04:00
Ken Martin 22025945c8 version rev 2001-08-30 16:19:46 -04:00
Ken Martin 4798e61fa0 version rev 2001-08-30 16:19:04 -04:00
Brad King 222199b3cd ENH: Added a const version of GetLinkLibraries(). 2001-08-29 10:47:01 -04:00
Yves Starreveld 247c1640da Changes to allow MODULE type target for a shared library 2001-08-28 18:02:59 -04:00
Bill Hoffman f709e5588e ENH: change expand variables to use GetDefinition 2001-08-27 14:44:15 -04:00
Bill Hoffman a4f40c31f1 ENH: add dump documentation test 2001-08-23 17:40:07 -04:00
Bill Hoffman ddd5a7d729 ENH: change all maps of string to be maps of cmStdString, to reduce symbol length in object files. 2001-08-22 11:58:17 -04:00
Bill Hoffman 032106c337 BUG: shorten length of symbols 2001-08-22 11:26:54 -04:00
Ken Martin 0b471134c3 now creates output directories 2001-08-10 15:54:19 -04:00
Ken Martin c71a860978 updated version 2001-08-09 11:09:18 -04:00
Ken Martin d0c306058c updated version 2001-08-09 11:08:35 -04:00
Bill Hoffman db1303aa7d ENH: big change, only allow commands access to the cache via the cmMakefile class and GetDefinition, also the cmMakefile is the only way for commands to add to the cache. Also, some changes to configure.in that check for for scoping 2001-08-08 11:54:46 -04:00
Brad King 8a03ccda07 ENH: Added SUBDIR_DEPENDS command and corresponding support code. This command allows specification that a set of subdirectories be built before a particular directory. 2001-08-01 16:14:16 -04:00
Brad King ddec29c52d BUG: Changed include and link directory paths in cmMakefile back to std::vector because there is an order dependency. Only cmMakefile::AddIncludeDirectory and cmMakefile::AddLinkDirectory should be called to add directories to the paths. They make sure the paths are unique as they are inserted. 2001-07-30 11:34:03 -04:00
Ian Scott b24861d895 Removed the Uniquification of the include and link directory list in FinalPass,
and achieved the same effect by makein m_LinkDirectores and m_IncludeDirectories
a set rather than vector
2001-07-30 07:18:38 -04:00
Ian Scott 4878ed3d29 MAkefile now strips duplicate directores from the libraries and include paths 2001-07-27 13:06:05 -04:00
Ken Martin f8f4560ab4 fixed warnings 2001-07-26 08:36:54 -04:00
Bill Hoffman a5eac44d18 ENH: rework GUI with configure/OK/Cancel 2001-07-25 18:30:27 -04:00
Ken Martin 4ab2650802 added for each command 2001-07-25 16:53:13 -04:00
Ken Martin 0136329482 updated version 2001-07-18 16:45:49 -04:00
Amitha Perera e169953e92 ENH: Source and header file extensions are in variables in cmMakefile.
AUX_SOURCE_DIRECTORY will only add files that have a "source" extension.
2001-07-16 18:40:42 -04:00
Ken Martin df79a0bc47 version num 2001-07-11 13:31:47 -04:00
Ken Martin ec50160652 version num 2001-07-11 13:30:59 -04:00
Brad King e693d47253 ENH: Added support for selection of static/shared build on a per-library basis. 2001-07-02 15:38:02 -04:00
Ken Martin 2a7fc5750b updated version to 0.3 2001-06-27 16:18:14 -04:00
Ken Martin ac12186742 updated version to 0.2 2001-06-27 16:17:35 -04:00
Ken Martin 43793f7df4 added escape quotes option in replace strings 2001-06-22 11:14:32 -04:00
John Biddiscombe e1e7b8adca ENH: Added RemoveSource(...) to complement AddSource. New command
SOURCE_FILES_REMOVE uses it and can be used to take files out of the build
2001-06-22 09:47:02 -04:00
Brad King cf82992964 ENH: Extended INCLUDE_REGULAR_EXPRESSION to allow selective complaints about missing dependencies. 2001-06-21 15:02:52 -04:00
Ken Martin ead17fbd9d added some const versions of get methods 2001-06-11 16:47:15 -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
Ken Martin 37801ddaae added enable testing deprecated some commands 2001-06-06 13:58:18 -04:00
Jim Miller 84dc25e9f5 ENH: Added AddTest, and GenerateTestfile routines 2001-06-05 20:34:01 -04:00
Ken Martin ad92f34fea added version number 2001-05-24 11:47:21 -04:00
Brad King a5480276d5 ENH: Added cmData and corresponding DataMap in cmMakefile to allow commands to register arbitrary extra data with the makefile without modifying the cmMakefile class definition. 2001-05-16 09:19:46 -04:00
Ken Martin 639f1fa239 added registry entry support and windows app support 2001-05-11 10:53:17 -04:00
Bill Hoffman 885e37da22 ENH: call configure from cmake 2001-05-07 18:11:16 -04:00
Ken Martin 089aa3e106 option to make utilities in the all target 2001-05-04 15:50:26 -04:00
Ken Martin fc1562f004 system config uses cmake commands now 2001-05-03 08:52:32 -04:00
Bill Hoffman 96ec40943c ENH: implement ADD_TARGET command, and add an ALL_BUILD target 2001-05-01 16:55:32 -04:00
Brad King 73644c3acd ERR: Removed a conflict that was checked in. 2001-04-30 11:29:30 -04:00
Anonymous d6fae5faf0 New command: INCLUDE(somefile.txt) 2001-04-30 10:52:58 -04:00
Ken Martin 2da0c57d46 added TARGET_LINK_LIBRARY command and support for debug and release libraries to link against 2001-04-30 10:44:00 -04:00
Will Schroeder 54cfe84f3f ENH:New copyright 2001-04-27 08:01:17 -04:00
Ken Martin 41e1270413 support for debug and opt libraries 2001-04-26 16:22:53 -04:00
Ken Martin 30ad61805b bug fixes 2001-04-26 09:38:31 -04:00
Ken Martin 73f04d1409 many fixes and cleanup and features 2001-04-24 16:49:12 -04:00
Bill Hoffman 818b0e5bc1 BUG: fix build directory problem 2001-04-24 12:40:37 -04:00
Ken Martin b5f62159ca added if else endif add definition 2001-04-19 17:39:03 -04:00
Ken Martin 7b362bdb1f fixed cable package issue 2001-04-16 10:01:13 -04:00
Ken Martin e40aaa57c3 some bug fixes 2001-04-12 15:34:09 -04:00
Ken Martin 865ec96644 major changes to support multiple libraries and source lists 2001-04-11 14:59:02 -04:00
Brad King 8c087d0e7a ENH: Added SOURCE_GROUP command and corresponding support code. This command allows CMakeLists files to specify how sources are organized into groups in the generated DSP files and makefiles. 2001-03-20 13:20:59 -05:00
Brad King be4db9150c ENH: Added INCLUDE_REGULAR_EXPRESSION command to set regular expression used in dependency checking. 2001-03-15 18:09:16 -05:00
Brad King f84972610e BUG: Moved definition of CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR to be as soon as their information is known. 2001-03-15 14:33:47 -05:00
Brad King 5fc8300476 ENH: Added utility dependency support. Now a project can depend on other executables as well as link libraries. 2001-03-09 10:53:32 -05:00
Brad King 4666b01710 ENH: Added UTILITY_SOURCE command for specifying where a 3rd party utility's source is located when it is included in the distribution of a project. 2001-03-08 10:30:18 -05:00
Brad King 8859bd5ac8 ENH: Added GetUsedCommands() method. 2001-02-26 17:58:54 -05:00
Ken Martin acbd160dd2 a variety of fixes and enhancements 2001-02-26 17:17:34 -05:00
Bill Hoffman 0b0d1b1d43 ENH: add CMakeCache.txt support 2001-02-22 19:24:43 -05:00
Ken Martin 43859e36cf ENH: add new commands fro find library and find program 2001-02-16 11:34:23 -05:00
Ken Martin fce56c57c4 some cleanup and fixes 2001-02-15 13:30:13 -05:00
Bill Hoffman dd36c5f296 ENH: add configure style @var@ expansion 2001-02-13 16:48:00 -05:00
Bill Hoffman db267f533b ENH: get rid of special msc configure file 2001-02-12 19:49:52 -05:00
Will Schroeder 658614ff6a ENH:Reworked CMake for consistency 2001-01-18 11:20:24 -05:00
Will Schroeder b3480795c4 ENH:Simple program dumps out internal documentation for CMake 2001-01-12 12:43:00 -05:00
Will Schroeder 88bbc0c30d ENH:Documentation and cleanups 2001-01-11 14:47:38 -05:00
Bill Hoffman c54a05bfc7 ENH: rework cmake, added ruleMaker classes and changed the syntax of the CMakeLists.txt files. 2001-01-05 11:41:20 -05:00
Bill Hoffman 74c1345333 ENH: change ME to LIBRARY and added PROJECT, also remove ITK stuff and replaced with CMake 2000-09-27 15:01:19 -04:00
Bill Hoffman 1e3ba0f1d7 ENH: clean up code, and varible names 2000-09-21 13:45:08 -04:00
Bill Hoffman aa3ca2b432 ENH: CMake and configure now use SUBDIRS in CMakeLists.txt to find all the directories of the system. 2000-09-12 05:30:35 -04:00
Bill Hoffman 077c31484e ENH: move from tools and create working CMake program 2000-08-30 13:35:41 -04:00
Bill Hoffman 1f42f521ce NEW: move from tools and config to create CMake 2000-08-29 15:26:29 -04:00