mirror of
https://github.com/reactos/CMake.git
synced 2025-05-13 18:15:53 +00:00

The MSVC C compiler has no notion of C language standards or flags. Tell CMake to assume that all language standards are available. Record available C language features depending on the version of the compiler. Fixes: #17858
9 lines
301 B
CMake
9 lines
301 B
CMake
set(_cmake_oldestSupported "_MSC_VER >= 1600")
|
|
|
|
# Not yet supported:
|
|
#set(_cmake_feature_test_c_static_assert "")
|
|
#set(_cmake_feature_test_c_restrict "")
|
|
|
|
set(_cmake_feature_test_c_variadic_macros "${_cmake_oldestSupported}")
|
|
set(_cmake_feature_test_c_function_prototypes "${_cmake_oldestSupported}")
|