summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'dev/add_test-working-directory' into dev/strict-modeBrad King2011-01-271-2/+5
|\ | | | | | | | | Conflicts: Tests/CMakeLists.txt
| * Fix incremental linking for VS2010 with nmake or make.Bill Hoffman2010-12-091-0/+4
| | | | | | | | | | | | VS2010 deprecated /INCREMENTAL:YES. This change makes /INCREMENTAL the flag to use for incremental linking with VS2010.
| * Merge topic 'dev/fix-cache-variable-parsing-ambiguity'David Cole2010-11-231-2/+1
| |\ | | | | | | | | | | | | | | | | | | | | | 8b143fa Condense parsing of cache entries 122ebf1 Support manual cache entries 90abc3a Use cmCacheManager to load entries from the cache 6fe8624 Fix parsing of cache variables without a type
| | * Condense parsing of cache entriesBen Boeckel2010-11-221-2/+1
| | | | | | | | | | | | | | | If a cache line is being parsed, it shouldn't matter whether it has a type or not; just parse it however possible.
* | | Add method to unwatch a manual variableBen Boeckel2011-01-131-0/+8
| | |
* | | Give a better message for unused variablesBen Boeckel2011-01-131-1/+1
| | |
* | | Merge branch 'ImprovedDotSupport2' into dev/strict-modeBrad King2010-12-171-306/+80
|\ \ \ | |/ / | | | | | | | | | Conflicts: Source/cmake.cxx
| * | Move the code for generating dot-files into separate class cmGraphVizWriterAlex Neundorf2010-11-091-324/+12
| | | | | | | | | | | | Alex
| * | Generate separate dot files for each target, and a big one with everything.Alex Neundorf2010-10-311-68/+140
| | | | | | | | | | | | | | | | | | | | | | | | The big all-in-one file is basically unusable for e.g. kdelibs, it contains around 1000 nodes and the created image is huuuuge ! Too big actually to be displayable or viewable or comprehensable. Alex
| * | Properly insert all targets, also those which don't link to anything.Alex Neundorf2010-10-311-84/+45
| | | | | | | | | | | | Alex
| * | Move the code for collecting targets and libraries into separate functionsAlex Neundorf2010-10-311-82/+126
| | | | | | | | | | | | | | | | | | | | | Found bug: targets which don't link to anything don't get inserted in the dot file. Alex
| * | Remove trailing whitespace and minor formatting changes for the dot-codeAlex Neundorf2010-10-311-97/+107
| |/ | | | | | | Alex
| * Merge topic 'vs-project-groups'Brad King2010-10-051-1/+1
| |\ | | | | | | | | | | | | fd3249e New USE_FOLDERS property OFF by default. (#3796)
| | * New USE_FOLDERS property OFF by default. (#3796)David Cole2010-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Visual Studio Express editions do not support solution folders, so default behavior should be as if USE_FOLDERS global property is OFF. Also, allow folder names to be the same as target names: internally, use a prefix to distinguish folder GUIDs from target GUIDs. Add a target and folder with the same name in the ExternalProject test to exercise this code. For CMake itself, provide a new option CMAKE_USE_FOLDERS that defaults to ON so that Visual Studio users get a nicely organized CMake project. Express edition users will have to turn off the CMAKE_USE_FOLDERS option in order to build CMake in the VS Express IDE.
* | | Merge branch 'cmake-guiRememberAdvancedCheckbox' into dev/strict-modeBrad King2010-12-171-0/+35
|\ \ \ | |/ / | | | | | | | | | Conflicts: Source/QtDialog/CMakeSetupDialog.cxx
| * | Add a delay after untar on windows to make external project work on windows 7Bill Hoffman2010-09-211-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | OK, on windows 7 after we untar some files, sometimes we can not rename the directory after the untar is done. This breaks the external project untar and rename code. So, by default we will wait 1/10th of a second after the untar. If CMAKE_UNTAR_DELAY is set in the env, its value will be used instead of 100.
| * | Merge topic 'vs-project-groups'Brad King2010-09-081-0/+17
| |\ \ | | |/ | | | | | | | | | e6ac0aa Add FOLDER target property, for IDEs (#3796)
| | * Add FOLDER target property, for IDEs (#3796)David Cole2010-09-031-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This work was started from a patch by Thomas Schiffer. Thanks, Thomas! See the newly added documentation of the FOLDER target property for details. Also added global properties, USE_FOLDERS and PREDEFINED_TARGETS_FOLDER. See new docs here, too. By default, the FOLDER target property is used to organize targets into folders in IDEs that have support for such organization. This commit adds "solution folder" support to the Visual Studio generators. Currently works with versions 7 through 10. Also, use the new FOLDER property in the ExternalProject test and in the CMake project itself.
* | | Use 'CMake Warning' versus 'warning' for CDashBen Boeckel2010-12-071-1/+1
| | |
* | | Don't warn during configure when doing everythingBen Boeckel2010-11-151-0/+6
| | | | | | | | | | | | | | | This prevents warnings from being generated after configure *and* after generation if both are going to be run anyways.
* | | When checking for variables, specify a reasonBen Boeckel2010-11-151-2/+3
| | | | | | | | | | | | Allow reasons to begiven for checking for unused variables.
* | | Fix line lengthsBen Boeckel2010-10-061-1/+2
| | |
* | | Add argument to arg parsing to not set directoriesBen Boeckel2010-10-051-2/+2
| | | | | | | | | | | | | | | Argument parsing sets the source/build directories, but they may have been (meaningfully) set before hand. Let's not overwrite them.
* | | Fix long lines for KWStyleBen Boeckel2010-09-231-3/+4
| | |
* | | Add a method to put a watch for variablesBen Boeckel2010-09-221-4/+9
| | |
* | | Fix line lengths to be no more than 78Ben Boeckel2010-09-161-2/+4
| | |
* | | Be consistent with single and double quotesBen Boeckel2010-09-021-1/+1
| | |
* | | Change logic of flag to turn off cli unused checksBen Boeckel2010-09-021-3/+3
| | | | | | | | | | | | | | | Since we default to checking unused cli variables, make the flag turn off the checks.
* | | Run the unused variables check on the final passBen Boeckel2010-09-021-15/+19
| | |
* | | VariableWatch is not available when bootstrappingBen Boeckel2010-09-021-0/+4
| | |
* | | Add a missing comma to the warning messageBen Boeckel2010-09-011-2/+2
| | |
* | | Add a flag to warn about system filesBen Boeckel2010-09-011-0/+6
| | |
* | | Rename flags again and use variablewatch for cliBen Boeckel2010-09-011-7/+36
| | |
* | | Default to marking things as usedBen Boeckel2010-09-011-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we don't then: cmake --warn-unused --warn-unused-all acts differently than: cmake --warn-unused-all --warn-unused
* | | Rename find-unused to warn-unusedBen Boeckel2010-09-011-5/+5
| | |
* | | Rename strict-mode to warn-uninitializedBen Boeckel2010-09-011-4/+4
| | |
* | | Add flags to detect unused variablesBen Boeckel2010-09-011-0/+14
| | |
* | | Make --strict-mode option, and integrate with cmake-guiBill Hoffman2010-09-011-0/+6
|/ /
* | Fix spelling errors reported by Lintian.Kai Wasserbäch2010-07-131-1/+1
|/ | | | | During a Lintian run on the binary packages of CMake in Debian I was notified of many spelling mistakes.
* Merge branch 'script-mode-keep-makeflags'Brad King2010-06-221-10/+10
|\
| * Preserve ENV{MAKEFLAGS} in CMake script modeBrad King2010-06-211-10/+10
| | | | | | | | | | | | | | | | Commit 02f7cfbc (Need to remove the MAKEFLAGS when cmake starts, 2003-05-13) removed the MAKEFLAGS environment variable when CMake starts to prevent try_compile() from inheriting "make -i". This is unnecessary in script mode (cmake -P). Instead remove the variable only when configuring a project.
* | Use full path file names to express dependencies.David Cole2010-06-211-0/+3
|/ | | | | | | | | This is especially important for the Visual Studio 10 generator and its quirky current working directory behavior. Also, emit more information about exactly what files are out of date when cmakeCheckStampFile returns false.
* Enable extra CodeBlocks generator on CygwinBrad King2010-01-131-3/+1
| | | | | This generator builds correctly on Cygwin so it should be enabled. Change based on patch from issue #10122.
* Fix mem leak reported by valgrind.David Cole2009-12-281-3/+3
|
* disable cmake's verbose output in the Eclipse and KDevelop generatorsAlexander Neundorf2009-12-231-5/+9
| | | | | | | | | | | | The Eclipse and KDevelop generators set the VERBOSE environment variable to TRUE in the project files, because they must be able to "see" the full command lines and errors, otherwise they can't parse the errors. But the VERBOSE env.var. also enables cmakes own verbose output, which can be quite long. This commit introduces an environment variable CMAKE_NO_VERBOSE, which when set disables cmake's verbose output also when VERBOSE is set. This env.var is now set by both the Eclipse and the KDevelop generators. Alex
* Remove unused DumpDocumentation codeBrad King2009-12-081-28/+0
| | | | | | | The DumpDocumentation executable and some supporting code and tests were completely unused by CMake. Generation of documentation is done by the individual executables with --help* options. In this commit we simply remove the unused code, executable, and test.
* Removed duplicated documentation entry.Zach Mullen2009-11-091-5/+0
|
* fix line length errorBill Hoffman2009-11-081-2/+3
|
* Add JOM support and clean up some of the tar -E stuffBill Hoffman2009-11-051-4/+12
|
* WIP: VS 10 Win64 generatorBrad King2009-10-221-0/+3
| | | | See issue #9754.