MyLibCPackConfig-components-description2.cmake.in 666 B

1234567891011121314151617181920212223242526
  1. #
  2. # Activate component packaging
  3. #
  4. if(CPACK_GENERATOR MATCHES "DEB")
  5. set(CPACK_DEB_COMPONENT_INSTALL "ON")
  6. endif()
  7. #
  8. # Choose grouping way
  9. #
  10. #set(CPACK_COMPONENTS_ALL_GROUPS_IN_ONE_PACKAGE)
  11. #set(CPACK_COMPONENTS_GROUPING)
  12. set(CPACK_COMPONENTS_IGNORE_GROUPS 1)
  13. #set(CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE 1)
  14. # overriding previous descriptions
  15. set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "main description 2")
  16. # Components do not have any description
  17. unset(CPACK_COMPONENT_APPLICATIONS_DESCRIPTION)
  18. unset(CPACK_COMPONENT_HEADERS_DESCRIPTION)
  19. unset(CPACK_COMPONENT_LIBRARIES_DESCRIPTION)
  20. set(CPACK_COMPONENT_LIBRARIES_DESCRIPTION "library description")