From be6642dc096842f0531c7687cf06f15fd1d0ccd6 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sun, 25 Feb 2018 21:11:02 +0100 Subject: Update CMakeLists and Makefile --- CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 98b9ba1..16dd487 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,7 +46,18 @@ install(TARGETS ${EXECUTABLE_NAME} DESTINATION bin) # CPack packaging include(InstallRequiredSystemLibraries) + +set(CMAKE_PACKAGE_NAME "subconcious") + +set(CPACK_GENERATOR "DEB;ZIP;TGZ;STGZ") + # set(CPACK_RESOURCES_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING") set(CPACK_PACKAGE_VERSION_MAJOR "${subconscious_VERSION_MAJOR}") set(CPACK_PACKAGE_VERSION_MINOR "${subconscious_VERSION_MINOR}") + +# debian package +set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64") +set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Nao Pross ") +set(CPACK_PACKAGE_DEBIAN_DESCRIPTION "RPG game") + include(CPack) -- cgit v1.2.1