Commit Graph

197 Commits

Author SHA1 Message Date
Ken Martin 75ce40f4d6 minor fix 2003-08-05 09:07:31 -04:00
Ken Martin e8d1ee2712 added outputEcho method and fixed make help for nmake and borland 2003-08-05 08:49:23 -04:00
Ken Martin 439f07e83c added make help target first cut 2003-08-04 15:35:02 -04:00
Ken Martin 333562e8cc fix for debug libs on UNIX 2003-08-04 14:34:53 -04:00
Andy Cedilnik 2dff3c60ea ERR: Remove debug 2003-08-01 16:47:38 -04:00
Brad King 8daa162753 ENH: Dependency lists are now split into multiple make lines to allow longer lists on limited make programs. 2003-08-01 15:33:59 -04:00
Andy Cedilnik f5559b0ec8 ENH: Add support for -pthread 2003-08-01 15:33:32 -04:00
Brad King 1f3106c1b0 BUG: Adding link flags to an executable that links to shared libraries must be done for both EXECUTABLE and WIN32_EXECUTABLE targets. 2003-08-01 15:27:26 -04:00
Bill Hoffman 4808d9cec2 BUG (85): allow . to be in the name of an executable 2003-08-01 14:34:51 -04:00
Ken Martin 7d33e05a15 all Makefiles now have both full path to exe and short version 2003-08-01 14:10:22 -04:00
Andy Cedilnik c198fa1af3 ENH: Syntax cleanup 2003-08-01 13:24:42 -04:00
Bill Hoffman 63ca58ceaf ENH: allow lib prefix for to stay for nmake and borland make as it is not a system prefix 2003-08-01 13:13:43 -04:00
Andy Cedilnik b036f6e91d ENH: Fix echo's to use @echo. This way verbose mode does not print twice: Bug #45 - add @ from echo commands 2003-08-01 12:49:12 -04:00
Bill Hoffman 2ba1c0ab06 ENH: performance fixes for network depends 2003-07-28 18:12:23 -04:00
Ken Martin 85d16ea235 fix for utility depends bug#76 2003-07-24 11:37:43 -04:00
Brad King 38482b46d1 ENH: Merged use of the kwsys RegularExpression class instead of cmRegularExpression. 2003-06-23 14:10:12 -04:00
Brad King d92dcccb06 BUG: Uninitialized std::string returns bad pointers from c_str() on some platforms. 2003-06-11 11:00:59 -04:00
Brad King 2db5cc8c31 BUG: When executable output path is not set, we still need to generate the full path to the executable target. 2003-06-11 09:44:31 -04:00
Ken Martin 0b3b21fa63 warning fixes 2003-06-03 14:55:20 -04:00
Ken Martin ba68f771b3 yikes added new custom command support 2003-06-03 10:30:23 -04:00
Bill Hoffman 5730bd6b1b fix for .def files and nmake and spaces in the path 2003-05-19 13:41:10 -04:00
Brad King 1a1be82532 BUG: When building a C executable, we should add CMAKE_SHARED_LIBRARY_C_FLAGS, not CMAKE_SHARED_LIBRARY_LINK_FLAGS. The latter is already added by the link line procedure. 2003-05-16 15:20:56 -04:00
Andy Cedilnik 444ba9e442 ENH: Add support for make test even for fresh build of cmake 2003-05-05 08:42:11 -04:00
Andy Cedilnik 4e88020581 ENH: Support cmake in directory with space 2003-03-20 10:12:08 -05:00
Bill Hoffman fc170d5be6 fix for correct path style in depend file 2003-02-20 08:52:43 -05:00
Andy Cedilnik 77c538d12b BUG: Fix problem with lib in the name of library. If there was lib in the name of library, then on Windows (where there is not lib prefix), cmake split the name wrongly. This only manifested when full path to the library is specified. 2003-02-19 12:54:25 -05:00
Bill Hoffman ae5a80c795 spelling errors 2003-02-14 09:54:15 -05:00
Brad King c9cec2add5 ENH: Running "make test" can now have ARGS specified on the command line. These ARGS are passed to ctest. 2003-02-10 11:08:25 -05:00
Bill Hoffman 217f4b764a BUG: fix for spaces in paths in library path 2003-02-08 10:23:33 -05:00
Brad King cde384411d Several fixes/improvements:
- Fixed CollapseFullPath to work on relative paths with base paths
    not in the current working directory.
  - INCLUDE command now supports relative paths (using above fix).
  - Added ABSOLUTE option to GET_FILENAME_COMPONENT command to
    unwind symlinks and relative paths.
  - Fixed libName_EXPORTS macro definition to be valid C identifier.
  - Added DEFINE_SYMBOL target propterty for customizing the export symbol.
  - Implemented LINK_FLAGS target propterty for libraries in VC6 and VC7.

Several of these fixes were contributed by Gareth Jones.
2003-02-07 14:04:16 -05:00
Brad King 9cbb4fd308 BUG: Fixed typo in previous fix. 2003-01-20 18:55:00 -05:00
Brad King 594bc7f22b BUG: Fixed directory creation for spaces in install path. 2003-01-20 18:52:08 -05:00
Brad King 5bb1a79c9f ENH: Support for spaces in paths during make install. 2003-01-17 18:01:05 -05:00
Brad King c8694bb509 BUG: When there are no link flags, we want an empty string, not a null pointer. 2002-12-31 12:59:02 -05:00
Brad King b290e5282c ENH: Support LINK_FLAGS property for static libraries. 2002-12-31 12:41:12 -05:00
Bill Hoffman 3daf7f8056 WAR: remove warinings 2002-12-23 09:51:11 -05:00
Bill Hoffman e74377dcd8 ENH: fixes for borland with spaces in the path 2002-12-22 15:19:48 -05:00
Bill Hoffman d14ceb8a38 clean up warning and use more short paths 2002-12-22 11:50:24 -05:00
Bill Hoffman 3859417d1a ENH: add target properties 2002-12-20 17:15:45 -05:00
Brad King 4cbcd08594 BUG: Need source file and OBJECT_DEPENDS as dependencies of an object file. 2002-12-13 17:34:34 -05:00
Brad King 3348131819 ENH: Added source file property OBJECT_DEPENDS to support generated header files included in non-generated sources. 2002-12-13 16:16:48 -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
Bill Hoffman 65032b816e BUG: do not output empty depends 2002-12-10 13:59:53 -05:00
Bill Hoffman f03d370ee7 remove cerr 2002-12-10 09:34:08 -05:00
Bill Hoffman 5a676508c4 BUG: fix bug in depends 2002-12-10 09:28:05 -05:00
Andy Cedilnik 39714fb179 Rename variable to remove warning 2002-12-08 22:34:17 -05:00
Bill Hoffman b0f4a4cb39 ENH: fix IntDir jump and build problem 2002-12-06 15:35:22 -05:00
Bill Hoffman 19aa18fd26 use correct path type for check_cache file 2002-12-05 16:53:09 -05:00
Bill Hoffman 7985bc118e ENH: add a rule to automatically re-run cmake from the top if the CMakeCache.txt file is changed 2002-12-05 14:56:31 -05:00
Brad King 6676286784 ENH: When a full path to a library cannot be parsed, just add the whole path to the link line. If it isn't a valid path, the linker will complain. 2002-12-04 14:18:10 -05:00
Bill Hoffman 3873bd6257 correctly place both LINK_FLAGS and CXX_LINK_FLAGS and C_LINK_FLAGS into all the rules 2002-12-03 10:47:07 -05:00
Bill Hoffman 82a01df535 ENH: remove forced enable language call because a PROJECT command is now added to each project 2002-12-02 15:43:09 -05:00
Bill Hoffman 16db85a651 BUG: add a space around the compile flags 2002-12-02 13:18:38 -05:00
Bill Hoffman 3851ac2416 BUG: fix compile flags for a single file 2002-12-02 10:33:35 -05:00
Bill Hoffman 3c6d30e4ab fix for paths with spaces and borland 2002-11-22 16:59:21 -05:00
Bill Hoffman e9687d931a fix for create shared library 2002-11-21 08:45:45 -05:00
Brad King f87d7039e2 ERR: Fixed unused parameter warning. 2002-11-20 09:06:23 -05:00
Bill Hoffman fd30c82a19 fix some warnings 2002-11-19 14:40:23 -05:00
Bill Hoffman 1a2a600a55 fix warning 2002-11-19 09:12:23 -05:00
Ken Martin 86c32e96db fix some compiler warnings hopefully 2002-11-17 17:31:12 -05:00
Bill Hoffman dad83f4d3c BUG: fix for borland run time dll 2002-11-15 17:45:03 -05:00
Andy Cedilnik 4b0c9ee2be Fix compile flags on c files in static liobraries on windows 2002-11-14 14:06:54 -05:00
Andy Cedilnik 115ea25dab BUG: fix flags for c compiler on windows 2002-11-14 11:33:25 -05:00
Berk Geveci b7f96d0e75 Added missing space. 2002-11-14 09:38:28 -05:00
Andy Cedilnik e9fa0d3cbb Fix building on NMake. Use short paths 2002-11-14 09:37:58 -05:00
Bill Hoffman a79b16a67f reorder tWR so that it does not crash with shared 2002-11-13 23:37:20 -05:00
Bill Hoffman b7b32566d2 add support for borland run time flag for shared builds 2002-11-13 20:14:05 -05:00
Bill Hoffman c1c3149d16 BUG: fix for build out of dir for windows 2002-11-13 18:27:29 -05:00
Ken Martin 20b7e6b222 ENH: space fixes and add a status option to message command 2002-11-13 15:59:40 -05:00
Bill Hoffman 83d273334a BUG: fix path problems 2002-11-12 16:58:38 -05:00
Bill Hoffman e020a6d171 ENH: add .def file support 2002-11-12 15:24:31 -05:00
Bill Hoffman cb42655060 BUG: change to new variables 2002-11-12 14:48:38 -05:00
Bill Hoffman 359ca21903 BUG: fix reg expression 2002-11-12 13:06:45 -05:00
Brad King c8ced2aca6 *** empty log message *** 2002-11-12 12:47:44 -05:00
Bill Hoffman 36db45082e ENH: fix up several problems with new stuff 2002-11-11 18:10:30 -05:00
Andy Cedilnik b7701cfa1a Fix regular expressions to be able to handle windows libraries 2002-11-11 13:15:52 -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
Andy Cedilnik c3007233ec Rename variables to remove warnings 2002-10-17 10:51:23 -04:00
Brad King 281f7519e1 ENH: Renamed cmStringStream to cmOStringStream and added cmIStringStream. Removed cmInputStringStream. 2002-10-10 10:43:59 -04:00
Bill Hoffman cc6d56182d remove unused stuff 2002-09-27 16:18:55 -04:00
Andy Cedilnik 6ff1579ba7 Use file format detection 2002-09-25 09:31:13 -04:00
Bill Hoffman cc0e0d5660 one rule per line so borland make does not die 2002-09-24 09:51:42 -04:00
Andy Cedilnik 32fcc2464f Fix generation of C only modules 2002-09-23 15:54:25 -04:00
Brad King 67e13e9798 ERR: Fixed typo: INSTALL_PROGRAMS -> INSTALL_PROGRAM. 2002-09-17 14:40:22 -04:00
Brad King 5376acd6a9 BUG: INSTALL_DATA should be INSTALL_PROGRAMS for program install targets. 2002-09-17 14:09:39 -04:00
Brad King e5e0132203 ENH: Improved implementation of INSTALL_FILES and INSTALL_PROGRAMS commands. Source paths can now be relative or full paths, and don't need to be in the same directory as the CMakeLists.txt file. 2002-09-17 10:56:18 -04:00
Ken Martin 44e4c7cd77 changed when final pass is done 2002-09-15 08:53:02 -04:00
Ken Martin c1b92d2ea0 compiler warning 2002-09-13 08:18:13 -04:00
Franck Bettinger dffde0c4fa added generation of the GENERATED_QT_FILES list for make clean 2002-09-11 16:43:35 -04:00
Ken Martin 41628d2602 updated to fix the long depend line issue on Borland 2002-09-06 16:30:24 -04:00
Ken Martin 25ff4552b3 new arch 2002-09-06 13:06:23 -04:00
Ken Martin 709517bcf0 minor fix 2002-09-06 09:24:30 -04:00
Ken Martin 50a1f8a5e4 minor fixes 2002-09-06 08:33:21 -04:00
Ken Martin ae34a490bb fixes 2002-09-04 15:28:11 -04:00
Ken Martin a888ba53fa in progress 2002-08-30 16:01:48 -04:00