summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests/ConfigureFile-NewLineStyle-WrongArg.cmake
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2011-11-20 13:04:11 (GMT)
committerBrad King <brad.king@kitware.com>2011-11-28 18:48:59 (GMT)
commita087490697c416d429d30fdf389cca2f13d9d14e (patch)
treecad0b1147f3451b012f0b4d2cd474452721315fb /Tests/CMakeTests/ConfigureFile-NewLineStyle-WrongArg.cmake
parent6580434f16cf4c6db1fde6d804e95d40f27c0f45 (diff)
downloadCMake-a087490697c416d429d30fdf389cca2f13d9d14e.zip
CMake-a087490697c416d429d30fdf389cca2f13d9d14e.tar.gz
CMake-a087490697c416d429d30fdf389cca2f13d9d14e.tar.bz2
Add NEWLINE_STYLE option to configure_file (#3957)
Diffstat (limited to 'Tests/CMakeTests/ConfigureFile-NewLineStyle-WrongArg.cmake')
-rw-r--r--Tests/CMakeTests/ConfigureFile-NewLineStyle-WrongArg.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/CMakeTests/ConfigureFile-NewLineStyle-WrongArg.cmake b/Tests/CMakeTests/ConfigureFile-NewLineStyle-WrongArg.cmake
new file mode 100644
index 0000000..e8887c1
--- /dev/null
+++ b/Tests/CMakeTests/ConfigureFile-NewLineStyle-WrongArg.cmake
@@ -0,0 +1,3 @@
+set(file_name ${CMAKE_CURRENT_SOURCE_DIR}/ConfigureFile-NewLineStyle.txt)
+file(WRITE ${file_name} "Data\n")
+configure_file(${file_name} ${file_name}.out NEWLINE_STYLE FOO)