summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2024-03-18 20:15:20 -0400
committerLouie S <louie@example.com>2024-03-18 20:15:20 -0400
commit01415e20c38e67050a9a122dd74775ad3e7f367a (patch)
tree4e4276752ab1e77a3a2bec6ae442f8307065083f /CMakeLists.txt
parent551bfff433021b54f9523546853afbe286c41d97 (diff)
Working debian package
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt14
1 files changed, 12 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c15b3d5..9702c12 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,6 @@
-cmake_minimum_required(VERSION 3.5)
+cmake_minimum_required(VERSION 3.12)
-project(assignment-list VERSION 0.0.1 LANGUAGES CXX)
+project(assignment-list VERSION 0.1 HOMEPAGE_URL "https://github.com/lshprung/assignment-list-qt" LANGUAGES CXX)
set(ORGANIZATION_NAME "assignment-list-qt")
set(PROJECT_TITLE "Assignment List")
@@ -108,4 +108,14 @@ if(CMAKE_SYSTEM MATCHES "Linux.*")
install(FILES data/assignment-list.svg DESTINATION share/pixmaps)
endif()
+# CPack configuration
+set(CPACK_PACKAGE_DESCRIPTION "A QT application for managing grouped tasks")
+set(CPACK_RESOURCE_FILE_README ${CMAKE_CURRENT_SOURCE_DIR}/README.md)
+set(CPACK_PACKAGE_CONTACT "Louie Shprung <lshprung@tutanota.com>")
+
+# CPack Deb configuration
+set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT)
+set(CPACK_DEBIAN_PACKAGE_DEPENDS "libqt6sql6, libqt6widgets6")
+set(CPACK_DEBIAN_PACKAGE_SECTION utils)
+
include(CPack)