summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Overhaul CMake version numberingBrad King2009-03-051-3/+1
| | | | | | | | | | | | | This moves the version numbers into an isolated configured header so that not all of CMake needs to rebuild when the version changes. Previously we had spaces, dashes and/or the word 'patch' randomly chosen before the patch number. Now we always report version numbers in the traditional format "<major>.<minor>.<patch>[-rc<rc>]". We still use odd minor numbers for development versions. Now we also use the CCYYMMDD date as the patch number of development versions, thus allowing tests for exact CMake versions.
* STYLE: Remove unused cmake::CacheVersionMatchesBrad King2009-03-051-20/+0
| | | | This remove the method completely since nothing uses it.
* ENH: Cleanup cmake --build interface.Brad King2009-03-041-48/+2
| | | | | | | | | | | This cleans up the 'cmake --build' command-line interface: - Rename --clean to --clean-first to better describe it. - Replace --extra-options with a -- separator to simplify passing of multiple native build tool options. - Document the options in the main CMake man page description of the --build option, and shares this with the usage message. - Require --build to be the first argument when present. - Move implementation into cmakemain where it belongs.
* BUG: Gracefully handle broken version symlinksBrad King2009-03-021-3/+9
| | | | | | | This teaches the helper commands 'cmake -E cmake_symlink_executable' and 'cmake -E cmake_symlink_library' to remove broken symlinks before creating a symlink and report an error when the symlink cannot be created. See issue #8654.
* ENH: Define RULE_LAUNCH_* propertiesBrad King2009-02-101-0/+25
| | | | | | | This defines global, directory, and target properties RULE_LAUNCH_COMPILE, RULE_LAUNCH_LINK, and RULE_LAUNCH_CUSTOM. Their values specify 'launcher' command lines which are prefixed to compile, link, and custom build rules by Makefile generators.
* BUG: Fix OS X FW symlink byproduct dependenciesBrad King2009-02-061-1/+2
| | | | | | When testing whether to re-run CMake, a byproduct may be a symlink. If so, the existence of the link is important rather than the link's target. See issue #8465.
* BUG: Fix OS X AppBundle/FW byproducts dependenciesBrad King2009-02-061-0/+21
| | | | | | | App Bundle and Framework directories, symlinks, and Info.plist files we create during generation are byproducts, not outputs. We should re-run CMake only when they are missing, not when they are old. See issue #8465.
* ENH: More robust property lookupBrad King2009-02-021-0/+4
| | | | | | This teaches cmMakefile::GetProperty and cmake::GetProperty methods to return NULL when the property name is NULL, making them more robust and consistent with the behavior of cmTarget::GetProperty.
* BUG: fix for #8418 -E chdir should return fail of dir does not existBill Hoffman2009-01-291-1/+1
|
* COMP: Fix the ExternalProject test for Visual Studio 6. Visual Studio 6 ↵David Cole2008-12-091-0/+8
| | | | *.dsp files cannot have hyphens in them. Add utility function GetVS6TargetName to replace hyphens with underscores when generating *.dsp file names. Use the function everywhere necessary in the VS6 generators. And, a workaround: VS6 uses ".\Debug" (for example) as an "$(IntDir)" value - strip any leading ".\" when processing a --config argument in the cmake --build handling code.
* ENH: fix bootstrap test and warningBill Hoffman2008-10-151-2/+8
|
* BUG: 4244, add a --build option to cmake that can build projects configured ↵Bill Hoffman2008-10-151-2/+88
| | | | by CMake
* BUG: fix for 6280, -E time was not sending back return valueBill Hoffman2008-10-011-3/+3
|
* STYLE: fix line length stuff for KWStyleBill Hoffman2008-10-011-1/+2
|
* ENH: Teach find_library to find OpenBSD-style libsBrad King2008-09-221-0/+7
| | | | | | | OpenBSD shared libraries use a ".so.<major>.<minor>" extension and do not have a symlink with just a ".so" extension. Its "ld" is capable of finding the library with the best version. This change adds support for finding such libraries. See issue #3470.
* ENH: Allow a custom list of debug configurationsBrad King2008-09-041-0/+51
| | | | | | Create a DEBUG_CONFIGURATIONS global property as a way for projects to specify which configuration names are considered to be 'debug' configurations.
* BUG: Fix unsetting of global propertiesBrad King2008-09-041-4/+0
| | | | | | | | | The set_property command unsets a property if it is given no value. In the case of GLOBAL properties, the cmake::SetProperty method would replace a NULL value with "NOTFOUND". Instead it should be left as NULL so that the property is unset as expected. Once it is unset the get_cmake_property command will still report NOTFOUND while the get_property command will return the empty string as documented.
* BUG: 7448 fix crash in ccmake when compiler is changedBill Hoffman2008-08-191-1/+4
|
* BUG: fix for 7426 bad check for cpackBill Hoffman2008-07-311-1/+1
|
* ENH: add a --trace optionBill Hoffman2008-07-311-0/+6
|
* BUG: Fix issue #7088 - do not emit error messages when attempts to run ↵David Cole2008-07-301-2/+3
| | | | Visual Studio macros fail. You can still get the error output as messages if you want using --debug-output from the cmake command line.
* ENH: Do not auto-create out-dated cache variablesBrad King2008-07-031-15/+23
| | | | | | | | | | - We used to always put LIBRARY_OUTPUT_PATH and EXECUTABLE_OUTPUT_PATH in the cache if the project did not. - In CMake 2.6 these variables should no longer be used. - Now add them only if CMAKE_BACKWARDS_COMPATIBILITY is also cached. - This happens only when CMP0001 is set to OLD or WARN or if the user or project sets it. In any case compatibility is needed. - Reported by Miguel A. Figueroa-Villanueva and Philip Lowman.
* BUG: fix for bug 7222 manifest:no not working for makefilesBill Hoffman2008-06-201-9/+29
|
* ENH: support large object file lists with incremental visual studio linkingBill Hoffman2008-06-181-1/+1
|
* ENH: add an enabled language propertyBill Hoffman2008-06-171-0/+23
|
* ENH: Whenever CMake re-runs from inside the VS IDE inform the user why.Brad King2008-06-081-1/+5
|
* BUG: make "cmake -Wno-dev ../srcdir" work, advancing i had the effect thatAlexander Neundorf2008-05-121-3/+1
| | | | | | | | | the argument after -Wno-dev was skipped, which happened to be the source directory, and so the current working directory was assumed as source directory, although it was the build directory (maybe this didn't have an effect if there was already a CMakeCache.txt in the build dir) Alex
* BUG: Remove check for files written by file(WRITE) being loaded.Brad King2008-04-301-17/+0
| | | | | | | | | | | | - CMake 1.8 and below did not do the check but could get in infinite loops due to the local generate step. - CMake 2.0 added the check but failed to perform it in directories with no targets (see bug #678). - CMake 2.2 removed the local generate which fixed the problem but did not remove the check. - Between CMake 2.4 and 2.6.0rc6 the check was fixed to work even when no targets appear in a directory (see bug #6923). - Bottom line: the check is no longer needed.
* ENH: install the mac application bundle into /Applications directly with no ↵Bill Hoffman2008-04-041-0/+13
| | | | enclosing folder
* ENH: make it possible to disable debug output againAlexander Neundorf2008-04-021-1/+1
| | | | Alex
* ENH: try to fix mac symlinks to the executableBill Hoffman2008-03-281-2/+2
|
* BUG: fix install problem on make and allow symlinks to cmake bin directoryBill Hoffman2008-03-271-0/+2
|
* ENH: clean up annoying output from rc tool in VS9Bill Hoffman2008-03-271-4/+9
|
* ENH: make sure -Wno-dev sticks so make rebuild_cache will workBill Hoffman2008-03-221-16/+21
|
* ENH: Clarify end of (dev) warnings to explicitly state they are meant for ↵Brad King2008-03-201-1/+2
| | | | project developers.
* ENH: move the clear to before things are added to the mapsBill Hoffman2008-03-131-2/+2
|
* ENH: Make (dev) warnings show note about -Wno-dev option. Fix -Wdev and ↵Brad King2008-03-131-0/+16
| | | | -Wno-dev options to not be mistaken for the source directory specification.
* ENH: Improve new error/warning message generationBrad King2008-03-131-0/+78
| | | | | | | | | | - Add cmListFileBacktrace to record stack traces - Move main IssueMessage method to the cmake class instance (make the backtrace an explicit argument) - Change cmMakefile::IssueMessage to construct a backtrace and call the cmake instance version - Record a backtrace at the point a target is created (useful later for messages issued by generators)
* ENH: change CMP_ to CMPKen Martin2008-03-131-1/+1
|
* ENH: make sure properties are re-set on each configureBill Hoffman2008-03-121-9/+17
|
* ENH: add ability to suppress dev warnings to gui codeBill Hoffman2008-03-121-12/+20
|
* BUG: Fixes to VS8/VS9 project regeneration rulesBrad King2008-03-111-2/+48
| | | | | | | - ZERO_CHECK should check all stamps in case of parallel build (fixes complex test failure) - ZERO_CHECK should not appear when CMAKE_SUPPRESS_REGENERATION is on (fixes bug 6490)
* ENH: add a way to suppress the new policy warnings, still need ccmake and gui'sBill Hoffman2008-03-111-0/+17
|
* ENH: Finish creating, documenting, and enforcing policy CMP_0002.Brad King2008-03-071-2/+2
|
* ENH: Improve handling of old-style compatibility.Brad King2008-03-071-27/+0
| | | | | | | | | | | | | | | | | | | - Remove CMP_0001 (no slash in target name) and restore old CMAKE_BACKWARDS_COMPATIBILITY check for it - Replace all checks of CMAKE_BACKWARDS_COMPATIBILITY with cmLocalGenerator::NeedBackwardsCompatibility calls - Create new CMP_0001 to determine whether or not CMAKE_BACKWARDS_COMPATIBILITY is used. (old = use, new = ignore) - Show CMAKE_BACKWARDS_COMPATIBILITY in cache only when CMP_0001 is set to OLD or WARN - Update documentation of cmake_policy and cmake_minimum_required to indicate their relationship and the 2.4 version boundary - When no cmake policy version is set in top level makefile implicitly call cmake_policy(VERSION 2.4) which restores CMAKE_BACKWARDS_COMPATIBILITY and other 2.4 compatibility - Fix tests MakeClean and Preprocess to call cmake_policy(VERSION 2.6) because they depend on new policies
* ENH: clean up some policy stuff and interactions with ↵Ken Martin2008-03-071-0/+26
| | | | CMAKE_BACKWARDS_COMPATIBILITY and CMAKE_MINIMUM_REQUIRED
* ENH: more policy changesKen Martin2008-03-041-26/+0
|
* ENH: add --help-policies and --help-policy command line optionsKen Martin2008-03-041-0/+5
|
* ENH: add first cut and policies still need to add the doc supportKen Martin2008-03-011-1/+4
|
* ENH: remove CMAKE_PREFIX so changing it does not rebuild allBill Hoffman2008-02-181-8/+0
|