summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* Fix typo in nameBill Hoffman2009-09-171-1/+1
|
* Fix for bug #8969, pick a better default version for VS, and make it easier ↵Bill Hoffman2009-09-151-27/+24
| | | | to add new versions of VS to look for.
* Fix for Bug #9190, -U did not work on case insensitive file systems because ↵Bill Hoffman2009-09-141-1/+1
| | | | of call to glob convert to regex that expected to work with files.
* Remove barely-used cmCacheManager::AddCacheEntryBrad King2009-09-111-2/+3
| | | | | | | The commit "Remove barely-used cmMakefile::AddCacheDefinition" removed all but one use of the cmCacheManager method 'bool' overload. This commit removes the other use and the entire method, thus reducing code duplication.
* Simplify VS CMake re-run checkBrad King2009-09-041-11/+0
| | | | | | | | | | | | When CMake is invoked by the VS IDE re-run rule we compute whether or not CMake really needs to re-run based on some timestamp helper files. Previously we assumed that if the main generate.stamp file exists then VS has correctly detected that the file is out of date. However, this assumption is too aggressive and re-runs CMake unnecessarily sometimes. This commit removes the assumption and always checks timestamps itself. The change breaks the explicit user re-run request (R-click -> Compile) but only in cases when the build system is already up to date.
* Remove CMakeSetup. Long live cmake-gui, start building Qt now.Bill Hoffman2009-09-031-1/+1
|
* Use the MANIFEST flag for non incremental linking as well.Bill Hoffman2009-09-011-0/+1
|
* Move /MANIFEST flag into -E vs_link. This is so it can be used by the intel ↵Bill Hoffman2009-09-011-7/+2
| | | | compilers without having to specifiy it in the intel compiler files
* Handle embeded manifests with ifort.Bill Hoffman2009-09-011-1/+7
|
* Create GLOBAL_DEPENDS_NO_CYCLES propertyBrad King2009-08-241-0/+10
| | | | | This global property disallows cycles in the inter-target dependency graph even among STATIC libraries. See issue #9444.
* DOCS: fix typo (#9231)Alexander Neundorf2009-07-311-1/+1
| | | | Alex
* BUG: Do not double-initialize local generatorsBrad King2009-07-281-5/+0
| | | | | | | | | All global generator CreateLocalGenerator methods automatically initialize the local generator instances with SetGlobalGenerator. In several places we were calling SetGlobalGenerator again after receiving the return value from CreateLocalGenerator. The double-initializations leaked the resources allocated by the first call to SetGlobalGenerator. This fix removes the unnecessary calls.
* ENH: first pass at VS 10, can bootstrap CMake, but many tests still failBill Hoffman2009-06-251-0/+3
|
* STYLE: fix typos in the docsAlexander Neundorf2009-04-191-1/+1
| | | | Alex
* ENH: Create command line api "cmake -E rename"Brad King2009-04-151-0/+16
| | | | | | This extends the "-E" command line mode with a "rename old new" signature. The new command atomically renames a file or directory within a single disk volume.
* ENH: Allow projects to disable per-rule echo linesBrad King2009-03-161-7/+7
| | | | | | | | | This creates global property RULE_MESSAGES which can be set to disbale per-rule progress and action reporting. On Windows, these reports may cause a noticable delay due to the cost of starting extra processes. This feature will allow scripted builds to avoid the cost since they do not need detailed information anyway. This replaces the RULE_PROGRESS property created earlier as it is more complete. See issue #8726.
* ENH: Allow projects to disable per-rule progressBrad King2009-03-161-0/+14
| | | | | | | | This creates global property RULE_PROGRESS which can be set to disbale per-rule progress reporting. On Windows, progress reports may cause a noticable delay due to the cost of starting an extra process. This feature will allow scripted builds to avoid the cost since they do not need detailed progress anyway. See issue #8726.
* BUG: Fix cache properties for CMAKE_STRICT buildBrad King2009-03-131-1/+1
| | | | | All cmPropertyMap instances must have CMakeInstance set. This teaches cmCacheManager to set it on cache entries.
* ENH: Document CACHE entry propertiesBrad King2009-03-101-0/+1
| | | | | This adds a property documentation section for CACHE properties. We document the ADVANCED, HELPSTRING, TYPE, and VALUE properties.
* 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