diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2014-03-07 05:55:07 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2014-03-17 20:01:55 (GMT) |
commit | 98383f802aadcd2d469c4d7543e0a2abe8c3cdb9 (patch) | |
tree | 86a419ec22832a1597b52da6d85b1d989cb1fbea /Tests/RunCMake/configure_file/RunCMakeTest.cmake | |
parent | e21ffaf8fe5499426604b4ebb9cd08798ee6107c (diff) | |
download | CMake-98383f802aadcd2d469c4d7543e0a2abe8c3cdb9.zip CMake-98383f802aadcd2d469c4d7543e0a2abe8c3cdb9.tar.gz CMake-98383f802aadcd2d469c4d7543e0a2abe8c3cdb9.tar.bz2 |
Unicode: check encoding of files given to configure_file.
UTF-16 and UTF-32 files are rejected.
Diffstat (limited to 'Tests/RunCMake/configure_file/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/configure_file/RunCMakeTest.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/RunCMake/configure_file/RunCMakeTest.cmake b/Tests/RunCMake/configure_file/RunCMakeTest.cmake new file mode 100644 index 0000000..c8bfa57 --- /dev/null +++ b/Tests/RunCMake/configure_file/RunCMakeTest.cmake @@ -0,0 +1,8 @@ +include(RunCMake) + +run_cmake(NO-BOM) +run_cmake(UTF8-BOM) +run_cmake(UTF16LE-BOM) +run_cmake(UTF16BE-BOM) +run_cmake(UTF32LE-BOM) +run_cmake(UTF32BE-BOM) |