summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/COMPILE_FEATURES.rst
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-10-22 13:05:49 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-07 16:11:18 (GMT)
commitbaff44345cff8e635766e020d316da514616c16e (patch)
tree5d5052e16ad545de670d3ec116a378297b2f482c /Help/prop_tgt/COMPILE_FEATURES.rst
parentf97bf4370c283432c4e14fe54ed481d5d9b7ceef (diff)
downloadCMake-baff44345cff8e635766e020d316da514616c16e.zip
CMake-baff44345cff8e635766e020d316da514616c16e.tar.gz
CMake-baff44345cff8e635766e020d316da514616c16e.tar.bz2
cmTarget: Allow populating COMPILE_FEATURES using generator expressions.
Delay validation of the content as a feature if it contains a generator expression. It will be checked again at generate-time after evaluation.
Diffstat (limited to 'Help/prop_tgt/COMPILE_FEATURES.rst')
-rw-r--r--Help/prop_tgt/COMPILE_FEATURES.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/prop_tgt/COMPILE_FEATURES.rst b/Help/prop_tgt/COMPILE_FEATURES.rst
index b2c6145..dc32825 100644
--- a/Help/prop_tgt/COMPILE_FEATURES.rst
+++ b/Help/prop_tgt/COMPILE_FEATURES.rst
@@ -5,3 +5,7 @@ Compiler features enabled for this target.
The list of features in this property are a subset of the features listed
in the :variable:`CMAKE_CXX_COMPILE_FEATURES` variable.
+
+Contents of ``COMPILE_FEATURES`` may use "generator expressions" with the
+syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)` manual for
+available expressions.