diff options
author | Raffi Enficiaud <raffi.enficiaud@mines-paris.org> | 2015-11-03 17:18:35 (GMT) |
---|---|---|
committer | Domen Vrankar <domen.vrankar@gmail.com> | 2015-11-03 17:18:35 (GMT) |
commit | 341cd934897b3e37319b978113a1fdf9bea21c6d (patch) | |
tree | 96cc307f9eb166f151cd2cc967ca46c64d35181a /Tests/CPackComponentsDEB/MyLibCPackConfig-compression.cmake.in | |
parent | b87bed0ff6d724a91bbe5ee97b5608eed588d1af (diff) | |
download | CMake-341cd934897b3e37319b978113a1fdf9bea21c6d.zip CMake-341cd934897b3e37319b978113a1fdf9bea21c6d.tar.gz CMake-341cd934897b3e37319b978113a1fdf9bea21c6d.tar.bz2 |
CPackDeb: ctest tests for compression scheme leak
Test that changing compression of debian package
content does not affect DEBIAN/ files which must
be gzipped
Diffstat (limited to 'Tests/CPackComponentsDEB/MyLibCPackConfig-compression.cmake.in')
-rw-r--r-- | Tests/CPackComponentsDEB/MyLibCPackConfig-compression.cmake.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/CPackComponentsDEB/MyLibCPackConfig-compression.cmake.in b/Tests/CPackComponentsDEB/MyLibCPackConfig-compression.cmake.in new file mode 100644 index 0000000..ff18834 --- /dev/null +++ b/Tests/CPackComponentsDEB/MyLibCPackConfig-compression.cmake.in @@ -0,0 +1,11 @@ +# +# Test that setting the compression produces valid +# packages (compression does not leak to the DEBIAN/ files that use gzip) +# + +if(CPACK_GENERATOR MATCHES "DEB") + set(CPACK_DEB_COMPONENT_INSTALL "OFF") +endif() + +set(CPACK_COMPONENTS_ALL_GROUPS_IN_ONE_PACKAGE) +set(CPACK_DEBIAN_COMPRESSION_TYPE xz) |