Commit Graph

321 Commits

Author SHA1 Message Date
Ken Martin dd2876adb0 removed old functions 2001-05-04 08:45:17 -04:00
Brad King 5e4a89b1b9 ENH: Added generation of internal CMAKE cache entry with path to command-line CMake executable. 2001-05-03 16:55:41 -04:00
Brad King 5079efdc68 ENH: Added cmSystemTools::FindProgram() and full-path detection utilities. 2001-05-03 16:55:18 -04:00
Ken Martin 79f95167bd minor fixes 2001-05-03 15:28:06 -04:00
Ken Martin 34a60cdcc9 removed deprecated commands 2001-05-03 11:04:11 -04:00
Ken Martin 2e6ea303c0 now support cmakedefine 2001-05-03 10:35:15 -04:00
Ken Martin fc1562f004 system config uses cmake commands now 2001-05-03 08:52:32 -04:00
Ken Martin d649156aa1 cache loaded into makefile 2001-05-02 11:53:39 -04:00
Ken Martin 6d5508e64b fixed bug in limiting to source lists 2001-05-01 17:52:36 -04:00
Brad King 1d4a3aa48e ENH: Changed cmCableWrapCommand to inherit from cmCableDefineSetCommand since they do almost exactly the same thing. Added a GetXmlTag virtual function to both classes to return what XML tag to generate in the set's output. cmCableDefineSetCommand generates a "Set" tag, and cmCableWrapCommand generates a "WrapperSet" tag. What is inside the tags is still generated by the cmCableDefineSetCommand superclass. 2001-05-01 17:37:45 -04:00
Brad King 45e9d19c6c ENH: Changed WriteConfiguration back to const because it doesn't need to report errors anymore. 2001-05-01 17:35:23 -04:00
Bill Hoffman f7d33c41cf ADD: add utiltity templates 2001-05-01 17:12:04 -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
Ken Martin ed4f14fb42 added method to puch cache into makefile defines 2001-05-01 16:28:32 -04:00
Ken Martin de203f736c slight bug in If command I think 2001-05-01 16:27:51 -04:00
Ken Martin a99dfa60ae new set command and IF NOT 2001-05-01 11:16:20 -04:00
Ken Martin 2fb2207c10 bug fixes 2001-04-30 14:56:06 -04:00
Brad King e7519358e7 BUG: Fixed output of CMakeLists.txt path in cable_config.xml dependency list for unix. Needed to escape spaces instead of enclosing in double quotes. 2001-04-30 11:51:17 -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
Brad King 13143f51d2 ERR: Renamed CustomCommands to BuildRules to match change in cmSourceGroup. 2001-04-27 14:57:48 -04:00
Brad King 244892bc3b BUG: Removed output of GCC_XML rules when the command cannot be found. 2001-04-27 14:52:16 -04:00
Brad King 2f42d7ffcb BUG: Removed output of dual rules for source files that are processed by both the compiler and by a custom command. Also removed generation of duplicate CMakeLists.txt in the project files. 2001-04-27 14:51:43 -04:00
Ken Martin ca64a39b86 added configure file 2001-04-27 14:25:42 -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
Ken Martin 07bd60f6b3 better help strings 2001-04-27 09:30:27 -04:00
Will Schroeder dbdf1c356b ENH:New copyright 2001-04-27 09:13:01 -04:00
Will Schroeder 54cfe84f3f ENH:New copyright 2001-04-27 08:01:17 -04:00
Will Schroeder 1ba4ef0fdf ENH:Copyright 2001-04-27 07:55:13 -04:00
Ken Martin 41e1270413 support for debug and opt libraries 2001-04-26 16:22:53 -04:00
Ken Martin 888e47ddb4 better help 2001-04-26 15:41:18 -04:00
Brad King 61d2314989 ENH: Changed WriteConfiguration to non-const so it can do error checking. Added parsing and output of a name for each WrapperSet generated from a CABLE_WRAP command. 2001-04-26 15:27:38 -04:00
Bill Hoffman 2c1fb789d7 ENH: add help for cache entries 2001-04-26 14:53:44 -04:00
Ken Martin 6e5af0e6cc some fixes for If commands 2001-04-26 10:49:12 -04:00
Ken Martin 30ad61805b bug fixes 2001-04-26 09:38:31 -04:00
Bill Hoffman ab7f884a44 ENH: set initial build to source dir 2001-04-25 19:01:12 -04:00
Bill Hoffman 11b68dea51 ENH: add error checking for empty build dir 2001-04-25 18:53:33 -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 61091234c3 rules were not inherited when they should be 2001-04-25 11:47:03 -04:00
Brad King c3ab706698 BUG: Fixed output of dependencies. It needs to loop over the makefile's targets, not the source lists. 2001-04-25 09:39:23 -04:00
Brad King ddbf1feab4 STYLE: Updated comments for name change cmClassFile->cmSourceFile 2001-04-25 09:37:57 -04:00
Brad King 91ddeacdbb ERR: cmClassFile.h -> cmSourceFile.h include change. 2001-04-24 17:33:09 -04:00
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