packaging.cmake 473 B

123456789101112
  1. set(CPACK_PACKAGE_CONTACT "Alexey Edelev <semlanik@gmail.com>")
  2. set(CPACK_PACKAGE_DESCRIPTION "gRPC and Protobuf generator and bindings for Qt framework")
  3. set(CPACK_PACKAGE_NAME "qtprotobuf")
  4. set(CPACK_COMPONENTS_ALL dev lib)
  5. if(WIN32)
  6. include("${QT_PROTOBUF_CMAKE_DIR}/zip.cmake")
  7. else()
  8. set(CPACK_PACKAGING_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
  9. include("${QT_PROTOBUF_CMAKE_DIR}/deb.cmake")
  10. include("${QT_PROTOBUF_CMAKE_DIR}/rpm.cmake")
  11. endif()
  12. include(CPack)