File: targz-source-package-creation.cmake

package info (click to toggle)
libpappsomspp 0.11.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,032 kB
  • sloc: cpp: 78,332; xml: 44,164; python: 668; sql: 186; sh: 33; makefile: 31
file content (32 lines) | stat: -rw-r--r-- 969 bytes parent folder | download
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
# Packager

# Note how the doc/user-manual/DC-user-manual is listed here:
# this is a generated file (configure_file) that needs not be
# in the tarball. However, because it is a configure_file it is
# generated right while doing 'cmake archive', so it is not
# possible that it be absent from source dir!set(CPACK_PACKAGE_NAME "massxpert2")
set(CPACK_PACKAGE_NAME ${CMAKE_PROJECT_NAME})
set(CPACK_PACKAGE_VENDOR "PAPPSO")
set(CPACK_PACKAGE_VERSION "${PAPPSOMSPP_VERSION}")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Library to read and write ODS files using streams")
set(CPACK_SOURCE_GENERATOR "TGZ")
set(CPACK_SOURCE_IGNORE_FILES
  # Not creating a Debian native package!
  debian/
  \\\\.git/
  ".gitattributes"
  ".cache"
  "compile_commands.json"
  ${CPACK_PACKAGE_NAME}.kdev4
  ".kdev4"
  "development.kdev4"
  "Session.vim"
  ${CPACK_SOURCE_IGNORE_FILES}
)

set(CPACK_SOURCE_PACKAGE_FILE_NAME
  "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")

# include(CPack)