Merge pull request #10170 from ooshlablu/deb-package-cpack-generation

Enable deb package generation with cpack
This commit is contained in:
Scott Mansell 2021-10-17 13:38:56 +13:00 committed by GitHub
commit 13985b774e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -931,6 +931,10 @@ set(CPACK_RPM_PACKAGE_LICENSE GPL-2.0)
# TODO: CPACK_NSIS_* # TODO: CPACK_NSIS_*
# TODO: Use CPack components for DSPSpy, etc => cpack_add_component # TODO: Use CPack components for DSPSpy, etc => cpack_add_component
# Debian Specific. Install dpkg-dev for automatic deps generation
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
set(CPACK_DEBIAN_PACKAGE_SECTION "Games")
set(CPACK_SET_DESTDIR ON) set(CPACK_SET_DESTDIR ON)
set(CPACK_SOURCE_GENERATOR "TGZ;TBZ2;ZIP") set(CPACK_SOURCE_GENERATOR "TGZ;TBZ2;ZIP")
set(CPACK_SOURCE_IGNORE_FILES "\\\\.#;/#;.*~;\\\\.swp;/\\\\.git") set(CPACK_SOURCE_IGNORE_FILES "\\\\.#;/#;.*~;\\\\.swp;/\\\\.git")