Commit Graph

5264 Commits

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