https://github.com/Kitware/CMake
Raw File
Tip revision: e3185e3d1b92a95c18f22f70b3cef6944dd019eb authored by Brad King on 20 March 2020, 10:26:14 UTC
CMake 3.17.0
Tip revision: e3185e3
InvalidFeature.cmake

include(WriteCompilerDetectionHeader)

write_compiler_detection_header(
    FILE "${CMAKE_CURRENT_BINARY_DIR}/somefile"
    PREFIX PREF_
    COMPILERS GNU
    FEATURES not_a_feature
    VERSION 3.1
)
back to top