summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix some typos in the docs comments.Stephen Kelly2012-03-191-5/+5
|
* doxygen: review cmake.hYury G. Kudryashov2012-02-291-28/+24
| | | | | * Move top-level comment to class apidocs * Remove misleading comment
* doxygen: Small fixes in cmake.h apidocsYury G. Kudryashov2012-02-281-3/+2
|
* doxygen: Use proper syntax to document enumYury G. Kudryashov2012-02-281-12/+15
|
* Merge topic 'warn-funny-path-names'David Cole2012-02-071-2/+0
|\ | | | | | | | | c8ef643 Allow directory names containing '=' and warn if necessary (#12934)
| * Allow directory names containing '=' and warn if necessary (#12934)Brad King2012-02-061-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | The approach taken by commit 8704525f (Reject directory names containing '=', 2011-01-14) was perhaps too heavy-handed for avoiding the obscure cases when '=' in the path fails due to limitations of Make syntax. Only two CMake tests: LinkDirectory OutOfSource fail when the path contains '=' and they cover obscure cases. Instead of rejecting such paths outright just warn when the problem may occur.
* | Merge topic 'UsingCMakeLikePkgConfig2'David Cole2011-08-251-8/+23
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59238dc Fix --find-package mode on Cygwin, where enable_language(RC) is called 98472e4 Require the current cmake version in --find-package mode a6ccf3c Use $(CXXFLAGS) and $(LDFLAGS) in the --find-package test Makefile 4386918 Fix line length 7d69310 Only enable the test when using GNU make 3011149 Make the test harder by always having a space in the include dirs ab57ff6 Make the --find-package test harder 626fc71 Much improved test, should now be executed on all UNIXes ec6982d Disable any STATUS output in --find-package mode e552ae7 Dont check for -isysroot and -mmacosx-version on OSX in --find-package mode e589589 Rename helper macros print_compile_flags() to set_compile_flags_var() aecfc1f Fix test on OpenBSD with BSD make 6bb4ca3 The makefile for the test was kindof wrong fd15b5e Only run the test if we are using a makefile generator under UNIX 9fc87c6 Add a test for the new --find-package mode d3ae0ff Improve documentation for --find-package mode bf07375 Add a cmake.m4 for using cmake in autoconf projects instead of pkgconfig b0e3578 Use the file-utility to test for 64bit if there is no /usr/lib64 53edfb2 Better support for lib64 and Debian multiarch b8fdaa1 Fix copyright notice in new CMakeFindPackageMode.cmake 7690edf Replace cmake::GetScriptMode() with GetWorkingMode() e4f603b Implement find-package mode of cmake a91d662 Add find-package mode, which does nothing yet b976e70 Make clLocalGenerator::GetTargetFlags() public
| * | Replace cmake::GetScriptMode() with GetWorkingMode()Alex Neundorf2011-08-091-12/+22
| | | | | | | | | | | | | | | | | | | | | GetWorkingMode() returns a new enum WorkingMode, which is one of NORMAL_MODE, SCRIPT_MODE and FIND_PACKAGE_MODE. Alex
| * | Add find-package mode, which does nothing yetAlex Neundorf2011-07-021-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | -add command line argument --find-package and handle it, i.e. call an empty function cmake::FindPackage() -add basic help Alex
* | | Add the cmake module required currently for automocAlex Neundorf2011-08-141-0/+1
| | | | | | | | | | | | Alex
* | | Merge topic 'split-stdout-stderr'David Cole2011-08-021-1/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | a343bc1 RunSingleCommand: Avoid assignment in condition 642f100 RunSingleCommand: Add a OUTPUT_NORMAL flag. 856a9e4 RunSingleCommand: Replace verbose boolean with enum 4096066 RunSingleCommand: Fix indentation
| * | | RunSingleCommand: Add a OUTPUT_NORMAL flag.Johan Björk2011-07-281-1/+2
| |/ / | | | | | | | | | | | | OUTPUT_NORMAL does no processing of the output streams, it just passes them through the same streams as they were received on.
* | | Fix #12342: Add APPEND_STRING option to set_property()Alex Neundorf2011-07-151-1/+1
|/ / | | | | | | | | | | | | | | | | set_property() has APPEND, which creates a list. E.g. when appending to COMPILE_FLAGS a string is needed, not a list. With the APPEND_STRING option the value is append as string, not as list. Alex
* | Merge topic 'cleanup-unused-variable-check'Brad King2011-03-311-2/+2
|\ \ | | | | | | | | | | | | | | | a4335a6 Fix unused cache warning after multiple configure iterations a75ebe3 Refine unused cache variable warning
| * | Refine unused cache variable warningBrad King2011-03-241-2/+2
| | | | | | | | | | | | | | | 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-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | Add CMAKE_ARGC and CMAKE_ARGV0..N-1 variables (#2828)David Cole2011-02-031-1/+1
| |/ / | | | | | | | | | For now, these variables are only available in -P script mode.
* | | Merge topic 'disallow-funny-path-names'Brad King2011-02-221-0/+2
|\ \ \ | |/ / |/| / | |/ | | 8704525 Reject directory names containing '=' (#11689)
| * Reject directory names containing '=' (#11689)Brad King2011-01-141-0/+2
| | | | | | | | | | | | Some characters are not well-supported by native build systems. Reject paths containing such characters before even trying to configure a project.
* | Add method to unwatch a manual variableBen Boeckel2011-01-131-0/+1
| |
* | Merge branch 'ImprovedDotSupport2' into dev/strict-modeBrad King2010-12-171-37/+39
|\ \ | |/ | | | | | | Conflicts: Source/cmake.cxx
| * Move the code for generating dot-files into separate class cmGraphVizWriterAlex Neundorf2010-11-091-17/+0
| | | | | | | | Alex
| * Generate separate dot files for each target, and a big one with everything.Alex Neundorf2010-10-311-1/+9
| | | | | | | | | | | | | | | | 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-1/+0
| | | | | | | | Alex
| * Move the code for collecting targets and libraries into separate functionsAlex Neundorf2010-10-311-37/+49
| | | | | | | | | | | | | | Found bug: targets which don't link to anything don't get inserted in the dot file. Alex
* | When checking for variables, specify a reasonBen Boeckel2010-11-151-1/+1
| | | | | | | | 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-1/+1
| | | | | | | | | | Argument parsing sets the source/build directories, but they may have been (meaningfully) set before hand. Let's not overwrite them.
* | Add a method to put a watch for variablesBen Boeckel2010-09-221-0/+1
| |
* | Run the unused variables check on the final passBen Boeckel2010-09-021-0/+2
| |
* | Add a flag to warn about system filesBen Boeckel2010-09-011-0/+3
| |
* | Rename flags again and use variablewatch for cliBen Boeckel2010-09-011-3/+7
| |
* | Rename find-unused to warn-unusedBen Boeckel2010-09-011-3/+3
| |
* | Rename strict-mode to warn-uninitializedBen Boeckel2010-09-011-3/+3
| |
* | Add flags to detect unused variablesBen Boeckel2010-09-011-0/+6
| |
* | Make --strict-mode option, and integrate with cmake-guiBill Hoffman2010-09-011-0/+3
|/
* Remove unused DumpDocumentation codeBrad King2009-12-081-6/+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.
* Factor out "cmake -E cmake_symlink_*" codeBrad King2009-10-211-0/+4
| | | | | | | | | | | | | | We factor the implementation of cmake -E cmake_symlink_library cmake -E cmake_symlink_executable out of cmake::ExecuteCMakeCommand into methods cmake::SymlinkLibrary cmake::SymlinkExecutable plus a helper method cmake::SymlinkInternal.
* 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.
* STYLE: Remove unused cmake::CacheVersionMatchesBrad King2009-03-051-2/+0
| | | | This remove the method completely since nothing uses it.
* ENH: Cleanup cmake --build interface.Brad King2009-03-041-3/+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: 4244, add a --build option to cmake that can build projects configured ↵Bill Hoffman2008-10-151-0/+7
| | | | by CMake
* ENH: Allow a custom list of debug configurationsBrad King2008-09-041-0/+5
| | | | | | Create a DEBUG_CONFIGURATIONS global property as a way for projects to specify which configuration names are considered to be 'debug' configurations.
* ENH: add a --trace optionBill Hoffman2008-07-311-0/+4
|
* BUG: fix for bug 7222 manifest:no not working for makefilesBill Hoffman2008-06-201-1/+4
|
* BUG: Remove check for files written by file(WRITE) being loaded.Brad King2008-04-301-6/+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: make it possible to disable debug output againAlexander Neundorf2008-04-021-1/+1
| | | | Alex
* ENH: make sure gui no-dev workisBill Hoffman2008-03-291-1/+2
|
* ENH: remove dangerous access to ivar that should not be usedBill Hoffman2008-03-281-1/+0
|
* ENH: make sure -Wno-dev sticks so make rebuild_cache will workBill Hoffman2008-03-221-0/+1
|