summaryrefslogtreecommitdiffstats
path: root/cmake/libplistPackaging.cmake
blob: 1a5fd922f76d2a493e0dae3426b39a7d4db9a43c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
MACRO( LIBPLIST_PACKAGE _major _minor)

  SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Library to parse and generate Apple's binary and XML PList format")
  SET(CPACK_PACKAGE_VERSION_MAJOR ${_major})
  SET(CPACK_PACKAGE_VERSION_MINOR ${_minor})
  SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
  SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING.LESSER")
  SET(CPACK_COMPONENT_LIB_DISPLAY_NAME "PList library")
  SET(CPACK_COMPONENT_DEV_DISPLAY_NAME "PList development files")
  SET(CPACK_COMPONENT_PLUTIL_DISPLAY_NAME "PList conversion tool")
  set(CPACK_COMPONENT_DEV_DEPENDS lib)
  set(CPACK_COMPONENT_PLUTIL_DEPENDS lib)
  INCLUDE( CPack )

ENDMACRO( LIBPLIST_PACKAGE )