2015-06-05 22:03:26 +03:00
|
|
|
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
|
|
|
|
|
|
|
|
include(RunCMake)
|
|
|
|
include("${RunCMake_SOURCE_DIR}/CPackTestHelpers.cmake")
|
|
|
|
|
|
|
|
# args: TEST_NAME "GENERATORS" RUN_CMAKE_BUILD_STEP
|
2015-09-28 23:50:15 +03:00
|
|
|
run_cpack_test(MINIMAL "RPM;DEB;TGZ" false)
|
2015-06-05 22:12:08 +03:00
|
|
|
run_cpack_test(PARTIALLY_RELOCATABLE_WARNING "RPM" false)
|
2015-07-13 23:25:44 +03:00
|
|
|
run_cpack_test(DEB_EXTRA "DEB" false)
|
2015-07-30 00:39:11 +03:00
|
|
|
run_cpack_test(DEPENDENCIES "RPM;DEB" true)
|
2015-09-28 23:50:15 +03:00
|
|
|
run_cpack_test(EMPTY_DIR "RPM;DEB;TGZ" true)
|
|
|
|
run_cpack_test(COMPONENTS_EMPTY_DIR "RPM;DEB;TGZ" true)
|
2015-12-07 22:13:09 +03:00
|
|
|
run_cpack_test(PER_COMPONENT_FIELDS "RPM;DEB" false)
|
2016-02-13 04:09:32 +03:00
|
|
|
run_cpack_test(INSTALL_SCRIPTS "RPM" false)
|