summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/configure_file/NewLineStyle-COPYONLY.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/configure_file/NewLineStyle-COPYONLY.cmake')
-rw-r--r--Tests/RunCMake/configure_file/NewLineStyle-COPYONLY.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/configure_file/NewLineStyle-COPYONLY.cmake b/Tests/RunCMake/configure_file/NewLineStyle-COPYONLY.cmake
new file mode 100644
index 0000000..c07b8f5
--- /dev/null
+++ b/Tests/RunCMake/configure_file/NewLineStyle-COPYONLY.cmake
@@ -0,0 +1,3 @@
+set(file_name ${CMAKE_CURRENT_BINARY_DIR}/NewLineStyle.txt)
+file(WRITE ${file_name} "Data\n")
+configure_file(${file_name} ${file_name}.out COPYONLY NEWLINE_STYLE DOS)