summaryrefslogtreecommitdiffstats
path: root/Help/command/define_property.rst
Commit message (Collapse)AuthorAgeFilesLines
* define_property(): Change constraints of INITIALIZE_FROM_VARIABLEKyle Edwards2022-03-231-2/+4
| | | | | | | Remove the requirement that the variable name have a prefix while keeping the suffix requirement. Require that the property name contains an underscore. Update docs and tests accordingly. Fixes: #23340
* Help: Update the main purpose of define_property()Craig Scott2022-03-191-7/+9
| | | | | | | | | | | The BRIEF_DOCS and FULL_DOCS are remnants from before the Sphinx-based documentation when CMake's internal structures for defining properties included fields for their documentation. They are no longer mandatory for define_property() and haven't been in practical use for some time. The main use of the command has evolved to now be more about how to initialize and inherit properties, so update the docs to reflect that change in focus. Issue: #20698
* Help: Clean up INITIALIZE_FROM_VARIABLE define_property() optionCraig Scott2022-03-191-4/+6
| | | | | | | | | INITIALIZE_FROM_VARIABLE is new in CMake 3.23, but the versionadded note was missing in the original commit. The docs also failed to mention that the new option only applies to target properties. Amends fce24e4f10 (define_property(): Add INITIALIZE_FROM_VARIABLE argument, 2022-01-13)
* Help: Note the version in which define_property() arguments became optionalKyle Edwards2022-01-211-0/+4
|
* define_property(): Add INITIALIZE_FROM_VARIABLE argumentKyle Edwards2022-01-201-1/+7
| | | | Fixes: #20698
* define_property(): Make BRIEF_DOCS and FULL_DOCS optionalKyle Edwards2022-01-181-2/+2
| | | | Issue: #20698
* Help: Apply syntax highlighting to project commandsJoachim Wuttke (o)2018-10-251-2/+2
| | | | | | * Replace most "::" by ".. code-block:: cmake" * Header sentence in imperative voice, detailed command description in present tense.
* Help: Clarify behavior of INHERITED propertiesCraig Scott2018-03-211-4/+18
| | | Fixes: #17839
* Help: Improve formatting of command documentationMichael Scott2015-06-081-14/+14
| | | | | Use inline reStructuredText markup and add cross-references in more places.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-0/+45
Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.