mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
@@ -9,7 +9,8 @@ Define and document custom properties.
|
||||
TEST | VARIABLE | CACHED_VARIABLE>
|
||||
PROPERTY <name> [INHERITED]
|
||||
[BRIEF_DOCS <brief-doc> [docs...]]
|
||||
[FULL_DOCS <full-doc> [docs...]])
|
||||
[FULL_DOCS <full-doc> [docs...]]
|
||||
[INITIALIZE_FROM_VARIABLE <variable>])
|
||||
|
||||
Defines one property in a scope for use with the :command:`set_property` and
|
||||
:command:`get_property` commands. This is primarily useful to associate
|
||||
@@ -57,3 +58,8 @@ The ``BRIEF_DOCS`` and ``FULL_DOCS`` options are followed by strings to be
|
||||
associated with the property as its brief and full documentation.
|
||||
Corresponding options to the :command:`get_property` command will retrieve
|
||||
the documentation.
|
||||
|
||||
The ``INITIALIZE_FROM_VARIABLE`` option is followed by the name of a variable
|
||||
from which to initialize the property. The variable name must end with the
|
||||
property name, must have a prefix before the property name, and must not begin
|
||||
with ``CMAKE_`` or ``_CMAKE_``.
|
||||
|
||||
5
Help/release/dev/target-properties-from-variables.rst
Normal file
5
Help/release/dev/target-properties-from-variables.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
target-properties-from-variables
|
||||
--------------------------------
|
||||
|
||||
* The :command:`define_property` command gained a new
|
||||
``INITIALIZE_FROM_VARIABLE`` argument.
|
||||
Reference in New Issue
Block a user