COMPILE_FEATURES — CMake 4.3.1 Documentation

# COMPILE_FEATURES

Added in version 3.1.

Compiler features enabled for this target.

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

Contents of `COMPILE_FEATURES` may use "generator expressions" with the syntax `$<...>`. See the `cmake-generator-expressions(7)` manual for available expressions. See the `cmake-compile-features(7)` manual for information on compile features and a list of supported compilers.