summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLineTar/7zip.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CommandLineTar/7zip.cmake')
-rw-r--r--Tests/RunCMake/CommandLineTar/7zip.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLineTar/7zip.cmake b/Tests/RunCMake/CommandLineTar/7zip.cmake
new file mode 100644
index 0000000..4bc6548
--- /dev/null
+++ b/Tests/RunCMake/CommandLineTar/7zip.cmake
@@ -0,0 +1,10 @@
+set(OUTPUT_NAME "test.7z")
+
+set(COMPRESSION_FLAGS cvf)
+set(COMPRESSION_OPTIONS --format=7zip)
+
+set(DECOMPRESSION_FLAGS xvf)
+
+include(${CMAKE_CURRENT_LIST_DIR}/roundtrip.cmake)
+
+check_magic("377abcaf271c" LIMIT 6 HEX)