Warning, /DD4hep/cmake/DD4hepCPack.cmake is written in an unsupported language. File is not indexed.
0001
0002 set(CPACK_PACKAGE_NAME "dd4hep")
0003 set(CPACK_SET_DESTDIR TRUE)
0004 set(CPACK_PACKAGE_HOMEPAGE_URL "https://dd4hep.cern.ch")
0005 set(CPACK_PACKAGE_DESCRIPTION "Detector Description Toolkit for HEP")
0006 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY ${CPACK_PACKAGE_DESCRIPTION})
0007 set(CPACK_PACKAGE_VENDOR "AIDASoft")
0008 set(CPACK_PACKAGE_VERSION_MAJOR ${DD4hep_VERSION_MAJOR})
0009 set(CPACK_PACKAGE_VERSION_MINOR ${DD4hep_VERSION_MINOR})
0010 set(CPACK_PACKAGE_VERSION_PATCH ${DD4hep_VERSION_PATCH})
0011
0012 # required fields for .deb
0013 set(CPACK_DEBIAN_PACKAGE_MAINTAINER "dd4hep@cern.ch")
0014 set(CPACK_DEBIAN_PACKAGE_HOMEPAGE ${CPACK_PACKAGE_HOMEPAGE_URL})
0015
0016 set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/README.md")
0017 set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE")
0018 set(CPACK_RESOURCE_FILE_README "${CMAKE_SOURCE_DIR}/README.md")
0019
0020 #--- source package settings ---------------------------------------------------
0021 set(CPACK_SOURCE_IGNORE_FILES
0022 ${PROJECT_BINARY_DIR}
0023 "~$"
0024 "/.git/"
0025 "/\\\\\\\\.git/"
0026 "/#"
0027 )
0028 set(CPACK_SOURCE_STRIP_FILES "")
0029
0030
0031 set(CPACK_PACKAGE_RELOCATABLE True)
0032 set(CPACK_PACKAGE_INSTALL_DIRECTORY "")
0033 set(CPACK_PACKAGE_FILE_NAME "DD4hep_v${DD4hep_VERSION_MAJOR}.${DD4hep_VERSION_MINOR}.${DD4hep_VERSION_PATCH}")
0034
0035 include(CPack)