summaryrefslogtreecommitdiffstats
path: root/Source/cmSetCommand.h
Commit message (Collapse)AuthorAgeFilesLines
* Add 'const' qualifier to some cmCommand membersYury G. Kudryashov2012-02-291-4/+4
| | | | | Use const_cast for the special case in cmFindBase where GetFullDocumentation calls GenerateDocumentation.
* Remove CMake Policy CMP0015 until it is revisedBrad King2009-10-081-4/+2
| | | | | | | | | | | | | | | | | | | | We revert commit "Create CMake Policy CMP0015 to fix set(CACHE)" because the NEW behavior of the policy breaks a valid use case: # CMakeLists.txt option(BUILD_SHARED_LIBS "..." ON) add_library(mylib ...) set(BUILD_SHARED_LIBS OFF) # we want only mylib to be shared add_subdirectory(ThirdParty) # ThirdParty/CMakeLists.txt option(BUILD_SHARED_LIBS "..." ON) # uh, oh, with NEW behavior this dir uses shared libs!!! We'll re-introduce the policy later with a different change in behavior to resolve the motivating case, which was more subtle but less common. See issue #9008.
* 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.
* Create CMake Policy CMP0015 to fix set(CACHE)Brad King2009-09-101-2/+4
| | | | | | | | The set(CACHE) and option() commands should always expose the cache value. Previously we failed to expose the value when it was already set if a local variable definition hid it. When set to NEW, this policy tells the commands to always remove the local variable definition to expose the cache value. See issue #9008.
* some white space fixes for the bookKen Martin2009-09-031-2/+2
|
* ENH: Add unset() command.Brad King2008-08-251-2/+3
| | | | | | | | This introduces the unset() command to make it easy to unset CMake variables, environment variables, and CMake cache variables. Previously it was not even possible to unset ENV or CACHE variables (as in completely remove them). Changes based on patch from Philip Lowman. See issue #7507.
* ENH: add return and break support to cmake, also change basic command ↵Ken Martin2008-01-231-1/+2
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* ENH: remove RAISE_SCOPE() again and instead add SET(<var> <value> PARENT_SCOPE)Alexander Neundorf2008-01-181-1/+8
| | | | Alex
* STYLE: make formatting of help a bit more consistentAlexander Neundorf2007-12-201-12/+13
| | | | Alex
* ENH: make commands lower case by defaultKen Martin2007-10-101-4/+4
|
* STYLE: fix docsKen Martin2005-11-171-9/+10
|
* ENH: big change that includes immediate subdir support, removing the notion ↵Ken Martin2005-03-181-6/+0
| | | | of inherited commands, makefiles no longer read in the parent makefiles but instead inherit thier parent makefiles current settings
* ENH: now the set command can set environment variablesKen Martin2005-01-201-1/+4
|
* ENH: Add support for install postfixAndy Cedilnik2004-02-031-0/+5
|
* removed redundent includesKen Martin2003-08-101-1/+0
|
* ENH: Added CACHE entry types to documentation string.Brad King2003-04-041-6/+12
|
* ENH: Cleaned up documentation and formatted it for use by cmDocumentation.Brad King2003-02-141-8/+8
|
* ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵Brad King2002-10-231-3/+3
| | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
* added FORCE optionKen Martin2002-10-091-2/+3
|
* BUG: fix doc string and allow a variable to be promoted from non-cache to cacheBill Hoffman2002-09-271-1/+2
|
* ENH: add ability to use ; separated lists in SET and expand them for ↵Bill Hoffman2002-03-291-1/+3
| | | | addexecutable and addlibrary
* ENH:Updated copyrightWill Schroeder2002-01-211-29/+5
|
* ENH: change InitialPass to take a const reference to the argument string, to ↵Bill Hoffman2001-09-201-1/+1
| | | | avoid changes to the file cache
* ENH: rename Invoke to InitialPassBill Hoffman2001-06-061-1/+1
|
* ENH: change the syntax of the SET command, fix the combo box for larger stringsBill Hoffman2001-05-241-2/+7
|
* new set command and IF NOTKen Martin2001-05-011-0/+103