summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/File_Archive/zip.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-03-17 12:06:38 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-03-17 12:06:57 (GMT)
commitbee0100396d4b0dad7204125606e6baf26b79e38 (patch)
tree81d864ae072a4d0f13384047e5027932996c6f52 /Tests/RunCMake/File_Archive/zip.cmake
parent97562a202325093a88910c6cd2615a0ef77ce715 (diff)
parentc7e1198a237f3a6562ffc57806fdeb730c20356b (diff)
downloadCMake-bee0100396d4b0dad7204125606e6baf26b79e38.zip
CMake-bee0100396d4b0dad7204125606e6baf26b79e38.tar.gz
CMake-bee0100396d4b0dad7204125606e6baf26b79e38.tar.bz2
Merge topic 'file-archive'
c7e1198a23 file: Add ARCHIVE_{CREATE|EXTRACT} subcommands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4475
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)