summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/File_Configure/AngleBracketsContent.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/File_Configure/AngleBracketsContent.cmake')
-rw-r--r--Tests/RunCMake/File_Configure/AngleBracketsContent.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/File_Configure/AngleBracketsContent.cmake b/Tests/RunCMake/File_Configure/AngleBracketsContent.cmake
new file mode 100644
index 0000000..04c63bb
--- /dev/null
+++ b/Tests/RunCMake/File_Configure/AngleBracketsContent.cmake
@@ -0,0 +1,6 @@
+file(CONFIGURE
+ OUTPUT "file.txt"
+ CONTENT "foo-$<CONFIG>"
+)
+file(READ ${CMAKE_CURRENT_BINARY_DIR}/file.txt out)
+message("${out}")