https://github.com/Kitware/CMake
Raw File
Tip revision: 7a04f45722b2cbe51e1586cd84d2c5ad90e759ed authored by Brad King on 06 November 2020, 14:19:57 UTC
CMake 3.19.0-rc3
Tip revision: 7a04f45
MultiBadOutDir.cmake

include(WriteCompilerDetectionHeader)

write_compiler_detection_header(
  FILE "${CMAKE_CURRENT_BINARY_DIR}/dir/somefile"
  PREFIX Pref
  OUTPUT_FILES_VAR outfiles
  OUTPUT_DIR "${CMAKE_CURRENT_BINARY_DIR}"
  COMPILERS GNU
  VERSION 3.1
  FEATURES cxx_auto_type
)
back to top