summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/string/UTF-16LE.cmake
diff options
context:
space:
mode:
authorJustin Borodinsky <justin.borodinsky@gmail.com>2015-01-11 19:33:36 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-27 16:30:26 (GMT)
commit1f77a7001b2e3f8f9224cb603e5acfee45573064 (patch)
tree6e641ed7b6967267135c544adea91815523dd753 /Tests/RunCMake/string/UTF-16LE.cmake
parent19e57a48cd1ad562b277c8fb9dc8285ef96acfa0 (diff)
downloadCMake-1f77a7001b2e3f8f9224cb603e5acfee45573064.zip
CMake-1f77a7001b2e3f8f9224cb603e5acfee45573064.tar.gz
CMake-1f77a7001b2e3f8f9224cb603e5acfee45573064.tar.bz2
file: Teach STRINGS to support UTF-16 and UTF-32 encodings
Diffstat (limited to 'Tests/RunCMake/string/UTF-16LE.cmake')
-rw-r--r--Tests/RunCMake/string/UTF-16LE.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/string/UTF-16LE.cmake b/Tests/RunCMake/string/UTF-16LE.cmake
new file mode 100644
index 0000000..326d848
--- /dev/null
+++ b/Tests/RunCMake/string/UTF-16LE.cmake
@@ -0,0 +1,4 @@
+file(STRINGS UTF-16LE.txt str ENCODING UTF-16LE LENGTH_MINIMUM 4)
+message("${str}")
+file(STRINGS UTF-16LE.txt str LENGTH_MINIMUM 4)
+message("${str}")