diff options
author | Brad King <brad.king@kitware.com> | 2017-05-03 17:07:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-05-03 17:13:43 (GMT) |
commit | f15f905babad5977aa422e1753fe1aa658c77fa2 (patch) | |
tree | 0fdf9942336ae16648f6e862f1a2dea01dccbf1f /Modules/Compiler/SunPro-CXX-FeatureTests.cmake | |
parent | 84d0841ed7d06779b68a3950054b636f6ef4af74 (diff) | |
download | CMake-f15f905babad5977aa422e1753fe1aa658c77fa2.zip CMake-f15f905babad5977aa422e1753fe1aa658c77fa2.tar.gz CMake-f15f905babad5977aa422e1753fe1aa658c77fa2.tar.bz2 |
Features: Record standards and features for SunPro 5.14
Oracle Studio 12.5 adds support for C 11 and associated standard flags.
It also adds a few more C++ 11 features.
Diffstat (limited to 'Modules/Compiler/SunPro-CXX-FeatureTests.cmake')
-rw-r--r-- | Modules/Compiler/SunPro-CXX-FeatureTests.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/Compiler/SunPro-CXX-FeatureTests.cmake b/Modules/Compiler/SunPro-CXX-FeatureTests.cmake index 8e97e1d..60280ca 100644 --- a/Modules/Compiler/SunPro-CXX-FeatureTests.cmake +++ b/Modules/Compiler/SunPro-CXX-FeatureTests.cmake @@ -5,6 +5,10 @@ set(_cmake_oldestSupported "__SUNPRO_CC >= 0x5130") +set(SolarisStudio125_CXX11 "(__SUNPRO_CC >= 0x5140) && __cplusplus >= 201103L") +set(_cmake_feature_test_cxx_binary_literals "${SolarisStudio125_CXX11}") +set(_cmake_feature_test_cxx_reference_qualified_functions "${SolarisStudio125_CXX11}") + set(SolarisStudio124_CXX11 "(__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L") set(_cmake_feature_test_cxx_alignas "${SolarisStudio124_CXX11}") set(_cmake_feature_test_cxx_alignof "${SolarisStudio124_CXX11}") |