1 2 3 4 5 6 7 8 9 10
include(WriteCompilerDetectionHeader) write_compiler_detection_header( FILE "${CMAKE_CURRENT_BINARY_DIR}/somefile" PREFIX PREF_ COMPILERS GNU # FEATURES VERSION 3.1 )