Commit Graph

183 Commits

Author SHA1 Message Date
Bill Hoffman bcc0b4018d BUG: more fixes for relative path stuff 2004-01-23 13:01:28 -05:00
Bill Hoffman cfe6aee59b ENH: convert the .o files to not have ./ 2004-01-23 11:22:48 -05:00
Brad King ed1c2573aa BUG: Fix to build rule generation with relative paths. 2004-01-23 09:54:50 -05:00
Brad King fad0651d84 BUG: Fix jump-over-and-build for missing libraries when the relative path to the library is different between the source and destination of the jump. 2004-01-22 10:54:15 -05:00
Bill Hoffman 7f018b58ac ENH: bug fix for IBM broken xlC 6.0.0.4 compiler 2004-01-20 14:36:00 -05:00
Bill Hoffman c1f83b0515 ENH: add a local target for libraries as well as executables 2004-01-09 12:28:47 -05:00
Bill Hoffman d1efed1415 ENH: fix for hp make and relative paths never have targets with a ./ at the start of the name 2004-01-06 16:18:38 -05:00
Bill Hoffman ae69928e69 BUG: borland make treats ./target and target as different also convert to outputpathrelative may get passed a quoted path 2003-12-30 08:41:04 -05:00
Ken Martin d0bc3b9acd only generate test target when enabled 2003-12-29 16:27:40 -05:00
Bill Hoffman b753a6794b BUG: use ./ infront of the current directory 2003-12-29 14:55:43 -05:00
Bill Hoffman fbd0bafca7 ENH: use cd pwd trick for path for libnames 2003-12-24 13:17:17 -05:00
Bill Hoffman f3c42f593e BUG: use full paths via pwd for -L paths on unix shells 2003-12-24 10:51:43 -05:00
Bill Hoffman d79e3ae698 ENH: move relative path to parent generator class 2003-12-22 15:16:46 -05:00
Bill Hoffman a5fa6e2fe2 ENH: make new relative rpath work with spaces 2003-12-22 14:17:47 -05:00
Bill Hoffman f0bc1ed9b2 ENH: use fullpaths based on the actual current directory 2003-12-22 13:59:29 -05:00
Bill Hoffman 4f8afac655 ENH: use a full path for rpath 2003-12-22 13:15:33 -05:00
Bill Hoffman eb9fc21543 ENH: add support for relative paths in makefiles 2003-12-22 12:24:26 -05:00
Andy Cedilnik 1b2f84a727 ERR: Remove debug 2003-12-18 13:40:29 -05:00
Andy Cedilnik c3840b5cc3 BUG: Fix Bug #445 - Same library in multiple projects can cause problems 2003-12-18 13:04:28 -05:00
Brad King c1add9106c ENH: Using separate CMAKE_SHARED_LIBRARY_SONAME flags for C and CXX. 2003-12-12 14:35:18 -05:00
Bill Hoffman 5acab1eed1 BUG: roll back change for variable used in path 2003-12-10 08:55:15 -05:00
Bill Hoffman 1eca26f4c4 ENH: use variables for output paths 2003-12-09 08:32:15 -05:00
Brad King 9229e6bc8b ENH: Adding implementation of shared library version support on UNIX. This addresses the feature request described in bug#32. 2003-11-26 17:38:37 -05:00
Bill Hoffman 34853be45a BUG: fix for bug 346, borland should now support dash in the path 2003-11-05 11:18:15 -05:00
Brad King b7361dd04e BUG#318: cmake.check_depends now collects all dependencies for cmake.depends and then uses a single rule. 2003-10-31 17:22:57 -05:00
Bill Hoffman 3e2c1f3477 BUG: fix for bug 303 pass makeflags to sub makes 2003-10-28 11:06:06 -05:00
Brad King a381efce42 ENH: Added support for "make VERBOSE=1" to run one-time verbose make runs without changing CMAKE_VERBOSE_MAKEFILE. 2003-08-26 17:13:43 -04:00
Bill Hoffman 26c08ee33b ENH: remove ifdef code and use makefile definitions 2003-08-22 11:56:44 -04:00
Bill Hoffman a413160fec ENH: add the unix makefile generator as an option from the windows GUI, this builds with mingw, cygwin, and combinations of make cl, bcc32 2003-08-21 16:22:23 -04:00
Ken Martin 072db6ad70 removed redundent includes 2003-08-10 18:30:54 -04:00
Ken Martin 103f115f25 remove shadowed variable 2003-08-08 09:17:01 -04:00
Brad King 3cdde61776 ENH: Makefiles now have rules to do a global generate if the CMake listfiles have changed. Necessary for when try-compiles are added to a listfile. 2003-08-07 11:42:02 -04:00
Andy Cedilnik b41978fef7 ENH: If CMAKE_EDIT_COMMAND is not specified, use cmake -i 2003-08-06 17:58:47 -04:00
Bill Hoffman 60f9816f96 ENH: do not output make install rules on windows because they do not work 2003-08-06 12:52:17 -04:00
Andy Cedilnik ea6a84cc64 ENH: Fix install problem 2003-08-06 10:15:48 -04:00
Brad King df2280a7ab BUG: Fixed implementation of long dependency list support. The proxy target must have a corresponding file to work correctly. Instead of using a proxy target, we now just list one line for each dependency and then print one copy of the build rule at the end. 2003-08-05 17:39:50 -04:00
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