Commit Graph

16925 Commits

Author SHA1 Message Date
Ken Martin 73f04d1409 many fixes and cleanup and features 2001-04-24 16:49:12 -04:00
Bill Hoffman b5746484e4 BUG: fix duplicate property items 2001-04-24 14:19:13 -04:00
Bill Hoffman 37468fad3a BUG: fix cache updates 2001-04-24 13:32:31 -04:00
Bill Hoffman 818b0e5bc1 BUG: fix build directory problem 2001-04-24 12:40:37 -04:00
Bill Hoffman 90e5612298 ENH: new GUI editor for cmake cache file 2001-04-23 16:40:29 -04:00
Ken Martin 619dd8c479 added option command 2001-04-23 16:34:12 -04:00
Ken Martin b49204ab0d new command 2001-04-23 16:33:24 -04:00
Dan Blezek 8852ed9d2f BUG: Clean was not doing it's job 2001-04-23 13:58:36 -04:00
Brad King 80ce581a0d ERR: Added virtual destructor to complement virtual functions in cmIfFunctionBlocker. 2001-04-23 10:23:24 -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
Brad King 57c4325c7d ERR: We can't assume a vector iterator is a pointer. It must be dereferenced to get a reference to the element, and then we can take the address of that to get a pointer. "i" becomes "&*i" 2001-04-18 08:01:56 -04:00
Brad King c025838c73 ERR: Removed unused variable. 2001-04-17 07:42:33 -04:00
Bill Hoffman 7155d1f68b BUG: fix small compile issues on HP aCC 2001-04-16 15:40:40 -04:00
Brad King f63e4a144c ENH: Changed m_Indices to an stl set and renamed it to m_IndexSet. Using a set results in a significant performance increase and reduction in memory usage. 2001-04-16 12:31:56 -04:00
Jim Miller e963dcaa8f FIX: allow ADD_LIBRARY with no source list 2001-04-16 10:15:05 -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
Brad King fb6c4b8710 ENH: Added individual library linkage output so that shared libraries will not try to link against themselves. 2001-04-12 09:55:08 -04:00
Ken Martin e784f153cf removed old rules 2001-04-12 09:49:33 -04:00
Brad King 69308873f9 ENH: Generation now sets up proper linking of shared libraries to each other. 2001-04-11 16:34:53 -04:00
Ken Martin 865ec96644 major changes to support multiple libraries and source lists 2001-04-11 14:59:02 -04:00
Brad King 7b47a5d2ef ENH: Need BUILD_SHARED_LIBRARIES defined for making windows DLLs. 2001-04-10 15:26:57 -04:00
Brad King d1e05d738f ERR: Added double-quotes around command name before arguments are appended. 2001-04-09 10:56:55 -04:00
Brad King a04fa127a8 ERR: Missed one EscapeSpaces call. 2001-04-09 10:53:17 -04:00
Brad King e0da3ef275 ERR: Corrected use of double-quotes to be compatible with UNIX make. Now double quotes (windows) or escape sequences for spaces (unix) are added when dependencies are output. 2001-04-09 10:31:36 -04:00
Brad King e7bd5fcd19 ENH: Added support for spaces in the output directory names. Spaces in the input directory name may work also, but are untested. 2001-04-09 09:44:29 -04:00
Bill Hoffman 70b14df3f0 BUG: fix depends for libraries and executables in the same dir 2001-04-06 17:01:57 -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
Ken Martin 3355878eeb fixed the documentation some 2001-04-06 12:00:39 -04:00
Jim Miller 13b8be3fb7 FIX: configurations list needed to be reset for each dsp file created 2001-04-06 08:28:57 -04:00
Jim Miller ee12876e2d FIX: returned to using /O2 optimization level and put a pragma in the netlib code that could not handle the /Og component of /O2 2001-04-04 09:33:59 -04:00
Brad King e318d87aff ERR: Blank line regular expression updated to allow whitespace on the line. 2001-03-28 11:49:15 -05:00
Brad King 9b079becdf ENH: Added support for CABLE_SOURCE_FILES to refer to files that are not in the current directory. The include path is searched for the files. 2001-03-23 14:27:02 -05:00
Brad King 408cad388a ERR: Added pragma to disable symbol length warning for Intel compiler. 2001-03-21 15:52:29 -05:00
Brad King 20fb92d80b ERR: Small bug in generated DSP file fixed. A custom command environment variable has been replaced with explicity writing out the command. 2001-03-20 13:48:23 -05: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
Jim Miller 51ef865ef8 ENH: ignore unused libary warnings, removed /force 2001-03-19 11:47:12 -05:00
Brad King 410f7d12db ENH: Added text files group to DSP output. CMakeLists.txt is duplicated in this group and outside, but fixing this will require a reorganization of custom rule generation. I should get to that soon. 2001-03-19 11:02:58 -05:00
Brad King 28cdb19782 ERR: Changed generation of rule to generate cable_config.xml to be produced differently for windows and unix. 2001-03-19 11:01:33 -05:00
Brad King 31ae187d0c ERR: Removed functions I just added. They don't belong here (yet?). 2001-03-19 11:00:23 -05:00
Brad King a8f9aa814e ENH: Added generation of a rule to re-run CMake if the cable_config.xml file is missing. 2001-03-19 10:09:43 -05:00
Brad King 9312a7706b ENH: Added functions to get information about the CMake executable on each platform. 2001-03-19 10:09:04 -05:00
Brad King 553457a4a4 ERR: Re-ordered declaration of members v. order of initialization on the constructor to match each other. 2001-03-16 11:14:08 -05:00
Brad King 2d26d0be68 BUG: Rearranged cable config file open to do open in construction of m_OutputFile. Fixes problem on SGI with opening the file. 2001-03-16 11:04:35 -05:00
Brad King df8a7ecafd ENH: Changed generated includes to not have full path specified. 2001-03-16 09:25:18 -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 b9a8948ec8 ENH: Added SOURCE_FILES syntax to CABLE_DEFINE_SET command. 2001-03-15 14:46:08 -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 354992c522 BUG: Fixed segfault when CABLE_PACKAGE is only CABLE command. Related to order of virtual destructor calls. 2001-03-15 10:42:43 -05:00
Brad King d3735b65d6 ERR: Added for-loop scoping hack for CMake sources on MSVC 2001-03-14 17:49:47 -05:00
Brad King 08ff3427a8 ENH: Added support for comments inside function calls and indented comments. 2001-03-14 16:34:24 -05:00
Brad King 007f5ccd5f ENH: Added support for element tag specification with syntax tag:element as an argument to the CABLE_DEFINE_SET command. A single colon with nothing to its left will result in an empty tag. 2001-03-13 18:01:49 -05:00
Brad King 50c9139628 ERR: Less-than-zero test replaced with greater-than-zero since we want zero arguments. 2001-03-13 09:33:55 -05:00
Brad King ce484264de ENH: Improved error handling when GetError is called on a command that has not called SetError. 2001-03-12 18:30:58 -05:00
Geoffrey Cross 8c4795025f Include directories under Win32 only (inherited by subdirs) 2001-03-12 10:10:39 -05:00
Brad King 8fb07209eb ENH: Finished Simplifying dsptemplate processing with in place of separate Release, Debug, ReleaseDLL, ... configurations. 2001-03-09 16:56:38 -05:00
Brad King 772b1f6278 ERR: Fixed library path problem for ReleaseMinSize build. should now be used in place of separate Release, Debug, and ReleaseMinSize. 2001-03-09 15:35:13 -05:00
Brad King 05f863d5ab ERR: Fixed header template for Release MinSize builds. 2001-03-09 14:35:02 -05:00
Brad King 68ff294f84 ENH: Added Release MinSize configuration for executables. 2001-03-09 11:34:22 -05:00
Brad King f2cd113761 ENH: Made UTILITY_SOURCE command inherited, just like FIND_PROGRAM. 2001-03-09 11:33:33 -05:00
Brad King 2924befe14 ERR: Missing initalization of a cmClassFile::m_HeaderFileOnly fixed. 2001-03-09 11:16:35 -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 60507258c7 ERR: Added automatic creation of directory for cable_config.xml file and corresponding error reporting. 2001-03-09 10:52:43 -05:00
Brad King 93a17629b6 ENH: Added proper dependency generation for a package on cable executable. 2001-03-09 10:52:03 -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 1b6afc5c53 ENH: Added output of custom rules for XML sources. 2001-03-08 18:13:43 -05:00
Brad King 670afe1fc0 ENH: Added output of defines flags as part of INCLUDE_FLAGS. 2001-03-08 17:38:46 -05:00
Brad King fe25e5873b ENH: Added output of a custom command's m_Source as a dependency. 2001-03-08 17:31:59 -05:00
Brad King b23fedda77 ERR: Minor wording error in output message. 2001-03-08 17:31:27 -05:00
Brad King 519f9d81e3 ENH: Creation of generator rule now properly uses the custom command's m_Source member. 2001-03-08 17:30:53 -05:00
Brad King 71153219e1 ENH: Added creation of custom rules for generating CABLE packages. 2001-03-08 16:13:27 -05:00
Brad King 02fe911803 ENH: Added support for finding dependencies for files that don't exist. Dependency recursion begins with hints provided in the cmClassFile for a file if it doesn't exist. 2001-03-08 16:12:16 -05:00
Brad King 353f6c3261 ENH: Added .txx detection for Header block output. 2001-03-08 11:30:26 -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 5c8b68ba70 ERR: Commented out experimental code that was accidentally checked in. 2001-03-07 13:33:29 -05:00
Brad King 8f6468f9f2 ENH: Added Cable to Utilities and appropriate CMakeLists.txt changes. Moved VXLNumerics link out of source's root directory and into separate entries for Code and Testing directories. This prevents linking of all programs (like Cable) with the numerics library. 2001-03-07 13:23:59 -05:00
Brad King 278bcbd7be ENH: Added custom rule support to cmUnixMakefileGenerator. 2001-03-02 16:04:26 -05:00
Will Schroeder 9f98906e92 BUG: repeat all -l options to avoid having to worry about link order. 2001-03-02 13:47:33 -05:00
Brad King b6d1cda20e ENH: CABLE config file (config_cable.xml) should now be opened in the output directory. 2001-03-02 12:27:41 -05:00
Brad King dc72655414 ENH: Change to new CABLE command architecture. CABLE configuration code is now generated on the first pass, during the Invoke() calls. 2001-03-01 16:47:05 -05:00
Bill Hoffman af30fe6745 BUG: fix circular depends on libraries and remove depends for static libraries 2001-02-28 17:50:15 -05:00
Brad King d0a8794746 ENH: CABIL -> CABLE rename. 2001-02-28 09:34:01 -05:00
Ken Martin e5e2a57bfb many enhancements including dll support 2001-02-27 16:50:51 -05:00
Ken Martin d13d283f14 bug fixes 2001-02-27 16:49:53 -05:00
Ken Martin e14d38d3c8 added new commands 2001-02-27 16:49:33 -05:00
Ken Martin a91e3b5158 added wrap exclude ivar 2001-02-27 16:48:55 -05:00
Ken Martin 2bba34959c new commands 2001-02-27 16:48:15 -05:00
Ken Martin cab31a5013 dll build rules 2001-02-27 16:46:43 -05:00
Ken Martin 6e86bd7238 change in options for much smaller libraries 2001-02-27 16:44:58 -05:00
Brad King 711c652edb ENH: Implemented automatic tag generation for CABIL_DEFINE_SET command. Added tag output to WriteConfiguration methods. Added CABIL_INSTANTIATE_CLASS command to generate explicit class template instantiation configuration output. 2001-02-27 16:28:56 -05:00
Brad King 41d198ed40 ENH/BUG: Improved function parsing to allow just about anything inside a double-quoted argument. Also fixed parsing of lines with both quoted and non-quoted arguments. 2001-02-27 15:41:21 -05:00
Bill Lorensen 5c74b6b90d ENH: mask on mkdir set to 777. 2001-02-27 12:00:36 -05:00
Bill Lorensen 79b7d8a112 ERR: missing std:: on cout. 2001-02-27 12:00:03 -05:00
Jim Miller 0093fc02a2 FIX: added /GR to MinSize build to avoid warnings about dynamic cast 2001-02-26 20:58:41 -05:00
Brad King 6ce04806e0 ERR: Fixed configuration file output to open file in output directory. 2001-02-26 18:20:37 -05:00
Brad King 98590039d6 int -> unsigned int 2001-02-26 18:16:05 -05:00
Brad King b908149828 ENH: Added CABIL commands for configuration file generation. 2001-02-26 18:00:49 -05:00
Brad King 8859bd5ac8 ENH: Added GetUsedCommands() method. 2001-02-26 17:58:54 -05:00
Brad King eb80df5561 ERR: fsream.h -> fstream.h 2001-02-26 17:58:26 -05:00
Ken Martin acbd160dd2 a variety of fixes and enhancements 2001-02-26 17:17:34 -05:00
Ken Martin 32e738cd0c very early version of a wrapper 2001-02-26 17:17:06 -05:00
Ken Martin 3b338dacaf added functionality, fixed bug if no file existed and with header files 2001-02-26 17:15:44 -05:00
Ken Martin 7cde8fd0f4 fixed bug and modified functionality 2001-02-26 17:14:33 -05:00
Ken Martin 3acd5951ba new command 2001-02-26 17:13:30 -05:00
Brad King e6713c5604 ERR: Fixed unknown command output error message for spacing. 2001-02-26 13:25:47 -05:00
Brad King 463e466be3 ENH: Added safe downcast support (without RTTI) to cmCommand and its subclasses. 2001-02-26 12:07:53 -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 ba6a7205f6 BUG: remove debug print 2001-02-22 19:31:40 -05:00
Bill Hoffman 0b0d1b1d43 ENH: add CMakeCache.txt support 2001-02-22 19:24:43 -05:00
Bill Hoffman 5d903c6b0f ENH: remove relative and extra paths in CMakeLists.txt files 2001-02-20 14:12:50 -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
Bill Hoffman f08fc5ae66 ENH: clean up comments some 2001-02-16 15:34:09 -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 252b0d8957 BUG: set output directory correctly 2001-02-14 12:58:57 -05:00
Bill Hoffman 0adb5237bd ENH: fix depend segfault 2001-02-14 12:26:49 -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
Bill Hoffman 9d431ae48b ENH: share a .lib with the command line and mfc versions. 2001-02-12 14:42:46 -05:00
Bill Hoffman d195c01a90 ENH: add cache manager class, move all commands into cmCommands.cxx to speed up compile times, share a .lib with the command line and mfc versions. 2001-02-12 14:26:25 -05:00
Bill Hoffman 452a127004 ENH: add /GX /Zm1000 2001-02-06 17:01:00 -05:00
Bill Hoffman ebb4113de2 ENH: min size build 2001-02-06 16:48:20 -05:00
Bill Hoffman dda8c4722a ENH: put back /Zm1000 so we can build large files 2001-02-06 10:52:56 -05:00
Jim Miller 431a7d9f47 FIX: remove precompiled header settings 2001-02-06 08:56:36 -05:00
Jim Miller 3b34313477 FIX: added /force to link options and removed precompiled header usage 2001-02-06 08:54:32 -05:00
Jim Miller 9039bc75f1 BUG: backed off on the compiler optimization used. Instead of using /O2, we now use all the components of /Ox (/Ob1 /Oi /Ot /Oy /Gs) except for /Og 2001-01-25 15:48:58 -05:00
Will Schroeder c75e8bbef0 BUG: convert to dos format 2001-01-22 10:00:16 -05:00
Will Schroeder 18128c97f1 BUG: make dsp and dsw files binary 2001-01-22 09:50:16 -05:00
Will Schroeder 2846ba0fff BUG: make dsp and dsw files binary 2001-01-22 09:49:39 -05:00
Will Schroeder ae1cc5252b ERR:Oops, use SimpleRule not SimpleCommand 2001-01-18 12:06:25 -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
Bill Hoffman 85d16dbd35 ENH: add define flags in the right place 2001-01-12 14:05:11 -05:00
Bill Hoffman 7ae5e97a3d ENH: allow continue if missing MSC configure file 2001-01-12 13:49:03 -05:00
Bill Hoffman c9c08bca66 BUG: add check for missing ) on function 2001-01-12 13:48:38 -05:00
Will Schroeder 9a0e8e41de ENH:Tweaks to dump documentation 2001-01-12 13:07:20 -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
Will Schroeder 88bbc0c30d ENH:Documentation and cleanups 2001-01-11 14:47:38 -05:00
Dan Blezek 336f3e80db BUG: Broken on non WIN32 platforms, changed SetEnableOff to EnabledOff 2001-01-11 11:35:16 -05:00
Will Schroeder 5faa3b9f28 ENH:Added documentation; clean-up 2001-01-11 08:04:28 -05:00
Will Schroeder be6b895a3a ENH:Beginning clean up; adding documentation 2001-01-10 17:29:46 -05:00
Will Schroeder d9a73d8d24 ENH:Beginning clean up; adding documentation 2001-01-10 17:13:32 -05:00
Will Schroeder 26dbdd4671 ENH:Beginning clean up; adding documentation 2001-01-10 17:05:42 -05:00
Bill Hoffman 26f072dfe1 BUG: look for -l and -L only at the begining of a link string 2001-01-09 15:13:26 -05:00
Dan Blezek d786780ccb BUG: main can not be void under ANSI C++ 2001-01-05 13:53:01 -05:00
Dan Blezek 8b46d1e095 BUG: Looking for cmMakeFileGenerator.h rather than cmMakefileGenerator.h 2001-01-05 13:49:30 -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 748e1a36b3 BUG: remove bogus warning about not finding a depend file, if there are no include paths 2000-11-22 11:02:30 -05:00
Bill Hoffman d466664817 BUG: fix inplace build 2000-11-10 17:13:13 -05:00
Will Schroeder 65a28c7705 ENH:Changed CMAKE_SOURCE_ROOT to CMAKE_SOURCE_DIR 2000-11-09 10:41:37 -05:00
Bill Hoffman f76a992ff9 ENH: add ability to run from different directories 2000-11-03 16:37:53 -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 366c783f6c BUG: remove tabs from classnames 2000-10-25 17:19:27 -04:00
Bill Hoffman a39c64ce77 BUG: remove tabs from classnames 2000-10-25 17:18:14 -04:00
Dan Blezek 0cfdc33d4a BUG: if the path to your source directory has a -S in it, it will be picked up as the source directory by the command line parser, because it matches -S at any character position in the argements. Bad, should have used getopt, except that it is not cross platform. 2000-10-02 14:21:23 -04: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 749b7ff7a3 BUG: remove cout 2000-09-18 10:19:44 -04:00
Bill Hoffman 283d3a0b73 ENH: added a config setup file for CMakeSetup. Cleaned up the names of the source and binary directories 2000-09-18 09:19:38 -04:00
Bill Hoffman 38f5ab8527 ENH: remove unused files 2000-09-18 07:29:19 -04:00
Bill Hoffman 6c9d3df4d7 NEW: class to collect all the flags from parent directories 2000-09-12 05:37:54 -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 e2ad65d3c2 BUG: fix release build on windows 2000-09-01 10:43:10 -04:00
Bill Hoffman c5e7d5a796 BUG: fix build of lib.a problem 2000-08-31 14:26:38 -04:00
Bill Hoffman 382b9d0508 BUG: fix name of command line version in dsp files 2000-08-31 14:15:58 -04:00
Bill Hoffman e06a538a30 ENH: fix for SGI make 2000-08-31 09:36:52 -04:00
Bill Hoffman dbad2a6901 ENH: add ability to compile all the files in a sub-directory 2000-08-30 14:00:44 -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