summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/WriteCompilerDetectionHeader/MultiBadOutDir.cmake
blob: b545beef6e5b0f4f27118ba6cfac1a0d1d10d5d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

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
)