summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/File_Archive/zip.cmake
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2020-03-13 17:09:14 (GMT)
committerCristian Adam <cristian.adam@gmail.com>2020-03-16 13:33:27 (GMT)
commitc7e1198a237f3a6562ffc57806fdeb730c20356b (patch)
tree1f205ac4a0a3156ae83c40c679afb7a118db1ffd /Tests/RunCMake/File_Archive/zip.cmake
parent3766633b8a49cb24f4849721bb22a0feb9ba1f60 (diff)
downloadCMake-c7e1198a237f3a6562ffc57806fdeb730c20356b.zip
CMake-c7e1198a237f3a6562ffc57806fdeb730c20356b.tar.gz
CMake-c7e1198a237f3a6562ffc57806fdeb730c20356b.tar.bz2
file: Add ARCHIVE_{CREATE|EXTRACT} subcommands
Fixes: #20443
Diffstat (limited to 'Tests/RunCMake/File_Archive/zip.cmake')
-rw-r--r--Tests/RunCMake/File_Archive/zip.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/File_Archive/zip.cmake b/Tests/RunCMake/File_Archive/zip.cmake
new file mode 100644
index 0000000..1b93058
--- /dev/null
+++ b/Tests/RunCMake/File_Archive/zip.cmake
@@ -0,0 +1,7 @@
+set(OUTPUT_NAME "test.zip")
+
+set(COMPRESSION_FORMAT zip)
+
+include(${CMAKE_CURRENT_LIST_DIR}/roundtrip.cmake)
+
+check_magic("504b0304" LIMIT 4 HEX)