summaryrefslogtreecommitdiffstats
path: root/cmake/libplistPackaging.cmake
blob: fbd865fd784033b28fc9d5b99c1056a21dbcae73 (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_PLISTUTIL_DISPLAY_NAME "PList conversion tool")
  set(CPACK_COMPONENT_DEV_DEPENDS lib)
  set(CPACK_COMPONENT_PLISTUTIL_DEPENDS lib)
  INCLUDE( CPack )

ENDMACRO( LIBPLIST_PACKAGE )