summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/configure_file/UTF16BE-BOM.cmake
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2014-03-06 22:55:07 -0700
committerClinton Stimpson <clinton@elemtech.com>2014-03-17 14:01:55 -0600
commit98383f802aadcd2d469c4d7543e0a2abe8c3cdb9 (patch)
tree86a419ec22832a1597b52da6d85b1d989cb1fbea /Tests/RunCMake/configure_file/UTF16BE-BOM.cmake
parente21ffaf8fe5499426604b4ebb9cd08798ee6107c (diff)
downloadcmake-98383f802aadcd2d469c4d7543e0a2abe8c3cdb9.tar.gz
Unicode: check encoding of files given to configure_file.
UTF-16 and UTF-32 files are rejected.
Diffstat (limited to 'Tests/RunCMake/configure_file/UTF16BE-BOM.cmake')
-rw-r--r--Tests/RunCMake/configure_file/UTF16BE-BOM.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/configure_file/UTF16BE-BOM.cmake b/Tests/RunCMake/configure_file/UTF16BE-BOM.cmake
new file mode 100644
index 0000000000..c5707425aa
--- /dev/null
+++ b/Tests/RunCMake/configure_file/UTF16BE-BOM.cmake
@@ -0,0 +1,2 @@
+
+configure_file(UTF16BE-BOM.txt.in ${CMAKE_CURRENT_BINARY_DIR}/UTF16BE-BOM.txt)