diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2015-07-29 21:39:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-08-06 13:33:51 (GMT) |
commit | 94226751cb9beb7aa1939e9395d4999e30b30600 (patch) | |
tree | c26de39f2baa6d291cd50e9f66e5d40dbd6af3f2 /Tests/RunCMake/CPack/DEB/DEPENDENCIES-specifics.cmake | |
parent | 105011e08fafe23cb4cfd4fcb1468187f9d81f21 (diff) | |
download | CMake-94226751cb9beb7aa1939e9395d4999e30b30600.zip CMake-94226751cb9beb7aa1939e9395d4999e30b30600.tar.gz CMake-94226751cb9beb7aa1939e9395d4999e30b30600.tar.bz2 |
Tests/RunCMake/CPack: Add dependencies tests
Add tests for RPM and DEB package test for currently supported
dependency features (requires, provides, conflicts, ...).
Diffstat (limited to 'Tests/RunCMake/CPack/DEB/DEPENDENCIES-specifics.cmake')
-rw-r--r-- | Tests/RunCMake/CPack/DEB/DEPENDENCIES-specifics.cmake | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/DEB/DEPENDENCIES-specifics.cmake b/Tests/RunCMake/CPack/DEB/DEPENDENCIES-specifics.cmake new file mode 100644 index 0000000..9e09428 --- /dev/null +++ b/Tests/RunCMake/CPack/DEB/DEPENDENCIES-specifics.cmake @@ -0,0 +1,15 @@ +set(CPACK_PACKAGE_CONTACT "someone") +set(CPACK_DEB_COMPONENT_INSTALL "ON") + +# false by default +set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS FALSE) +# FIXME can not be tested as libraries first have to be part of a package in order +# to determine their dependencies and we can not be certain if there will be any +set(CPACK_DEBIAN_APPLICATIONS_AUTO_PACKAGE_SHLIBDEPS TRUE) + +set(CPACK_DEBIAN_PACKAGE_DEPENDS "depend-default, depend-default-b") +set(CPACK_DEBIAN_APPLICATIONS_PACKAGE_DEPENDS "depend-application, depend-application-b") +set(CPACK_DEBIAN_APPLICATIONS_AUTO_PACKAGE_DEPENDS "depend-application, depend-application-b") +set(CPACK_DEBIAN_HEADERS_PACKAGE_DEPENDS "depend-headers") + +# TODO add other dependency tests once CPackDeb supports them |