Doc: group obsolete NMEA sentences
[marnav.git] / Packaging.cmake
blob9f0f1aec44513f21e19bddb84d1dcf94f67a8dd1
1 set(CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})
2 set(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR})
3 set(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH})
4 set(CPACK_PACKAGE_VERSION "${PROJECT_VERSION}")
5 set(CPACK_PACKAGE_NAME "marnav")
6 set(CPACK_PACKAGE_VENDOR "Mario Konrad")
7 set(CPACK_PACKAGE_CONTACT "Mario Konrad <mario.konrad@gmx.net>")
8 set(CPACK_PACAKGE_DESCRIPTION "Library for maritime navigation.")
9 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Library")
10 set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
11 set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
12 set(CPACK_MONOLITHIC_INSTALL 1)
13 #set(CPACK_PACKAGE_EXECUTABLES "??" "??")
14 set(CPACK_STRIP_FILES true)
16 # package: debian
17 set(CPACK_DEBIAN_PACKAGE_NAME ${CPACK_DEBIAN_PACKAGE_NAME})
18 set(CPACK_DEBIAN_PACKAGE_MAINTAINER ${CPACK_PACKAGE_CONTACT})
19 set(CPACK_DEBIAN_PACKAGE_DESCRIPTION ${CPACK_PACAKGE_DESCRIPTION})
20 set(CPACK_DEBIAN_PACKAGE_DEPENDS "libstdc++6 (>= 4.9)")
21 set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.3)")
22 set(CPACK_DEBIAN_PACKAGE_SECTION "misc")
23 if (CMAKE_SIZEOF_VOID_P MATCHES "8")
24         set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64")
25 else()
26         set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "i386")
27 endif()
29 include(CPack)