summaryrefslogtreecommitdiffstats
path: root/Help/command/cmake_minimum_required.rst
Commit message (Collapse)AuthorAgeFilesLines
* Help: Revise docs on Scripting CommandsJoachim Wuttke (l)2018-10-231-4/+12
| | | | | | | | | | | | | | | | | | | Revise docs for all "Scripting Commands", except four find_XXX that use a macro suite of their own. * Take full advantage of the improved syntax highlighting. * Make consequential use of <..> placeholders. * Clarify things here and there in the text. Specific improvements to some command docs: * "math": Correct description of novel hexadecimal capability. * "if", "foreach", "while": Provide link to "endif" etc * "foreach", "while": Mention "break" and "continue". * "foreach": Simplify explanation of ``RANGE`` and ``IN`` signatures; advise against negative arguments or reverse ranges (compare issue #18461) * "endif", "endfunction" etc: Explain that the argument is optional and maintained for compatibility only
* Help: Clarify ...<max> behavior for policy-related commandsCraig Scott2018-07-011-0/+4
| | | Affects cmake_minimum_required() and cmake_policy(VERSION)
* cmake_minimum_required: Optionally set policies with version rangeBrad King2018-03-211-14/+20
| | | | | | | | Teach `cmake_minimum_required` and `cmake_policy(VERSION)` to support a version range of the form `<min>[...<max>]`. Define this to mean that version `<min>` is required, but known policies up to those introduced by `<max>` will be set to `NEW`. This will allow projects to easily specify a range of versions for which they have been updated.
* Help: Organize and clarify `cmake_minimum_required` documentationBrad King2016-03-231-18/+27
| | | | | State more explicitly that `cmake_policy(VERSION)` is implied and explain the effects it has.
* Help: Fix command specification for cmake_minimum_requiredHorst Kronstorfer2016-02-081-1/+1
| | | | | | Implementation indicates that at least two components of VERSION must be specified (see Source/cmCMakeMinimumRequired.cxx.) Therefore the minor version is not optional.
* Help: Improve formatting of command documentationMichael Scott2015-06-081-1/+1
| | | | | Use inline reStructuredText markup and add cross-references in more places.
* Help: Document behavior of cmake_minimum_required in a functionBrad King2015-05-151-0/+4
| | | | | Add a note to the cmake_minimum_required documentation about the limits of calling it in a function.
* Help: Document that cmake_minimum_required should be called firstBrad King2015-04-291-0/+7
| | | | | | | | | Many projects put their project() call first, but the actions taken by this command can be influenced by policies and other information set by a call to cmake_minimum_required. Document in each of these two commands that cmake_minimum_required should be called first. Suggested-by: Alan W. Irwin
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-0/+30
Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.