cmlib/CMLibCompilerFeaturesHPPGenerate.cmake

18 lines
863 B
CMake

include(WriteCompilerDetectionHeader)
write_compiler_detection_header(FILE include/compiler_features.hpp
PREFIX ${CMLIB_PROJECT_NAME_CANONICAL}
COMPILERS GNU
Clang
MSVC
Intel
FEATURES cxx_nullptr
cxx_override
cxx_alignas
cxx_alignof
cxx_attributes
cxx_auto_type
cxx_constexpr
cxx_digit_separators
cxx_range_for)