diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2016-12-23 20:01:38 (GMT) |
---|---|---|
committer | Domen Vrankar <domen.vrankar@gmail.com> | 2016-12-23 20:01:38 (GMT) |
commit | 5b0a64ebc5d03a4dd0022b87e8e6cb77c3db013b (patch) | |
tree | 83b15c0d10a828aef18fb9866cf970603aec5b6f /Tests/RunCMake/CPack/TXZ | |
parent | e8e9034596e15dee3c8febe860c2429df512dc10 (diff) | |
download | CMake-5b0a64ebc5d03a4dd0022b87e8e6cb77c3db013b.zip CMake-5b0a64ebc5d03a4dd0022b87e8e6cb77c3db013b.tar.gz CMake-5b0a64ebc5d03a4dd0022b87e8e6cb77c3db013b.tar.bz2 |
CPack/Archive minimal tests for more formats
Diffstat (limited to 'Tests/RunCMake/CPack/TXZ')
-rw-r--r-- | Tests/RunCMake/CPack/TXZ/Helpers.cmake | 3 | ||||
-rw-r--r-- | Tests/RunCMake/CPack/TXZ/Prerequirements.cmake | 4 | ||||
-rw-r--r-- | Tests/RunCMake/CPack/TXZ/packaging_COMPONENT_default.cmake | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/TXZ/Helpers.cmake b/Tests/RunCMake/CPack/TXZ/Helpers.cmake new file mode 100644 index 0000000..f390cb4 --- /dev/null +++ b/Tests/RunCMake/CPack/TXZ/Helpers.cmake @@ -0,0 +1,3 @@ +set(cpack_archive_extension_ "tar.xz") + +include("${CMAKE_CURRENT_LIST_DIR}/../ArchiveCommon/common_helpers.cmake") diff --git a/Tests/RunCMake/CPack/TXZ/Prerequirements.cmake b/Tests/RunCMake/CPack/TXZ/Prerequirements.cmake new file mode 100644 index 0000000..dbaf682 --- /dev/null +++ b/Tests/RunCMake/CPack/TXZ/Prerequirements.cmake @@ -0,0 +1,4 @@ +function(get_test_prerequirements found_var config_file) + file(WRITE "${config_file}" "") + set(${found_var} true PARENT_SCOPE) +endfunction() diff --git a/Tests/RunCMake/CPack/TXZ/packaging_COMPONENT_default.cmake b/Tests/RunCMake/CPack/TXZ/packaging_COMPONENT_default.cmake new file mode 100644 index 0000000..81a5035 --- /dev/null +++ b/Tests/RunCMake/CPack/TXZ/packaging_COMPONENT_default.cmake @@ -0,0 +1 @@ +set(CPACK_ARCHIVE_COMPONENT_INSTALL "ON") |