https://github.com/Kitware/CMake
Raw File
Tip revision: 0d5a2252ef8a586f4fc70a66aabd17fb3fd52110 authored by Brad King on 31 May 2017, 13:47:47 UTC
CMake 3.8.2
Tip revision: 0d5a225
InvalidCXXFeature.cmake

include(WriteCompilerDetectionHeader)

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