summaryrefslogtreecommitdiffstats
path: root/Source/cmCMakeMinimumRequired.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-4/+4
| | | | | | | | | | | | | | | | | 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/ \+$//'
* 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.
* Documentation: Fix comments in the source code (#10941)David Cole2011-08-041-2/+2
| | | | | Previously, the comments had all been copied and pasted and not fixed up... Now they are fixed up.
* Teach cmake_minimum_required about tweak versionBrad King2010-04-231-2/+2
| | | | | | | | The command now accepts four version components in the format major[.minor[.patch[.tweak]]] This corresponds to the new versioning scheme introduced recently.
* 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: changed "one may" into "it should" to make it strongerAlexander Neundorf2009-01-041-1/+1
| | | | Alex
* ENH: Clarify FATAL_ERROR option to min-req commandBrad King2009-01-031-3/+4
| | | | | | The FATAL_ERROR to cmake_minimum_required is useful for projects that require 2.6 to convince CMake 2.4 to error out. This clarifies its usefulness in the documentation.
* ENH: Ignore unknown cmake_minimum_required argsBrad King2009-01-031-0/+4
| | | | | | | When cmake_minimum_required is called with an unknown argument it should not complain about it if the version specified is in the future. This allows the proper error to be shown about the current CMake being too old.
* ENH: Clarify documentation of policy CMP0000 and its relationship with ↵Brad King2008-03-131-2/+2
| | | | cmake_minimum_required.
* ENH: Improve handling of old-style compatibility.Brad King2008-03-071-0/+7
| | | | | | | | | | | | | | | | | | | - Remove CMP_0001 (no slash in target name) and restore old CMAKE_BACKWARDS_COMPATIBILITY check for it - Replace all checks of CMAKE_BACKWARDS_COMPATIBILITY with cmLocalGenerator::NeedBackwardsCompatibility calls - Create new CMP_0001 to determine whether or not CMAKE_BACKWARDS_COMPATIBILITY is used. (old = use, new = ignore) - Show CMAKE_BACKWARDS_COMPATIBILITY in cache only when CMP_0001 is set to OLD or WARN - Update documentation of cmake_policy and cmake_minimum_required to indicate their relationship and the 2.4 version boundary - When no cmake policy version is set in top level makefile implicitly call cmake_policy(VERSION 2.4) which restores CMAKE_BACKWARDS_COMPATIBILITY and other 2.4 compatibility - Fix tests MakeClean and Preprocess to call cmake_policy(VERSION 2.6) because they depend on new policies
* ENH: Make CMAKE_MINIMUM_REQUIRED command FATAL_ERROR option implicit (always ↵Brad King2008-03-041-6/+7
| | | | on). Accept but ignore the existing option.
* 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: make commands lower case by defaultKen Martin2007-10-101-2/+2
|
* ENH: Added FATAL_ERROR option and fixed check to not have floating point ↵Brad King2006-02-141-2/+3
| | | | roundoff problems.
* STYLE: fix docsKen Martin2005-11-161-2/+5
|
* 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: Make more commands scriptableAndy Cedilnik2004-02-231-0/+5
|
* removed redundent includesKen Martin2003-08-101-1/+0
|
* 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.
* ENH: fix doc lineBill Hoffman2002-04-191-3/+3
|
* ENH: backwards compatible for VTK 4.0, add cmake version requiresBill Hoffman2002-04-171-0/+79