cmake/Help/prop_tgt/COMPILE_FEATURES.rst

16 lines
617 B
ReStructuredText
Raw Normal View History

2015-04-27 22:25:09 +02:00
COMPILE_FEATURES
----------------
2021-09-14 00:13:48 +02:00
.. versionadded:: 3.1
2015-04-27 22:25:09 +02:00
Compiler features enabled for this target.
The list of features in this property are a subset of the features listed
2020-08-30 11:54:41 +02:00
in the :variable:`CMAKE_C_COMPILE_FEATURES`, :variable:`CMAKE_CUDA_COMPILE_FEATURES`, and
:variable:`CMAKE_CXX_COMPILE_FEATURES` variables.
2015-04-27 22:25:09 +02:00
Contents of ``COMPILE_FEATURES`` may use "generator expressions" with the
syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)` manual for
available expressions. See the :manual:`cmake-compile-features(7)` manual
2015-08-17 11:37:30 +02:00
for information on compile features and a list of supported compilers.