CMAKE_HIP_KNOWN_FEATURESΒΆ
New in version 3.30.
List of HIP features known to this version of CMake.
The features listed in this global property may be known to be available to the
HIP compiler. If the feature is available with the HIP compiler, it will
be listed in the CMAKE_HIP_COMPILE_FEATURES variable.
The features listed here may be used with the target_compile_features()
command. See the cmake-compile-features(7) manual for information on
compile features and a list of supported compilers.
The features known to this version of CMake are:
hip_std_98Compiler mode is at least HIP/C++ 98.
hip_std_11Compiler mode is at least HIP/C++ 11.
hip_std_14Compiler mode is at least HIP/C++ 14.
hip_std_17Compiler mode is at least HIP/C++ 17.
hip_std_20Compiler mode is at least HIP/C++ 20.
hip_std_23Compiler mode is at least HIP/C++ 23.
hip_std_26New in version 3.30.
Compiler mode is at least HIP/C++ 26.
Note
If the compiler's default standard level is at least that
of the requested feature, CMake may omit the -std= flag.
The flag may still be added if the compiler's default extensions mode
does not match the <LANG>_EXTENSIONS target property,
or if the <LANG>_STANDARD target property is set.