diff options
author | Jonathan Beck | 2009-03-27 18:43:46 +0100 |
---|---|---|
committer | Jonathan Beck | 2009-03-27 18:43:46 +0100 |
commit | c99881e673b58efba240d6b9440768eace28b027 (patch) | |
tree | 16d521218a1a97ed726c9402229fd51341fe7745 /cmake/libplistPackaging.cmake | |
parent | 623314bb8de2a6ac71e44833d1f1a796274d3871 (diff) | |
download | libplist-c99881e673b58efba240d6b9440768eace28b027.tar.gz libplist-c99881e673b58efba240d6b9440768eace28b027.tar.bz2 |
Complete and cleanup CMake build system.
Diffstat (limited to 'cmake/libplistPackaging.cmake')
-rw-r--r-- | cmake/libplistPackaging.cmake | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cmake/libplistPackaging.cmake b/cmake/libplistPackaging.cmake new file mode 100644 index 0000000..1a5fd92 --- /dev/null +++ b/cmake/libplistPackaging.cmake @@ -0,0 +1,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 ) |