summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/COMPILE_FEATURES.rst
blob: 9b937ed973e54490dd87a988d5018a1ef63cb604 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
COMPILE_FEATURES
----------------

.. versionadded:: 3.1

Compiler features enabled for this target.

The list of features in this property are a subset of the features listed
in the :variable:`CMAKE_C_COMPILE_FEATURES`, :variable:`CMAKE_CUDA_COMPILE_FEATURES`, and
:variable:`CMAKE_CXX_COMPILE_FEATURES` variables.

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
for information on compile features and a list of supported compilers.