Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmSet: Replace loop with cmJoin. | Stephen Kelly | 2015-02-11 | 1 | -11/+1 |
| | |||||
* | Replace foo.size() pattern with !foo.empty(). | Stephen Kelly | 2015-01-18 | 1 | -1/+1 |
| | |||||
* | Remove some unneeded c_str calls. | Stephen Kelly | 2014-11-23 | 1 | -2/+2 |
| | |||||
* | Remove some c_str() calls. | Stephen Kelly | 2014-03-11 | 1 | -1/+1 |
| | | | | | | Use the clang RemoveCStrCalls tool to automatically migrate the code. This was only run on linux, so does not have any positive or negative effect on other platforms. | ||||
* | Use new cmHasLiteralPrefix function | Stephen Kelly | 2013-11-21 | 1 | -1/+1 |
| | |||||
* | set: Fix handling of empty value with PARENT_SCOPE | Daniele E. Domenichelli | 2013-11-13 | 1 | -9/+2 |
| | | | | | | | | | | | | | Just as set(VAR "") sets VAR to an empty string in the current scope, the code set(VAR "" PARENT_SCOPE) is documented to set the variable to an empty string in the parent scope. Fix the implementation to make it so. | ||||
* | set: Handle value-less PARENT_SCOPE explicitly | Daniele E. Domenichelli | 2013-11-13 | 1 | -0/+8 |
| | | | | | | The code "set(VAR PARENT_SCOPE)" unsets VAR in the parent scope. Implement this case explicitly next to where "set(VAR)" is explicitly handled to unset VAR in the current scope. | ||||
* | Remove trailing whitespace from most CMake and C/C++ code | Kitware Robot | 2012-08-13 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//' | ||||
* | Fix spelling errors reported by Lintian. | Kai Wasserbäch | 2010-07-13 | 1 | -1/+1 |
| | | | | | During a Lintian run on the binary packages of CMake in Debian I was notified of many spelling mistakes. | ||||
* | Remove CMake Policy CMP0015 until it is revised | Brad King | 2009-10-08 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | 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 License | Brad King | 2009-09-28 | 1 | -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. | ||||
* | Add parentheses around '&&' between '||' for gcc | Brad King | 2009-09-11 | 1 | -3/+3 |
| | | | | | | | The GNU compiler warns about possible operator precedence mistakes and asks for explicit parentheses (-Wparentheses). We add the parentheses to silence the warning. This also fixes one real logic error in the find_package() implementation by correcting expression evaluation order. | ||||
* | Create CMake Policy CMP0015 to fix set(CACHE) | Brad King | 2009-09-10 | 1 | -0/+1 |
| | | | | | | | | 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. | ||||
* | STYLE: cacheStart is used only locally in the if-branch | Alexander Neundorf | 2009-05-10 | 1 | -2/+1 |
| | | | | Alex | ||||
* | BUG: fix issue with -D and cache force | Bill Hoffman | 2008-11-21 | 1 | -1/+1 |
| | |||||
* | ENH: Simplify error message for invalid set(... CACHE) calls to make it look ↵ | Brad King | 2008-03-13 | 1 | -11/+1 |
| | | | | nicer with new message format. | ||||
* | ENH: add return and break support to cmake, also change basic command ↵ | Ken Martin | 2008-01-23 | 1 | -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 Neundorf | 2008-01-18 | 1 | -10/+37 |
| | | | | Alex | ||||
* | COMP: Fix and/or disable warnings for Borland 5.6 build. | Brad King | 2006-08-01 | 1 | -1/+1 |
| | |||||
* | STYLE: some m_ to this-> cleanup | Ken Martin | 2006-03-15 | 1 | -4/+4 |
| | |||||
* | BUG: Remove memory leak | Andy Cedilnik | 2005-06-03 | 1 | -0/+1 |
| | |||||
* | COMP: fix unused var warning | Ken Martin | 2005-01-20 | 1 | -1/+0 |
| | |||||
* | ENH: now the set command can set environment variables | Ken Martin | 2005-01-20 | 1 | -1/+36 |
| | |||||
* | ENH: fixed SET command to accept cache values with more than one value | Ken Martin | 2005-01-04 | 1 | -49/+30 |
| | |||||
* | BUG: A variable is not in the cache if it is UNINITIALIZED. | Brad King | 2002-11-08 | 1 | -1/+1 |
| | |||||
* | ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵ | Brad King | 2002-10-23 | 1 | -3/+3 |
| | | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs. | ||||
* | Remove warning | Andy Cedilnik | 2002-10-10 | 1 | -3/+6 |
| | |||||
* | added FORCE option | Ken Martin | 2002-10-09 | 1 | -6/+12 |
| | |||||
* | BUG: fix doc string and allow a variable to be promoted from non-cache to cache | Bill Hoffman | 2002-09-27 | 1 | -7/+9 |
| | |||||
* | ENH: If SET(VAR) is called with no other arguments, remove the definition of ↵ | Brad King | 2002-09-18 | 1 | -1/+2 |
| | | | | VAR. | ||||
* | ENH: add enable language support for PROJECT command, this means that a C ↵ | Bill Hoffman | 2002-04-02 | 1 | -1/+1 |
| | | | | only project can be built with cmake, even without a cxx compiler | ||||
* | FIX: get rid of warnings | Sebastien Barre | 2002-03-30 | 1 | -1/+1 |
| | |||||
* | ENH: add ability to use ; separated lists in SET and expand them for ↵ | Bill Hoffman | 2002-03-29 | 1 | -1/+19 |
| | | | | addexecutable and addlibrary | ||||
* | ENH: expand variables in arguments before the commands get them | Bill Hoffman | 2002-03-05 | 1 | -2/+0 |
| | |||||
* | ENH:Updated copyright | Will Schroeder | 2002-01-21 | 1 | -29/+5 |
| | |||||
* | ENH: change InitialPass to take a const reference to the argument string, to ↵ | Bill Hoffman | 2001-09-20 | 1 | -2/+2 |
| | | | | avoid changes to the file cache | ||||
* | ENH: Added extra newline in an error message to improve readability. | Brad King | 2001-09-20 | 1 | -0/+1 |
| | |||||
* | BUG: cmSystemTools::CollapseFullPath is a bad thing to call on the compiler ↵ | Bill Hoffman | 2001-08-20 | 1 | -5/+0 |
| | | | | which is a filepath | ||||
* | If the value is a path, collapse it (cleaner) | Sebastien Barre | 2001-08-19 | 1 | -0/+5 |
| | |||||
* | ENH: big change, only allow commands access to the cache via the cmMakefile ↵ | Bill Hoffman | 2001-08-08 | 1 | -7/+10 |
| | | | | class and GetDefinition, also the cmMakefile is the only way for commands to add to the cache. Also, some changes to configure.in that check for for scoping | ||||
* | ENH: rename Invoke to InitialPass | Bill Hoffman | 2001-06-06 | 1 | -1/+1 |
| | |||||
* | ENH: add better error checking | Bill Hoffman | 2001-06-04 | 1 | -0/+15 |
| | |||||
* | bug meaning that set(a b) just set a to "" and not to b | Geoffrey Cross | 2001-05-25 | 1 | -1/+7 |
| | |||||
* | ENH: change the syntax of the SET command, fix the combo box for larger strings | Bill Hoffman | 2001-05-24 | 1 | -48/+53 |
| | |||||
* | BUG: fix compiler name | Bill Hoffman | 2001-05-21 | 1 | -1/+1 |
| | |||||
* | ENH: allow cache to override config file | Bill Hoffman | 2001-05-18 | 1 | -25/+51 |
| | |||||
* | ENH: unify make process on unix | Bill Hoffman | 2001-05-16 | 1 | -1/+20 |
| | |||||
* | new set command and IF NOT | Ken Martin | 2001-05-01 | 1 | -0/+70 |