summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/File_Generate/DebugEvaluate.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/File_Generate/DebugEvaluate.cmake')
-rw-r--r--Tests/RunCMake/File_Generate/DebugEvaluate.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/File_Generate/DebugEvaluate.cmake b/Tests/RunCMake/File_Generate/DebugEvaluate.cmake
new file mode 100644
index 0000000000..1fa9b62bbc
--- /dev/null
+++ b/Tests/RunCMake/File_Generate/DebugEvaluate.cmake
@@ -0,0 +1,5 @@
+
+file(GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/output.txt"
+ INPUT "${CMAKE_CURRENT_SOURCE_DIR}/input.txt"
+ CONDITION $<CONFIG:Debug>
+)