4cf5179c77
Extend the write_compiler_detection_header interface to allow specifying a location for supplementary files, and getting the list of resulting files as a variable.
12 lines
218 B
CMake
12 lines
218 B
CMake
|
|
include(WriteCompilerDetectionHeader)
|
|
|
|
write_compiler_detection_header(
|
|
FILE "${CMAKE_CURRENT_BINARY_DIR}/somefile"
|
|
PREFIX Pref
|
|
OUTPUT_FILES_VAR outfiles
|
|
COMPILERS GNU
|
|
VERSION 3.1
|
|
FEATURES cxx_auto_type
|
|
)
|