summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_compile/ConfigureLog.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/try_compile/ConfigureLog.cmake')
-rw-r--r--Tests/RunCMake/try_compile/ConfigureLog.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/try_compile/ConfigureLog.cmake b/Tests/RunCMake/try_compile/ConfigureLog.cmake
new file mode 100644
index 0000000..f475014
--- /dev/null
+++ b/Tests/RunCMake/try_compile/ConfigureLog.cmake
@@ -0,0 +1,9 @@
+enable_language(C)
+
+try_compile(COMPILE_RESULT
+ SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/ConfigureLog-bad.c
+ )
+
+try_compile(COMPILE_RESULT
+ SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/ConfigureLog-test.c
+ )