CMakeLists.txt 913 B

123456789101112131415161718
  1. ##########################
  2. # Packaging (DEB/RPM) #
  3. ##########################
  4. # invoke via `make package`
  5. set(CPACK_GENERATOR "TGZ;DEB;RPM")
  6. set(CPACK_PACKAGE_VENDOR "open62541 team")
  7. set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "OPC UA implementation")
  8. set(CPACK_PACKAGE_DESCRIPTION "open62541 is a C-based library (linking with C++ projects is possible) with all necessary tools to implement dedicated OPC UA clients and servers, or to integrate OPC UA-based communication into existing applications.")
  9. set(CPACK_PACKAGE_DESCRIPTION_FILE "${PROJECT_SOURCE_DIR}/README.md")
  10. set(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE")
  11. set(CPACK_PACKAGE_VERSION_MAJOR "${OPEN62541_VER_MAJOR}")
  12. set(CPACK_PACKAGE_VERSION_MINOR "${OPEN62541_VER_MINOR}")
  13. set(CPACK_PACKAGE_VERSION_PATCH "${OPEN62541_VER_PATCH}${OPEN62541_VER_LABEL}")
  14. set(CPACK_DEBIAN_PACKAGE_MAINTAINER "open62541 team") #required
  15. include(CPack)