b47c125ff7
The prefix must be a C-identifier because it is written as the prefix of preprocessor macros and possibly structs.
11 lines
192 B
CMake
11 lines
192 B
CMake
|
|
include(WriteCompilerDetectionHeader)
|
|
|
|
write_compiler_detection_header(
|
|
FILE "${CMAKE_CURRENT_BINARY_DIR}/somefile"
|
|
PREFIX "0compile"
|
|
VERSION 3.1
|
|
COMPILERS GNU
|
|
FEATURES cxx_final
|
|
)
|