diff options
author | Brad King <brad.king@kitware.com> | 2024-05-28 17:03:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-05-28 18:36:42 (GMT) |
commit | 5d93c421f1f9595fc8fc66f9071b4bf3589a4ad5 (patch) | |
tree | e8a6f68242a9383277bc5126756eb89446a5fe30 /Help/prop_gbl | |
parent | 6b2171d94e6b098b9b8b9ca5b79e54db5671c184 (diff) | |
download | CMake-5d93c421f1f9595fc8fc66f9071b4bf3589a4ad5.zip CMake-5d93c421f1f9595fc8fc66f9071b4bf3589a4ad5.tar.gz CMake-5d93c421f1f9595fc8fc66f9071b4bf3589a4ad5.tar.bz2 |
HIP: Populate CMAKE_HIP_KNOWN_FEATURES global property
Fixes: #26013
Diffstat (limited to 'Help/prop_gbl')
-rw-r--r-- | Help/prop_gbl/CMAKE_HIP_KNOWN_FEATURES.rst | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Help/prop_gbl/CMAKE_HIP_KNOWN_FEATURES.rst b/Help/prop_gbl/CMAKE_HIP_KNOWN_FEATURES.rst new file mode 100644 index 0000000..9d13c81 --- /dev/null +++ b/Help/prop_gbl/CMAKE_HIP_KNOWN_FEATURES.rst @@ -0,0 +1,42 @@ +CMAKE_HIP_KNOWN_FEATURES +------------------------ + +.. versionadded:: 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 :variable:`CMAKE_HIP_COMPILE_FEATURES` variable. + +The features listed here may be used with the :command:`target_compile_features` +command. See the :manual:`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_98`` + Compiler mode is at least HIP/C++ 98. + +``hip_std_11`` + Compiler mode is at least HIP/C++ 11. + +``hip_std_14`` + Compiler mode is at least HIP/C++ 14. + +``hip_std_17`` + Compiler mode is at least HIP/C++ 17. + +``hip_std_20`` + Compiler mode is at least HIP/C++ 20. + +``hip_std_23`` + Compiler mode is at least HIP/C++ 23. + +``hip_std_26`` + .. versionadded:: 3.30 + + Compiler mode is at least HIP/C++ 26. + +.. include:: CMAKE_LANG_STD_FLAGS.txt |