Ken Martin
bea21587cf
updated makefile moved commands into cmake and fixed try compile
2002-09-10 16:52:39 -04:00
Brad King
eb1ff5f968
ERR: Fixes for comeau compiler. NULL is a pointer of type void*, and cannot be compared directly with other pointer types. We use 0 instead.
2002-09-10 15:37:28 -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
9f870d3efb
minor bug
2002-08-21 13:16:07 -04:00
Ken Martin
6deb5bbe70
better IF ELSE handling
2002-08-09 12:00:49 -04:00
Ken Martin
3c9206fdd8
makefile now does not ignore NOTFOUND libs and includes
2002-07-25 09:16:17 -04:00
Ken Martin
8a3b2ad92e
makefile now ignores NOTFOUND libs and includes
2002-07-25 08:00:03 -04:00
Ken Martin
8d8470c30e
full variable replacement and removal or empty arguments
2002-07-19 14:42:34 -04:00
Ken Martin
fcc410de44
fixed if statements inside a foreach
2002-07-17 10:48:39 -04:00
Bill Hoffman
ed7a32ebe4
BUG: fix for compile with hp
2002-07-11 14:20:39 -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
c24d201c39
minor cleanup
2002-06-28 08:57:25 -04:00
Ken Martin
ca2fdeb640
performance inprovements
2002-06-27 21:17:25 -04:00
Ken Martin
6eb671097d
bug fix
2002-06-27 16:47:38 -04:00
Ken Martin
4b12e5a306
bug fix
2002-06-27 16:42:57 -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
Brad King
28895b0f9f
ERR: Fixed compiler warnings.
2002-06-18 17:20:27 -04:00
Bill Hoffman
e5668ea656
ENH: only add _LIB_DEPEND information for libraries and modules
2002-06-03 10:25:55 -04:00
Bill Hoffman
cdf550de13
ENH: rework library depend stuff
2002-05-03 16:34:05 -04:00
Bill Hoffman
a80153b5cb
make it backwards compatible with old cmake
2002-05-02 15:56:13 -04:00
Bill Hoffman
2242006ca1
Debug optimized cache fixes
2002-05-02 15:10:19 -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
Berk Geveci
d0d25bb989
Reformatted the error printed by cmMakefile.
2002-05-01 10:12:48 -04:00
Bill Hoffman
fd22157e55
ENH: improve speed of GetSource function
2002-04-30 12:58:57 -04:00
Bill Hoffman
ecbc720829
BUG: make sure link directories are not duplicated
2002-04-29 10:23:29 -04:00
Brad King
5a418b0e00
ENH: Removed out-of-date commands CABLE_WRAP_TCL CABLE_CLASS_SET and CONFIGURE_GCCXML
2002-04-17 14:54:48 -04:00
Bill Hoffman
789267c949
ENH: speed improvements
2002-04-11 17:02:10 -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
Sebastien Barre
437a8c9816
FIX: foreach function-blockers were using expanded args. Add virtual func to specify if function blocker needs them expanded or not.
2002-03-26 16:45:52 -05:00
Bill Hoffman
93474efd8b
ENH: add .in as a header file type, as it can not be compiled
2002-03-14 16:04:02 -05:00
Bill Hoffman
809b32fe59
ENH: remove several compiler warnings
2002-03-13 10:25:11 -05:00
Bill Hoffman
4651dbcfc6
ENH: expand variables in arguments before the commands get them
2002-03-05 18:41:24 -05:00
Sebastien Barre
2649962d65
FIX: although a CMakeLists.txt file could be searched up 'n' level in the directory tree, ReadListFile() always implied a CMakeLists.txt file was up *one* level.
2002-02-25 15:06:18 -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
Amitha Perera
1859209282
BUG: .txx are not source files. They contain template code which can only
...
be compiled when included in a regular .cxx file. By themselves, they cause
do not cause code to be generated.
2001-12-28 15:56:15 -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
dca0fd0859
BUG: Existing projects have cache entries with the same name as the command they adjust (VTK_WRAP_JAVA in VTK, for example). Setting the command name as a variable is too dangerous.
2001-12-18 09:16:48 -05:00
Brad King
1b6ca3eba0
ENH: Each cmake command now adds a cmake variable of its own name, set
...
to ON. This allows constructs in CMakeLists.txt files like:
IF(FOO_COMMAND)
FOO_COMMAND()
ENDIF(FOO_COMMAND)
This provides the option to add CMake commands for extra functionality
without breaking compatability with earlier versions of CMake.
2001-12-17 16:19:27 -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
Berk Geveci
1944e1887d
ENH: expand variables in a command before escaping spaces in the command
2001-11-27 17:32:33 -05:00
Bill Hoffman
41017cbc88
ENH: clean up warnings
2001-11-13 12:38:53 -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
8591786867
ENH: add better error reports in parsing cmake files, like what file has the error
2001-10-02 17:28:55 -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
b9d56e8497
BUG: make a copy of the arguments before passing them to Execute
2001-09-20 13:44:27 -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
Bill Hoffman
3091e9b8f6
BUG: fix incorrect deletion of function blockers
2001-08-30 17:32:48 -04:00
Bill Hoffman
94337f8015
clean up a bit
2001-08-29 09:57:49 -04:00
Bill Hoffman
5edd7673e1
ENH: add caching for the input CMakeList.txt files, 2X speed up
2001-08-28 18:28:31 -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
538ff79e2f
ENH: improve coverage
2001-08-23 18:02:30 -04:00
Bill Hoffman
a4f40c31f1
ENH: add dump documentation test
2001-08-23 17:40:07 -04:00
Yves Starreveld
a159c2d306
Added support for .mm source files (ObjC++)
2001-08-21 11:04:38 -04:00
Sebastien Barre
afba045028
gcc and MSVC clash on basic_string::compare(), let's try substr()
2001-08-19 12:14:24 -04:00
Sebastien Barre
ce4f2718f2
Support for $ENV{VAR} syntax (lookup in the environment vars)
2001-08-18 12:52:19 -04:00
Brad King
3d86ad7237
ENH: Improved INSTALL_FILES and INSTALL_PROGRAMS commands to allow each call to the command in a single directory to specify a different install path.
2001-08-14 17:18:52 -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
Bill Hoffman
4b2d48051f
ENH: html output for docs
2001-08-07 13:46:04 -04:00
Brad King
ee12492c0a
BUG: Fixed off-by-one error in ExpandVariablesInString for case of $ or @ as last character of string.
2001-08-02 14:10:19 -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
cfa25e9e1a
ENH: Added INSTALL_PROGRAMS command and corresponding support. This involved splitting cmTarget::INSTALL into INSTALL_FILES and INSTALL_PROGRAMS enum values. INSTALL_FILES no longer adds execute permission. The INSTALL_PROGRAMS commnad takes either a list of explicit names, or a regex. It will not expand source lists like the INSTALL_FILES command will.
2001-07-31 11:29:21 -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
Bill Hoffman
8bad4180c7
ENH: Re-implemented ExpandVariablesInString to significantly improve performance.
2001-07-27 16:29:50 -04:00
Ian Scott
4878ed3d29
MAkefile now strips duplicate directores from the libraries and include paths
2001-07-27 13:06:05 -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
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
Bill Hoffman
556d27c9eb
ENH: add support for mac osx
2001-07-16 10:14:41 -04:00
Berk Geveci
87331468e9
Better error checking.
2001-07-10 16:20:24 -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
Bill Hoffman
8da64c7c44
ENH: put back stdio.h to get sprintf
2001-06-22 14:53:14 -04:00
Brad King
487dc39f12
ERR: Removed stray standard header include. They should be added to cmStandardIncludes.h
2001-06-22 12:17:53 -04:00
Ken Martin
24ec7f5c3c
removed stricmp
2001-06-22 11:32:27 -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
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
Bill Hoffman
9922155423
ENH: rename Invoke to InitialPass
2001-06-06 13:19:15 -04:00
Jim Miller
6948617497
Change name of file created from Testfile to CMakeTestfile.txt
2001-06-06 11:02:13 -04:00
Jim Miller
dce5c3efcc
FIX: forgot to close the files
2001-06-06 07:47:56 -04:00
Jim Miller
84dc25e9f5
ENH: Added AddTest, and GenerateTestfile routines
2001-06-05 20:34:01 -04:00
Bill Hoffman
a3cfcd9894
BUG: clean up memory leaks.
2001-06-04 10:18:03 -04:00
Ken Martin
3ebfc32b5e
added install target support
2001-05-23 11:53:37 -04:00
Ken Martin
619864c09e
new out of place builds
2001-05-21 09:32:11 -04:00
Ken Martin
aa72e182fe
half checked in changes for CMAKE_ROOT
2001-05-17 12:08:46 -04:00
Bill Hoffman
1cd9ce6f6e
ENH: unify make process on unix
2001-05-16 15:15: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
Geoffrey Cross
e539432495
definitions should now be overwritten if they already exist
2001-05-10 16:21:45 -04:00
Brad King
0829faa9e1
ENH: Moved cache entry addition into cmMakefile::AddLibrary and AddExecutable so that commands do not have to add it explicitly.
2001-05-07 18:14:13 -04:00
Bill Hoffman
885e37da22
ENH: call configure from cmake
2001-05-07 18:11:16 -04:00
Ken Martin
e126954393
fixes for untiltiy targets in all
2001-05-04 17:00:22 -04:00
Ken Martin
089aa3e106
option to make utilities in the all target
2001-05-04 15:50:26 -04:00
Bill Hoffman
de10cfc72e
ENH: move testing stuff to cmake from configure, good bye dashboard... :)
2001-05-04 11:30:46 -04:00
Ken Martin
faaadc4a08
better If checks
2001-05-04 08:46:05 -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
Ken Martin
13d4fd06f0
cache now loaded into makefile
2001-05-01 16:34:53 -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
Bill Hoffman
5b13f975b9
BUG: fix inplace builds
2001-04-27 11:36:53 -04:00
Bill Hoffman
de67154214
ENH: fix in source build with non-gnu
2001-04-27 11:03:32 -04:00
Bill Hoffman
e14ecec4c7
ENH: add output when creating files
2001-04-27 09:32:55 -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
Bill Hoffman
5c83326fb4
ENH: clean up cmake GUI and remove the parsing of CMakeLists.txt files by configure
2001-04-25 16:09:17 -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
24bce99cbf
cleaned up the coding style made ivars private etc
2001-04-19 13:28:46 -04:00
Ken Martin
865ec96644
major changes to support multiple libraries and source lists
2001-04-11 14:59:02 -04:00
Bill Hoffman
2a7964e310
ENH: better error reporting, and add NOTFOUND into cache for library and file find
2001-04-06 14:51:53 -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
4f59f98b70
ERR: Replaced CMAKE_CFG= with CMAKE_CFG_OUTDIR= to fix windows behavior.
2001-03-08 18:24:47 -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
e6713c5604
ERR: Fixed unknown command output error message for spacing.
2001-02-26 13:25:47 -05:00
Brad King
d31ce24413
ERR: Fixed warnings (int->unsigned int and a few others).
2001-02-23 10:40:13 -05:00
Bill Hoffman
0b0d1b1d43
ENH: add CMakeCache.txt support
2001-02-22 19:24:43 -05:00
Bill Hoffman
89e037ee19
ENH: first pass at cache, clean up the unix generator, clean up configure.in some
2001-02-19 15:13:48 -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
21b18581bd
ENH: new vnl
2001-02-13 18:49:09 -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
cacd6d1604
ENH:Tweaks to dump documentation
2001-01-12 14:35:15 -05:00
Will Schroeder
b67bacd1be
ENH:Tweaks to documentation
2001-01-12 12:49:49 -05:00
Will Schroeder
b3480795c4
ENH:Simple program dumps out internal documentation for CMake
2001-01-12 12:43:00 -05:00
Will Schroeder
0ce5ac760b
ENH:Documentation and cleanups
2001-01-11 14:55:47 -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
Dan Blezek
d888b5e39d
ENH: Added TESTS target
2000-12-07 15:45:55 -05:00
Bill Hoffman
0798a177ea
BUG: make sure SOURCE_FILES starts at the begining of line
2000-11-02 11:13:23 -05:00
Will Schroeder
1ae64b11fb
ENH:Reworked CMake to clearer indicate what the variables do
2000-11-02 10:24:59 -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