Commit Graph

5315 Commits

Author SHA1 Message Date
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