summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'MoreGraphVizFeatures'Brad King2011-04-191-0/+1
|\ | | | | | | | | | | | | 08fa5dd Also generate dependers-graphviz files. 4f96a76 GRAPHVIZ_IGNORE_TARGETS is now a list of regular expressions 5698ad2 Make it possible to exlude external libs from dot files
| * Also generate dependers-graphviz files.Alex Neundorf2011-02-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | With this commit, the --graphviz option now also generates dot files which show which other targets depend on some target. So, now there is * a global dot-file which shows all targets and dependencies * a dot file which shows on what a target Foo depends * a dot file which shows which other targets depend on Foo Alex
* | Merge topic 'cleanup-unused-variable-check'Brad King2011-03-311-22/+25
|\ \ | | | | | | | | | | | | | | | a4335a6 Fix unused cache warning after multiple configure iterations a75ebe3 Refine unused cache variable warning
| * | Fix unused cache warning after multiple configure iterationsBrad King2011-03-241-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The curses dialog (ccmake) allows variables to be specified on the command line. If any of these variables is used during any configure iteration or during generate we must not warn about it. The Qt dialog (cmake-gui) allows variables to be added and removed in the GUI interactively. If a variable is added, removed, and then added again we must still warn if it is unused.
| * | Refine unused cache variable warningBrad King2011-03-241-20/+20
| |/ | | | | | | | | List all unused variables in one warning. Cleanup implementation to run the check exactly once at the end of generation.
* | Merge topic 'fix-2828-more-info-in-script-mode'Brad King2011-02-221-5/+15
|\ \ | | | | | | | | | | | | | | | | | | a58ace6 Fix KWStyle line-too-long complaint (#2828) 106958c Add CMAKE_ARGC and CMAKE_ARGV0..N-1 variables (#2828) 94d1684 Add CMAKE_SCRIPT_MODE_FILE variable (#2828)
| * | Fix KWStyle line-too-long complaint (#2828)David Cole2011-02-041-1/+2
| | |
| * | Add CMAKE_ARGC and CMAKE_ARGV0..N-1 variables (#2828)David Cole2011-02-031-5/+8
| | | | | | | | | | | | For now, these variables are only available in -P script mode.
| * | Add CMAKE_SCRIPT_MODE_FILE variable (#2828)David Cole2011-02-021-0/+6
| |/ | | | | | | | | New CMake variable is set when processing a -P script file, but not when configuring a project.
* | Merge topic 'fix-10704-manifest-no-vs10'Brad King2011-02-221-1/+4
|\ \ | | | | | | | | | | | | | | | fbca267 VS: Only use /MANIFEST if hasManifest is true (#11216) 98b448e VS2010: Fixed GenerateManifest flag (#10704)
| * | VS: Only use /MANIFEST if hasManifest is true (#11216)David Cole2011-02-091-1/+4
| |/ | | | | | | Thanks to Jörg Riedel for the patch.
* | Merge topic 'disallow-funny-path-names'Brad King2011-02-221-0/+24
|\ \ | | | | | | | | | | | | 8704525 Reject directory names containing '=' (#11689)
| * | Reject directory names containing '=' (#11689)Brad King2011-01-141-0/+24
| | | | | | | | | | | | | | | | | | Some characters are not well-supported by native build systems. Reject paths containing such characters before even trying to configure a project.
* | | Documentation: Sync two differing copies of -E docs (#10446)David Cole2011-02-041-9/+11
| |/ |/| | | | | Alphabetize both lists. Put platform-specific docs in both places too.
* | 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
| | |