summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/WriteCompilerDetectionHeader/NoCompiler.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/WriteCompilerDetectionHeader/NoCompiler.cmake')
-rw-r--r--Tests/RunCMake/WriteCompilerDetectionHeader/NoCompiler.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/WriteCompilerDetectionHeader/NoCompiler.cmake b/Tests/RunCMake/WriteCompilerDetectionHeader/NoCompiler.cmake
new file mode 100644
index 0000000000..2dc14e9a69
--- /dev/null
+++ b/Tests/RunCMake/WriteCompilerDetectionHeader/NoCompiler.cmake
@@ -0,0 +1,10 @@
+
+include(WriteCompilerDetectionHeader)
+
+write_compiler_detection_header(
+ FILE "${CMAKE_CURRENT_BINARY_DIR}/somefile"
+ PREFIX PREF_
+ # COMPILERS
+ FEATURES cxx_final
+ VERSION 3.1
+)