Commit Graph

5541 Commits

Author SHA1 Message Date
Andy Cedilnik f119d6e4ef COMP: Remove warnings 2006-02-24 10:56:39 -05:00
Andy Cedilnik 77e5a607f2 BUG: Only add test targets when testing is enabled. Also add CMAKE_CFG_INTDIR when specified 2006-02-24 10:55:44 -05:00
Andy Cedilnik 0ba40b59c7 COMP: Handle preinstall properly on IDEs 2006-02-24 09:43:23 -05:00
Andy Cedilnik 1ecd48ba67 COMP: Fix for preinstall 2006-02-24 09:32:27 -05:00
Andy Cedilnik a488b192af BUG: Fix location of ctest for bootstrap 2006-02-24 08:57:05 -05:00
Andy Cedilnik 32aece7ad4 STYLE: Nightly Version update 2006-02-24 02:24:39 -05:00
Bill Hoffman 2874b35f5c ENH: try to fix things up for the dashboard 2006-02-23 18:25:07 -05:00
Andy Cedilnik 66ea097554 ENH: Properly handle target dependencies 2006-02-23 17:30:12 -05:00
Andy Cedilnik 542b034a66 COMP: Even more Visual Studio fixes. Why is this code duplicated? 2006-02-23 14:05:32 -05:00
Andy Cedilnik 7c0251014c COMP: More fixes for visual studio 2006-02-23 13:46:34 -05:00
Andy Cedilnik 549b77034e COMP: Fixes for visual studio 2006-02-23 13:37:35 -05:00
Bill Hoffman 3d617b48aa ENH: fix for bug 2908 crash for empty source group name 2006-02-23 11:36:36 -05:00
Andy Cedilnik 32c403f665 ENH: Remove debug 2006-02-23 10:48:35 -05:00
Andy Cedilnik 12dc64c7f5 ENH: Add a notion of a global target 2006-02-23 10:07:24 -05:00
Andy Cedilnik ea5564624c ENH: Add a notion of a global target 2006-02-23 10:03:24 -05:00
Andy Cedilnik f1fb182270 ENH: Add accessors for CTest and CPack 2006-02-23 10:00:44 -05:00
Andy Cedilnik 2e19553e7c ENH: Allow running without config file 2006-02-23 09:59:42 -05:00
Andy Cedilnik 1d96f839d7 ENH: Several NSIS features 2006-02-23 09:38:40 -05:00
Andy Cedilnik 69ca764212 STYLE: Nightly Version update 2006-02-23 02:34:30 -05:00
Andy Cedilnik 61dab999dd STYLE: Nightly Version update 2006-02-22 02:36:10 -05:00
Bill Hoffman 0a0e459102 ENH: make command line flags more consistent with ide settings 2006-02-21 12:19:32 -05:00
Bill Hoffman 74d315077c ENH: use last mount point found for mingw location, not first 2006-02-21 09:35:11 -05:00
Bill Hoffman b6863e9fad ENH: try to get the order a bit better 2006-02-21 07:58:01 -05:00
Andy Cedilnik 9e2049ffc3 STYLE: Nightly Version update 2006-02-21 02:35:16 -05:00
Bill Hoffman e015df7d06 ENH: better finding of mingw from msys, and delete CMakeFiles directory when cache is deleted 2006-02-20 23:08:12 -05:00
Bill Hoffman 2cb68f6000 ENH: make sure CMAKE_STANDARD_LIBRARIES are used 2006-02-20 17:47:12 -05:00
Bill Hoffman 398827ebc1 ENH: make it compile on vs6 2006-02-20 14:37:24 -05:00
Brad King 7bdec94154 BUG: Add target-level COMPILE_FLAGS to the target not the individual source files. This simplifies the generated files and puts flags in a more logical order (VS6 works, VS7 needs more translation to work). 2006-02-20 14:21:10 -05:00
Bill Hoffman 39e636a4a4 ENH: change expand stuff to pass a struct for all the args 2006-02-20 13:42:18 -05:00
Brad King e20c007181 ENH: Order compilation flags from most general to most specific: language, then target, then source. 2006-02-20 12:48:56 -05:00
Brad King 3fa4a95f56 BUG: Xcode generator should use local generator computation of include directories. 2006-02-20 09:54:25 -05:00
Andy Cedilnik e16c8d70d0 STYLE: Nightly Version update 2006-02-20 03:00:19 -05:00
Brad King 3ca9ef09b7 BUG: Fixed optional file install support for multi-configuration generators. 2006-02-19 19:29:30 -05:00
Brad King c21287552b ENH: Switched order of slash and configuration name in cmGlobalGenerator::AppendDirectoryForConfig method to increase flexibility. 2006-02-19 19:28:53 -05:00
Brad King 518080136d ENH: Implemented FILES and PROGRAMS forms of the INSTALL command as replacements for the INSTALL_FILES and INSTALL_PROGRAMS commands. This addresses the request for absolute path install destinations in bug#2691. 2006-02-19 18:47:13 -05:00
Brad King 4140f4a6fa STYLE: Removed unused includes. 2006-02-19 18:44:23 -05:00
Brad King 8dd00d5b1e BUG: Fixed relink with new install framework. 2006-02-19 17:27:47 -05:00
Brad King b6e4bc0521 COMP: Removed unused variables. 2006-02-19 16:35:49 -05:00
Brad King e14d591194 BUG: Do not report files as installed if they are optional and do not exist. 2006-02-19 16:12:29 -05:00
Brad King 39f4e7f5e0 BUG: Import libraries should be installed as STATIC_LIBRARY. 2006-02-19 16:10:23 -05:00
Brad King 96f0266228 ENH: Created new install script generation framework. The INSTALL command creates the generators which are later used by cmLocalGenerator to create the cmake_install.cmake files. A new target installation interface is provided by the INSTALL command which fixes several problems with the INSTALL_TARGETS command. See bug#2691. Bugs 1481 and 1695 are addressed by these changes. 2006-02-19 15:25:27 -05:00
Brad King 98a187a8d4 ENH: Automatic include directories should not be done by default as was just implemented. Instead a project may now set CMAKE_INCLUDE_CURRENT_DIR to get this behavior. The current source and binary directories are added automatically to the beginning of the include path in every directory. This simulates in-source behavior for double-quote includes when there are generated sources and headers in the directory. 2006-02-19 13:10:25 -05:00
Brad King b6fd3b7bb1 BUG: Install location full-path test for windows needs to account for both lower case and upper case drive letters. 2006-02-19 13:08:17 -05:00
Andy Cedilnik 2a7753a6a5 STYLE: Nightly Version update 2006-02-19 01:53:34 -05:00
Brad King 377f4e79b1 BUG: Remove trailing slashes from install destinations. 2006-02-18 16:47:28 -05:00
Brad King cd3c98d032 ENH: Clarified error message. 2006-02-18 16:36:50 -05:00
Brad King 644f6e83ee COMP: Fixed shadowed variable warning. 2006-02-18 15:42:14 -05:00
Brad King 81677b3130 ENH: Generate import libraries for DLLs on Cygwin and MinGW. 2006-02-18 15:37:23 -05:00
Brad King 9ba0283870 ENH: If CMAKE_NO_AUTOMATIC_INCLUDE_DIRECTORIES is not set try to approximate in-source build include file behavior in an out-of-source build by adding the build tree directory corresponding to a source tree directory at the beginning of the include path. Also fixed VS6 and VS7 generators to use cmLocalGenerator's computation of include paths. The VS6 generator will now short-path the include directories if the total length is too long in order to try to avoid its truncation limit. 2006-02-18 11:51:23 -05:00
Bill Hoffman fc70e3512a ENH: apply patch from Alex to support some more kdevelop stuff 2006-02-18 11:03:36 -05:00
Andy Cedilnik 1a338c8d73 STYLE: Nightly Version update 2006-02-18 01:55:36 -05:00
Bill Hoffman c59937a4a8 ENH: put the system path ahead of the command path 2006-02-17 12:49:09 -05:00
Andy Cedilnik a5b8b06031 STYLE: Nightly Version update 2006-02-17 02:26:53 -05:00
Brad King f09778c4a5 BUG: Work-around borland make bug that drops a rule completely if it has no dependencies or commands. 2006-02-16 18:50:16 -05:00
Brad King 53821a505e ENH: Clarified documentation of DEFINE_SYMBOL. 2006-02-16 18:09:02 -05:00
Brad King b3b341cbbe BUG: Report error when a target does not exist. 2006-02-16 17:49:59 -05:00
Andy Cedilnik 3cd5fd4e7b BUG: Remove debug and fix space between label and exec name 2006-02-16 15:55:16 -05:00
Brad King 43df79d9fc BUG: Do not perform pre-build, pre-link, or post-install commands when relinking. 2006-02-16 15:39:19 -05:00
Andy Cedilnik b07ece004c ENH: More work on NSI to improve installing and uninstalling 2006-02-16 15:20:23 -05:00
Brad King 537e2b4ed5 ENH: Implemented RPATH specification support. It is documented by the command SET_TARGET_PROPERTIES. 2006-02-16 15:19:00 -05:00
Ken Martin 13661cdd23 ENH: warning fix 2006-02-16 13:42:58 -05:00
Ken Martin ff3eeef545 ENH: warning fix 2006-02-16 11:32:47 -05:00
Bill Hoffman 4c1ae1b5af ENH: fix for bug 2808, use dlopen on new OSX versions 2006-02-16 10:35:18 -05:00
Andy Cedilnik 036fd2134d STYLE: Nightly Version update 2006-02-16 02:25:57 -05:00
Bill Hoffman 5042581f43 ENH: better algorithm for looking for make and gcc on msys and mingw 2006-02-15 21:26:47 -05:00
Brad King 5288d61ede BUG: Use NOINHERIT macro to avoid linking to project default libraries which may not exist. 2006-02-15 16:38:57 -05:00
Brad King 60cd72d01c ENH: Cleaned up generation of symbolic rules. Removed generation of rebuild_cache and similar rules from internal makefiles. 2006-02-15 16:35:16 -05:00
Ken Martin 38c3145ce1 COMP: fix compiler warning 2006-02-15 12:32:43 -05:00
Bill Hoffman 731e1ed9cf ENH: fix build error for mac 2006-02-15 12:30:01 -05:00
Ken Martin 141ad7645e ENH: some reorg of the unix makefile generator 2006-02-15 10:34:11 -05:00
Brad King f2cf7e9197 ENH: Enable capture of output from VCExpress.exe and devenv.exe. 2006-02-15 10:22:55 -05:00
Andy Cedilnik 92cfb52336 STYLE: Nightly Version update 2006-02-15 02:21:22 -05:00
Bill Hoffman 14cbc9571a ENH: do not allow mingw makefiles to generate if sh.exe is in the path, also do not write CMakeCache.txt if there is a fatal error. 2006-02-14 22:03:16 -05:00
Brad King aea456a91a ENH: Added FATAL_ERROR option and fixed check to not have floating point roundoff problems. 2006-02-14 17:16:14 -05:00
Brad King 6c89a96b86 BUG: Removed hard-coded linking to odbc32 and odbccp32. 2006-02-14 16:35:33 -05:00
Brad King 916ea2bad2 BUG: Avoid adding unused rules to special targets like ALL_BUILD. Make sure project regeneration rules go only in desired targets. 2006-02-14 16:32:20 -05:00
Brad King bd0b829ffb BUG: Fixed generation of VS8 solution file to not be re-written when loaded by VS and to work with msbuild. 2006-02-14 15:35:34 -05:00
Andy Cedilnik 21975ceda5 ENH: Better handling of executables on windows 2006-02-14 14:29:15 -05:00
Andy Cedilnik e9fa7fa840 ENH: Report which cmake was used to generate the cache in the comment 2006-02-14 11:17:35 -05:00
Ken Martin 7740ccd1a4 ENH: some cleanup of the makefile generator 2006-02-14 10:36:04 -05:00
Andy Cedilnik 3bce601c41 ENH: Improved support for icons, random directories, etc... 2006-02-14 10:28:40 -05:00
Andy Cedilnik 2d29e48726 STYLE: Nightly Version update 2006-02-14 02:14:29 -05:00
Andy Cedilnik b77d382d97 STYLE: Nightly Version update 2006-02-13 02:10:25 -05:00
Andy Cedilnik 20301c72ad STYLE: Nightly Version update 2006-02-12 02:27:30 -05:00
Andy Cedilnik ac0a893a05 STYLE: Nightly Version update 2006-02-11 02:11:59 -05:00
Brad King 84923605cf ENH: Allow IF(DEFINED ENV{somevar}) to work. 2006-02-10 14:41:31 -05:00
Andy Cedilnik f87271d0ea ENH: Add initial implementation of the list command 2006-02-10 14:11:12 -05:00
Brad King b8a33fb424 ENH: Added INSTALL command as a placeholder for a future generic install specification interface. Currently it supports only a SCRIPT option specifying a script to run during the install stage. 2006-02-10 13:54:36 -05:00
Bill Hoffman d2621064e2 ENH: fix for bug 28618, cmake.exe can not find itself 2006-02-10 12:43:00 -05:00
Brad King 4646929df4 ENH: Remove extra windows newline characters from process output. Centralized text fix processing. 2006-02-10 11:46:34 -05:00
Brad King 976ab27ffd ENH: Mention relationship of EXECUTE_PROCESS and EXEC_PROGRAM. 2006-02-10 11:43:35 -05:00
Brad King b403ad61e2 BUG: Fixed echo command to not print trailing space. 2006-02-10 11:41:52 -05:00
Bill Hoffman 6cccf0ab30 ENH: fix bug for single char libraries 2006-02-10 10:11:16 -05:00
Andy Cedilnik 6e57c4f82f STYLE: Nightly Version update 2006-02-10 02:16:25 -05:00
Bill Hoffman 8f71efa776 ENH: bug fix for 2829 better flags for idl tool 2006-02-09 23:08:19 -05:00
Brad King 0748f6ae34 COMP: Removed unused variables. 2006-02-09 19:29:09 -05:00
Brad King f8a8e88a08 BUG: Need to include empty arguments when parsing prefix/suffix lists for FindLibrary. 2006-02-09 19:03:50 -05:00
Brad King db0681d2f6 ENH: Adding option to return empty arguments when expanding a list. 2006-02-09 19:03:27 -05:00
Brad King 1b5e3f4136 BUG: Fixed generation of cmake re-run rules. 2006-02-09 18:42:58 -05:00
Brad King e31f93ea3f BUG: Deal with case insensitivity on windows linker paths. Also fixed spelling typo. 2006-02-09 17:29:58 -05:00
Brad King 33587ce376 ENH: Added platform settings CMAKE_FIND_LIBRARY_PREFIXES and CMAKE_FIND_LIBRARY_SUFFIXES to allow customized searching for libraries. 2006-02-09 15:05:13 -05:00
Andy Cedilnik 913a46e0aa STYLE: Nightly Version update 2006-02-09 02:17:23 -05:00
Bill Hoffman ccdca71332 ENH: fix broken tests 2006-02-08 15:37:54 -05:00
Bill Hoffman 55dd61946b ENH: working directory working for XCode 2006-02-08 14:12:34 -05:00
Brad King c6741363de ENH: Enabled new WORKING_DIRECTORY option to ADD_CUSTOM_COMMAND and ADD_CUSTOM_TARGET on VS 6 generator. 2006-02-08 12:01:21 -05:00
Bill Hoffman 347c5f4b46 ENH: add working directory support 2006-02-08 10:58:36 -05:00
Brad King 6fe45fe9c3 ENH: Added option BUILD_CursesDialog if curses is found. This allows people to disable building the dialog even when curses is found. 2006-02-08 10:13:13 -05:00
Andy Cedilnik 30daaa6a3e COMP: Fix problem with STL on HP, and fix reusing the same variable in for loops 2006-02-08 07:17:59 -05:00
Andy Cedilnik fba72969da STYLE: Nightly Version update 2006-02-08 02:50:04 -05:00
Brad King 9163af8745 BUG: Fixed finding of MinGW libraries with a windows build of CMake. 2006-02-07 17:09:41 -05:00
Andy Cedilnik 53564358ca ENH: Add missing help for -C option 2006-02-07 12:53:35 -05:00
Andy Cedilnik 2ed1ca11bc COMP: Fix compile problem on windows and mac 2006-02-07 11:43:17 -05:00
Andy Cedilnik 9740913dd8 COMP: Fix build problem 2006-02-07 10:43:45 -05:00
Andy Cedilnik e5a8e115bc ENH: Move relative path to kwsys 2006-02-07 10:23:17 -05:00
Brad King f71a085f74 ENH: Added kwsys::String class to shorten debugging symbols and error messages involving std::string. 2006-02-07 10:11:40 -05:00
Mathieu Malaterre 4763c14502 ENH: Add some doc for visible class 2006-02-07 09:25:15 -05:00
Andy Cedilnik 4259971961 ENH: Since list file cache does not make much sense any more (because of proper list file parsing), and it actually adds unnecessary complications and make ctest scripting not work, take it out 2006-02-07 08:49:42 -05:00
Andy Cedilnik 09b7568c93 STYLE: Nightly Version update 2006-02-07 02:06:17 -05:00
Bill Hoffman 185cb0b5bf ENH: allow for - in the name of targets for nmake 2006-02-06 16:32:09 -05:00
Andy Cedilnik c081c7ef99 STYLE: Nightly Version update 2006-02-06 02:11:32 -05:00
Andy Cedilnik 06f939a525 STYLE: Nightly Version update 2006-02-05 02:06:02 -05:00
Andy Cedilnik bd21ba35a5 STYLE: Nightly Version update 2006-02-04 02:19:37 -05:00
Brad King 2683c5bd0d ENH: Adding new EXECUTE_PROCESS command that interfaces to KWSys Process Execution. 2006-02-03 16:51:46 -05:00
Brad King 131c4a3a17 COMP: Added missing method decl to header. 2006-02-03 12:03:57 -05:00
Brad King afa8367885 BUG: Fixed cmTarget::GetFullPath to not append the configuration name when only one configuration is built. It now asks the generator what subdirectory if any to use for a given configuration name. 2006-02-03 11:36:11 -05:00
Andy Cedilnik 0f5aced502 STYLE: Nightly Version update 2006-02-03 02:29:45 -05:00
Brad King 02f743c896 COMP: Fixed build on VC++ Express 2005. Explicitly testing for MFC to determine whether to build the MFCDialog. 2006-02-02 20:18:39 -05:00
Andy Cedilnik 9dd1633a98 STYLE: Nightly Version update 2006-02-02 03:30:30 -05:00
Andy Cedilnik e1d562db88 STYLE: Nightly Version update 2006-02-01 02:24:52 -05:00
Brad King 73284a1c12 ENH: Enabled build of VS 7 and 8 generators for MinGW. 2006-01-31 19:34:57 -05:00
Brad King 576d8b41cb ENH: Enabled bootstrapping with MinGW from an MSYS prompt. 2006-01-31 18:50:16 -05:00
Brad King 0dbe4edcfc BUG: ABSOLUTE option should evaluate relative paths with respect to CMAKE_CURRENT_SOURCE_DIR. This addresses bug#2797. 2006-01-31 10:46:29 -05:00
Andy Cedilnik bfa972a2f9 STYLE: Nightly Version update 2006-01-31 05:09:47 -05:00
Ken Martin 96d754046a ENH: more cleanup and removal of old code 2006-01-30 14:25:07 -05:00
Ken Martin 5d35fd4b7e ENH: cleanup and remove some old code 2006-01-30 13:57:01 -05:00
Andy Cedilnik 8c77bb3cf3 STYLE: Nightly Version update 2006-01-30 02:15:28 -05:00
Andy Cedilnik 57eae62a94 STYLE: Nightly Version update 2006-01-29 02:06:36 -05:00
Andy Cedilnik ee9d6a5592 STYLE: Nightly Version update 2006-01-28 01:38:21 -05:00
Brad King 938890757a ENH: Improved support for user-configured search paths. Paths given in the CMAKE_LIBRARY_PATH cmake variable are searched first, then those in the CMAKE_LIBRARY_PATH environment variable, then those listed in the call to the FIND_LIBRARY command and finally those listed in the PATH environment variable. The support is similar for finding include files with FIND_PATH, but the variable is CMAKE_INCLUDE_PATH. 2006-01-27 18:20:55 -05:00
Brad King f4b306d5d4 BUG: VS7 generator should use per-configuration linker flags for targets. This addresses bug#2765. 2006-01-27 13:48:21 -05:00
Andy Cedilnik 04c705bc01 ENH: Better handle interleved error/output 2006-01-27 13:46:33 -05:00
Brad King 9f625beab6 ENH: Added optional component list to the REQUIRED option of the FIND_PACKAGE command. This addresses bug#2771. 2006-01-27 13:07:23 -05:00
Ken Martin 194b1b1e38 STYLE: spelling fix 2006-01-27 12:58:53 -05:00
Ken Martin 69a43bbb0b STYLE: grammer fix 2006-01-27 12:58:34 -05:00
Bill Hoffman 62e4c3f22a ENH: add extra thing for svn X status output 2006-01-27 11:19:22 -05:00
Andy Cedilnik b5a3b2c8d8 STYLE: Nightly Version update 2006-01-27 01:36:37 -05:00
Andy Cedilnik b8e92654b4 STYLE: Nightly Version update 2006-01-26 01:21:08 -05:00
Bill Hoffman f5ce41ee39 ENH: fix double CMAKE_(LANG)_FLAGS problem in try compile 2006-01-25 14:12:58 -05:00
Bill Hoffman 269b66d50a ENH: fix docs, and revert fatal error change 2006-01-25 11:07:46 -05:00
Bill Hoffman 0205c6bb1a ENH: make all errors fatal in message command 2006-01-25 08:39:31 -05:00
Bill Hoffman 07ef88c985 ENH: add COMPILE_FLAGS to targets 2006-01-25 08:38:06 -05:00
Andy Cedilnik 008406a96c STYLE: Nightly Version update 2006-01-25 00:57:53 -05:00
Bill Hoffman 538d6e82d8 ENH: do not force users to create paths 2006-01-24 22:20:56 -05:00
Bill Hoffman e2e08e4b96 ENH: fix for borland memcpy junk 2006-01-24 15:48:05 -05:00
Bill Hoffman a2c1777300 COMP: fix warning 2006-01-24 07:58:55 -05:00
Andy Cedilnik daca5484b9 STYLE: Nightly Version update 2006-01-24 00:57:38 -05:00
Bill Hoffman a6a20d8ce2 ENH: fix warning 2006-01-23 17:24:18 -05:00
Ken Martin 1ff49b9789 ENH: by Bill make sure path is unix style 2006-01-23 16:36:13 -05:00
Bill Hoffman 7f237c51f4 ENH: fix problem with watcom and short paths and -I 2006-01-23 13:50:23 -05:00
Bill Hoffman 5c692ee247 ENH: correct include for memcpy 2006-01-23 12:31:08 -05:00
Andy Cedilnik b6dfe1e2a6 STYLE: Nightly Version update 2006-01-23 00:51:23 -05:00
Andy Cedilnik dce1af752f STYLE: Nightly Version update 2006-01-22 00:47:29 -05:00
Andy Cedilnik affe7068af STYLE: Nightly Version update 2006-01-21 00:51:10 -05:00
Andy Cedilnik 69c3b6c985 STYLE: Nightly Version update 2006-01-20 01:01:30 -05:00
Andy Cedilnik ca7620adb0 STYLE: Nightly Version update 2006-01-19 00:57:11 -05:00
Andy Cedilnik 484aaafc2d STYLE: Nightly Version update 2006-01-18 00:47:02 -05:00
Bill Hoffman 909d9dbd5a ENH: fix for icc 2006-01-17 16:53:56 -05:00
Bill Hoffman 9891260a6d ENH: add support for watcom wmake and wcl386 2006-01-17 10:21:45 -05:00
Andy Cedilnik 6bb5f200ce STYLE: Nightly Version update 2006-01-17 00:46:15 -05:00
Andy Cedilnik c59c3d37a8 STYLE: Nightly Version update 2006-01-16 00:42:30 -05:00
Andy Cedilnik e6edd4e87b STYLE: Nightly Version update 2006-01-15 00:43:10 -05:00
Brad King 8f1413e247 COMP: Fixed shadowed variable warning. 2006-01-14 10:27:04 -05:00
Andy Cedilnik b0a8c7bbce STYLE: Nightly Version update 2006-01-14 00:42:48 -05:00
Brad King 8340c0d186 ENH: Further centralized custom command dependency computation. Custom command dependencies in the source tree may now also be specified relative to the source directory. 2006-01-13 20:51:45 -05:00
Brad King 18477b194c BUG: Removed bogust dependency. 2006-01-13 19:36:17 -05:00
Brad King 079826d367 COMP: Removed unused variables. 2006-01-13 19:35:16 -05:00
Brad King 327489ae59 COMP: Removed unused paramter from cmLocalGenerator::OutputLinkLibraries. 2006-01-13 18:33:51 -05:00
Brad King 22c62c9e65 BUG: Sweeping changes to cleanup computation of target names. This should
fix many bugs related to target names being computed inconsistently.

- Centralized computation of a target's file name to a method in
  cmTarget.  Now that global knowledge is always available the
  *_CMAKE_PATH cache variables are no longer needed.

- Centralized computation of link library command lines and link
  directory search order.

- Moved computation of link directories needed to link CMake targets
  to be after evaluation of linking dependencies.

This also removed alot of duplicate code in which each version had its
own bugs.

This commit is surrounded by the tags

  CMake-TargetNameCentralization1-pre

and

  CMake-TargetNameCentralization1-post

so make the large set of changes easy to identify.
2006-01-13 18:18:32 -05:00
Bill Hoffman 2622956159 ENH: fix for CMakeTmp move broken stuff 2006-01-13 11:44:39 -05:00
Andy Cedilnik 0c644dea70 STYLE: Nightly Version update 2006-01-13 00:43:31 -05:00
Andy Cedilnik 9ab3b14c77 COMP: Remove warning 2006-01-12 14:21:37 -05:00
Ken Martin 4bdca3b404 ENH: put CmakeTmp into CMakeFiles 2006-01-12 13:49:32 -05:00
Andy Cedilnik 7089a17c47 COMP: Fix compile error that was caused by the binary flag 2006-01-12 09:20:53 -05:00
Andy Cedilnik d9afb8e73c STYLE: Nightly Version update 2006-01-12 00:40:47 -05:00
Andy Cedilnik 48808133b0 ENH: Fix compression on Windows 2006-01-11 19:12:21 -05:00
Andy Cedilnik 867c3a763e ENH: Add support for binary 2006-01-11 19:06:54 -05:00
Andy Cedilnik 0126fd06ad ENH: Add a way to specify a custom install command 2006-01-11 11:23:48 -05:00
Andy Cedilnik 2a6bc87567 ENH: Some improvements: specify link, copy msvc libraries, fix install directory 2006-01-11 11:08:15 -05:00
Andy Cedilnik c4a5b90070 STYLE: Nightly Version update 2006-01-11 00:42:55 -05:00
Andy Cedilnik 581adffa86 COMP: Remove legacy code and fix sun build 2006-01-10 12:05:39 -05:00
Andy Cedilnik d530038e16 STYLE: Nightly Version update 2006-01-10 00:44:10 -05:00
Andy Cedilnik 25f6a108ea ENH: Use specified output file name, also detect errors during install 2006-01-09 18:24:39 -05:00
Bill Hoffman a91947039a ENH: for all custom commands that can not be given to a target, add them to all targets in the current makefile 2006-01-09 14:40:31 -05:00
Andy Cedilnik 6d113b9a85 BUG: Fix memory problem 2006-01-09 13:14:41 -05:00
Andy Cedilnik 0c302a7e5f ENH: Fix test for cpack variables, add support for icon on windows 2006-01-09 11:26:31 -05:00
Andy Cedilnik e8b7d233d7 STYLE: Nightly Version update 2006-01-09 00:41:54 -05:00
Andy Cedilnik f73a58803c STYLE: Nightly Version update 2006-01-08 00:41:57 -05:00
Andy Cedilnik bb9c112a42 STYLE: Nightly Version update 2006-01-07 00:43:21 -05:00
Bill Hoffman 0edceb3884 ENH: fix missing plist file error 2006-01-06 13:54:27 -05:00
Andy Cedilnik 0bb9d2df58 STYLE: Nightly Version update 2006-01-06 00:43:34 -05:00
Brad King 8dc1de6efd BUG: Fix for scanning generated headers included with double-quotes. Also fixed double-quote include support to not use the special quoted location when a full path is given on the include line. 2006-01-05 17:16:22 -05:00
Brad King bdbb7f84bc ENH: Added special test 0 to just run a given command line. 2006-01-05 15:49:34 -05:00
Andy Cedilnik b9c4cff45a ENH: More debugging and work on PackageMaker code 2006-01-05 13:27:48 -05:00
Andy Cedilnik 4a765181cc ENH: flush the output 2006-01-05 12:33:23 -05:00
Andy Cedilnik 88b4d5c179 BUG: Use objects that exist 2006-01-05 12:16:30 -05:00
Andy Cedilnik af923d13fa BUG: Print the right line number to the right pipe 2006-01-05 12:16:11 -05:00
Andy Cedilnik 6ac0063af7 BUG: Revert back 2006-01-05 10:37:05 -05:00
Bill Hoffman 7b1440ab9f ENH: fix bundles for Mac and Xcode 2006-01-05 09:13:06 -05:00
Andy Cedilnik 11cd7b0b3f STYLE: Nightly Version update 2006-01-05 03:15:58 -05:00
Bill Hoffman 1184bd9321 ENH: remove assert 2006-01-04 16:24:24 -05:00
Andy Cedilnik 5358809a5c ENH: More CPack stuff and fix zlib compression 2006-01-04 15:14:09 -05:00
Bill Hoffman 0b40b42b08 ENH: remove debug print stuff 2006-01-04 09:55:39 -05:00
Andy Cedilnik 6e675ce602 COMP: Do not build tests if build testing is off 2006-01-04 08:32:35 -05:00
Andy Cedilnik 0a3571306f STYLE: Nightly Version update 2006-01-04 01:15:20 -05:00
Bill Hoffman 2c73d2e0f3 ENH: add new cmakedefine01 feature from bug report 2603 2006-01-03 16:40:51 -05:00
Andy Cedilnik 9a1098f52e COMP: Remove warnings 2006-01-03 08:39:39 -05:00
Andy Cedilnik 1e6bc6e5ee COMP: Remove warnings on HP-UX 2006-01-03 08:39:24 -05:00
Andy Cedilnik b6a2c9bd91 STYLE: Nightly Version update 2006-01-03 01:11:26 -05:00
Andy Cedilnik ebbe10193f ENH: Start working on CPack input file and cleanups 2006-01-02 17:28:20 -05:00
Andy Cedilnik f00b344ada COMP: Fix compile errors 2006-01-02 17:22:39 -05:00
Andy Cedilnik bbf1c2d275 ENH: More improvements and add logging 2006-01-02 16:14:21 -05:00
Bill Hoffman 86ad253427 BUG: fix for bug 2322, use CMAKE_EXECUTABLE_SUFFIX variable for exe suffix 2006-01-02 13:37:53 -05:00
Bill Hoffman 1c289b52f4 BUG: fix build problem on gcc 2006-01-02 13:34:03 -05:00
Bill Hoffman 61e056e2dc BUG: fix for bug 2533, make foo/foo.o now works and .o files are in the help 2006-01-02 12:36:54 -05:00
Andy Cedilnik 1d9ef3f8b5 COMP: Remove warning 2006-01-02 11:39:45 -05:00
Bill Hoffman 9e5c219b87 ENH: change framework order 2006-01-02 11:07:57 -05:00
Andy Cedilnik bf044cec81 COMP: Fix build problems 2006-01-02 10:37:00 -05:00
Andy Cedilnik 8b0c04724c BUG: Fix the compression with custom extension 2006-01-02 10:36:44 -05:00
Andy Cedilnik c9f3ad1e23 ENH: Use libtar 2006-01-02 07:53:05 -05:00
Andy Cedilnik b7ba65ed68 ENH: Add a way to overwrite compression extension 2006-01-02 07:52:54 -05:00
Andy Cedilnik f379128fa3 STYLE: Nightly Version update 2006-01-02 01:08:34 -05:00
Andy Cedilnik 8477aa59e5 ENH: Merge from cpack branch 2006-01-01 23:31:17 -05:00
Andy Cedilnik d0329919da ENH: Merge from the cpack branch 2006-01-01 23:21:05 -05:00
Andy Cedilnik 74680f1bf4 STYLE: Nightly Version update 2006-01-01 01:05:36 -05:00
Brad King 8489a94101 BUG: When more than one command is given and one of them fails to start and the rest are killed, do not forget to reap the killed children. 2005-12-31 12:59:31 -05:00
Andy Cedilnik d512118079 STYLE: Nightly Version update 2005-12-31 01:08:08 -05:00
Bill Hoffman 14606c9902 ENH: move framework stuff from FindFile to FindPath 2005-12-30 21:54:26 -05:00
Bill Hoffman 9b0a485c75 ENH: fix so verbose is put in the correct place 2005-12-30 21:54:03 -05:00
Andy Cedilnik 6534e66e61 COMP: Fix warning on sun 2005-12-30 16:28:30 -05:00
Andy Cedilnik 00371678d3 COMP: Remove sun warning 2005-12-30 15:32:20 -05:00
Andy Cedilnik 8ff4919443 ENH: Add a tar test 2005-12-30 15:27:17 -05:00
Andy Cedilnik c690311b76 ENH: Add a way to compare two files 2005-12-30 15:25:35 -05:00
Andy Cedilnik bb618a7db5 ENH: Cleanup the file handler stuf so that now any file descriptor type can be used 2005-12-30 14:51:15 -05:00
Andy Cedilnik 8b9512559d COMP: Cleanup regular expressions 2005-12-30 14:50:15 -05:00
Andy Cedilnik 7b02221059 COMP: Remove unused variable 2005-12-30 14:31:13 -05:00
Andy Cedilnik 6d0f0e0acb COMP: Fix support for gzip on non-32 bit platforms 2005-12-30 14:22:46 -05:00
Andy Cedilnik 2804a0d7db COMP: Remove shadow variable warning 2005-12-30 13:22:10 -05:00
Andy Cedilnik 081625c610 COMP: Use mangle names 2005-12-30 12:58:33 -05:00
Andy Cedilnik 416bbaef53 COMP: Remove warnings 2005-12-30 12:58:00 -05:00
Andy Cedilnik bc447c7f92 STYLE: Nightly Version update 2005-12-30 01:11:57 -05:00
Andy Cedilnik abe4fd77fc ENH: Make the syntax more line tar 2005-12-29 12:19:13 -05:00
Andy Cedilnik 14c256ddba ENH: Make additional file names optional 2005-12-29 10:52:19 -05:00
Andy Cedilnik d1180fc4e1 ENH: Add untaring support 2005-12-29 10:43:12 -05:00
Andy Cedilnik ebfaf365ad STYLE: Nightly Version update 2005-12-29 01:04:21 -05:00
Andy Cedilnik 2fcd41323b COMP: Fix complex test and fix bootstrap 2005-12-28 17:02:16 -05:00
Andy Cedilnik 0ef674b906 COMP: Add missing include 2005-12-28 16:53:46 -05:00
Andy Cedilnik 7a49a0ce4a BUG: Return proper values 2005-12-28 16:44:32 -05:00
Andy Cedilnik 5222266e7e ENH: Add command to create tar 2005-12-28 16:31:12 -05:00
Andy Cedilnik fdc844ecdb ENH: Add method to create tar 2005-12-28 16:30:55 -05:00
Andy Cedilnik ba63b6f15e COMP: Link tar library to cmake 2005-12-28 16:30:28 -05:00
Andy Cedilnik 09237c63c3 STYLE: Nightly Version update 2005-12-28 13:01:25 -05:00
Bill Hoffman 552842d11f ENH: make sure -F is not duplicated 2005-12-27 15:33:47 -05:00
Bill Hoffman 82bb6fae0d ENH: add framework support to FIND_FILE 2005-12-27 14:56:56 -05:00
Andy Cedilnik c04cbcac70 ENH: Fix command line argument parsing 2005-12-27 13:10:23 -05:00
Bill Hoffman 79479233d4 ENH: remove warning 2005-12-27 13:03:01 -05:00
Bill Hoffman 452925649a ENH: add better support for framework linking 2005-12-26 13:14:19 -05:00
Andy Cedilnik 102ab85a17 STYLE: Nightly Version update 2005-12-26 01:06:58 -05:00
Andy Cedilnik 41e0d83b69 STYLE: Nightly Version update 2005-12-25 01:07:33 -05:00
Andy Cedilnik c8993a5952 STYLE: Nightly Version update 2005-12-24 01:03:56 -05:00
Andy Cedilnik ba556d47dd STYLE: Nightly Version update 2005-12-23 01:09:53 -05:00
Bill Hoffman f6588b7919 ENH: fix borland make clean targets before build, add new generators for msys and mingw 2005-12-22 16:42:36 -05:00
Andy Cedilnik 001bbb0d99 STYLE: Nightly Version update 2005-12-22 01:13:46 -05:00
Bill Hoffman 391d3ed631 ENH: make sure depend helper actually works, if a depend library gets updated, then the target needs to be removed, and the CONFIGURATION directory needs to be used 2005-12-21 15:45:55 -05:00
Brad King 5b95c0a881 BUG: Libraries and executables that are built with version numbers and symlinks should be built by a rule using the real file name. The symlink file names should be rules that just depend on the main rule. This way if a version number changes a target will re-link with the new name and the symlinks will be updated. 2005-12-21 08:46:41 -05:00
Andy Cedilnik 932c5b74b8 STYLE: Nightly Version update 2005-12-21 01:04:27 -05:00
Brad King a0e413ce63 ENH: Improved robustness of sharing parent pipes with children. This ensures that the parent pipe handles are inherited by the children. If a parent pipe handle is invalid a handle to an empty pipe is given to the child to make sure all pipes are defined for the children. 2005-12-20 13:22:22 -05:00
Andy Cedilnik f4c00316c2 STYLE: Nightly Version update 2005-12-20 01:11:17 -05:00
Bill Hoffman 5261f51e45 BUG: fix for bug 2560, Xcode does not create correct bundles 2005-12-19 11:29:57 -05:00
Andy Cedilnik 64f7c3c41c STYLE: Nightly Version update 2005-12-19 01:06:21 -05:00
Andy Cedilnik 19138bc9c4 STYLE: Nightly Version update 2005-12-18 01:05:59 -05:00
Andy Cedilnik ea016d68ea STYLE: Nightly Version update 2005-12-17 01:12:23 -05:00
Bill Hoffman 037487a488 ENH: make sure uncommented modules are not documented 2005-12-16 16:49:01 -05:00
Andy Cedilnik affced3f81 BUG: Return if the file is in any directory not just in first one 2005-12-16 09:03:04 -05:00
Andy Cedilnik 945073f3fd STYLE: Nightly Version update 2005-12-16 01:12:06 -05:00
Andy Cedilnik 5966baeec3 ENH: Report an error if the target does not exists 2005-12-15 12:01:28 -05:00
Bill Hoffman 4b0fd57bef ENH: fix module documenation to handle bad docs and fix qt3 docs 2005-12-15 09:19:23 -05:00
Andy Cedilnik eef9390dc6 STYLE: Nightly Version update 2005-12-15 01:47:49 -05:00
Bill Hoffman b7fa820118 ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
Brad King 805d365d47 ENH: Renamed ZeroTargetCheck target to ZERO_CHECK for consistency with other CMake-generated targets (ALL_BUILD, RUN_TESTS, INSTALL). 2005-12-14 11:00:44 -05:00
Brad King 9f38df7046 COMP: Fix conversion warning. 2005-12-14 10:58:09 -05:00
Brad King 163e3ff56c ENH: Removed cmMakefile arguments from cmTarget methods because cmTarget has the ivar m_Makefile now. Re-implemented cmLocalUnixMakefileGenerator3::AppendAnyDepend to use the new global knowledge and avoid the need to look at the cache for information about other targets. This should fix problems with custom commands and executables with the OUTPUT_NAME set. Also the <target>_LIBRARY_TYPE cache variable is no longer needed at all and has been removed. 2005-12-14 10:47:33 -05:00
Brad King af36d6e2e7 COMP: Fixed unused variable warning. 2005-12-13 18:23:37 -05:00
Andy Cedilnik 5007cbce3b BUG: Fix the problem with update.xml.tmp not being coppied 2005-12-13 15:16:46 -05:00
Ken Martin c3c349109b ENH: removed TARGET_DIR_PREFIX support and someother fix 2005-12-13 15:14:08 -05:00
Ken Martin 0b69b892ed ENH: removed TARGET_DIR_PREFIX support 2005-12-13 15:13:17 -05:00
Ken Martin fa3120a4a5 STYLE: fix missing docs 2005-12-13 15:12:37 -05:00
Brad King 1c7075057f ENH: Added support for parallel builds in VS 8. There is now a special target on which all other targets depend that re-runs CMake if any listfiles have been changed. This addresses bug#2512. 2005-12-13 14:21:28 -05:00
Brad King a8d199df49 BUG: Fix storage/use of argc/argv in CMakeSetup dialog. 2005-12-13 14:14:16 -05:00
Andy Cedilnik 23ba8f965a STYLE: Nightly Version update 2005-12-13 04:24:25 -05:00
Bill Hoffman 129299f900 ENH: fix for bug 2584, empty source groups with children skipped 2005-12-12 11:34:17 -05:00
Andy Cedilnik b08a9e3508 STYLE: Nightly Version update 2005-12-12 04:17:07 -05:00
Andy Cedilnik d512aa1cc3 STYLE: Nightly Version update 2005-12-11 04:20:32 -05:00
Andy Cedilnik ccf5a130ef COMP: for a in range(100): write_on_board(No std in kwsys...) 2005-12-11 00:12:40 -05:00
Andy Cedilnik ea7c7bb34d ENH: Allow the installer to overwrite the install prefix 2005-12-10 12:11:20 -05:00
Andy Cedilnik 5e56c7c201 ENH: Add a method to remove remaining arguments 2005-12-10 12:10:09 -05:00
Andy Cedilnik 5999a81bcd COMP: Fix the exporting so that it can actually be used 2005-12-10 12:09:24 -05:00
Andy Cedilnik 33c891f8d8 ENH: Add another signature to FindProgram that matches more to the one from CMake 2005-12-10 12:08:55 -05:00
Andy Cedilnik 9c64a17845 STYLE: Nightly Version update 2005-12-10 04:21:56 -05:00
Bill Hoffman 90bdb216a4 ENH: try to fix hp build problem 2005-12-09 23:04:33 -05:00
Andy Cedilnik 63a5effc7f ENH: fix compile error 2005-12-09 16:32:19 -05:00
Bill Hoffman d13643aa92 ENH: clean up style a bit 2005-12-09 14:30:11 -05:00
Bill Hoffman 92b6c8e742 PERF: apply patch for bug 2575 speeds up depend scanning 2005-12-09 13:58:55 -05:00
Andy Cedilnik 3a3ffea532 STYLE: Nightly Version update 2005-12-09 04:17:46 -05:00
Andy Cedilnik 25e9bceb0a STYLE: Nightly Version update 2005-12-08 04:21:52 -05:00
Andy Cedilnik 02b961f29c ENH: Make commands scriptable 2005-12-07 11:39:08 -05:00
Andy Cedilnik 19398fd2c8 STYLE: Nightly Version update 2005-12-06 10:55:07 -05:00
Andy Cedilnik 22a434121a STYLE: Nightly Version update 2005-12-05 08:19:58 -05:00
Andy Cedilnik 33691be50e STYLE: Nightly Version update 2005-12-04 05:04:27 -05:00
Andy Cedilnik 13e6693ad2 STYLE: Nightly Version update 2005-12-03 06:10:02 -05:00
Andy Cedilnik a6356e2db9 STYLE: Nightly Version update 2005-12-02 05:30:26 -05:00
Andy Cedilnik 782bef7374 ENH: Add a way for the generated command to include extra flags. This is useful for CTest (or try compile) to add -j2 2005-12-01 11:41:00 -05:00
Andy Cedilnik e95224b2e7 STYLE: Nightly Version update 2005-12-01 05:32:27 -05:00
Andy Cedilnik 1578bebdad ENH: Add variable for debugging. This variable CMAKE_PARENT_LIST_FILE holds the parent CMake list file of the current cmake list file. 2005-11-30 13:46:48 -05:00
Andy Cedilnik 358a9b133d STYLE: Nightly Version update 2005-11-30 05:22:50 -05:00
Andy Cedilnik b8b27089e7 STYLE: Nightly Version update 2005-11-29 05:24:45 -05:00
Andy Cedilnik c1cdb723b1 STYLE: Nightly Version update 2005-11-28 05:17:59 -05:00
Andy Cedilnik b1cf98492e STYLE: Nightly Version update 2005-11-27 05:27:51 -05:00
Andy Cedilnik 820bda2e00 STYLE: Nightly Version update 2005-11-26 05:21:29 -05:00
Andy Cedilnik 4918330de7 STYLE: Nightly Version update 2005-11-25 05:18:47 -05:00
Andy Cedilnik 36653b9619 STYLE: Nightly Version update 2005-11-24 05:21:13 -05:00
Bill Hoffman d0e801247f ENH: executable prefix and post fix variables should not be the same as the executable extension 2005-11-23 10:27:05 -05:00
Andy Cedilnik 77fb139317 STYLE: Nightly Version update 2005-11-23 05:35:51 -05:00
Brad King 102dd34bdc BUG: Do not expand escape sequences when re-expanding variables in include directories, link directories, and link libraries. 2005-11-22 17:03:07 -05:00
Brad King 130d469dd4 BUG: Do not accept a directory name as a library. 2005-11-22 16:59:31 -05:00
Bill Hoffman 76724c23bf BUG: fix for bug 2357, do not allow targets to link to directories 2005-11-22 16:08:16 -05:00
Bill Hoffman 9312deb035 BUG: fix spelling error 2005-11-22 15:15:52 -05:00
Brad King d952f68738 BUG: Tweak VS8 generator to keep VS8 happy. The .vcproj files need their own GUIDs in a ProjectGUID attribute. The top level .sln file needs a special comment at the top to allow it to be opened with double-click in explorer. 2005-11-22 13:37:42 -05:00
Brad King ed72b56512 STYLE: Fixed documentation to state target_EXPORTS default right after DEFINE_SYMBOL documentation instead of many sentences later in a random place. 2005-11-22 11:35:41 -05:00
Andy Cedilnik 8830c100ab STYLE: Nightly Version update 2005-11-22 05:18:36 -05:00
Andy Cedilnik 4c2dee2bad STYLE: Nightly Version update 2005-11-21 05:18:40 -05:00
Andy Cedilnik 0a15a96dc3 STYLE: Nightly Version update 2005-11-20 05:30:50 -05:00
Bill Hoffman 49840778b9 ENH: add some more properties for visual studio projects 2005-11-19 09:40:11 -05:00
Bill Hoffman 9104097502 COMP: fix compile error 2005-11-19 08:29:28 -05:00
Bill Hoffman c3d9a7ca5a ENH: fix docs 2005-11-19 08:04:36 -05:00
Andy Cedilnik 408abf5d08 STYLE: Nightly Version update 2005-11-19 05:22:02 -05:00
Bill Hoffman 1c01c12af3 ENH: more chars need quotes 2005-11-18 16:59:53 -05:00
Bill Hoffman 47622dde01 ENH: fixes for Xcode 2.2 2005-11-18 14:12:09 -05:00
Bill Hoffman c0ee3a13a5 ENH: add new error regex 2005-11-18 10:40:31 -05:00
Brad King 036a78056c BUG: Fixed flag-to-vcproj-attribute conversion code to work again (it was broken by the optimization changes). Added conversion of /nologo flag to SuppressStartupBanner attribute and /Gy flag to EnableFunctionLevelLinking attribute. 2005-11-18 10:36:52 -05:00
Brad King 8dc8232027 BUG: Fixed XML escapes for custom commands. Also added escaping of newlines for VS 2005. 2005-11-17 15:57:51 -05:00