-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
41 lines (27 loc) · 1.23 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
cmake_minimum_required(VERSION 3.10)
project(libsomething-dev)
# Uncomment this line to include a git submodule directory to this package
# add_subdirectory("folder-name")
set(CPACK_GENERATOR "DEB")
set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT)
# Uncomment this lines to enable shlibs for this project
# set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
# set(CPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS ON)
set(CPACK_DEBIAN_PACKAGE_NAME "libsomething-dev")
set(CPACK_DEBIAN_PACKAGE_VERSION 1.0.0)
set(CPACK_DEBIAN_PACKAGE_RELEASE 1)
# Uncomment this lines to use timestamp for the Debian release number
# string(TIMESTAMP NOW "%s")
# set(CPACK_DEBIAN_PACKAGE_RELEASE ${NOW})
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "some short description")
set(CPACK_PACKAGE_DESCRIPTION
"some very long long
long long description")
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Your Name <[email protected]>")
set(CPACK_DEBIAN_PACKAGE_HOMEPAGE "https://something.org/")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libfoo, libgoo (>= 1.2)")
# Uncomment this line if this package has conflict with other packages
# set(CPACK_DEBIAN_PACKAGE_CONFLICTS "libpresomething-dev")
# Uncomment this line if this package is replacing other packages
# set(CPACK_DEBIAN_PACKAGE_REPLACES "libpresomething-dev")
include(CPack)