diff options
author | Jonathan Beck | 2009-02-12 18:46:57 +0100 |
---|---|---|
committer | Jonathan Beck | 2009-02-12 18:46:57 +0100 |
commit | 10f32a551aaa9a809eeb7b8880e48fdb48ebdd3b (patch) | |
tree | 1ec62ef8a5e2f7bf466010b72d51d627f52d2ce6 /CMakeLists.txt | |
parent | 37f529e69f35ba6d31fb831adf91b28c3c90df77 (diff) | |
download | libplist-10f32a551aaa9a809eeb7b8880e48fdb48ebdd3b.tar.gz libplist-10f32a551aaa9a809eeb7b8880e48fdb48ebdd3b.tar.bz2 |
Add CPack packaging.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b6fe029..f3df1c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,4 +19,19 @@ IF ( SWIG_FOUND AND PYTHON_LIBRARY ) ADD_SUBDIRECTORY( swig ) ENDIF ( SWIG_FOUND AND PYTHON_LIBRARY ) -CONFIGURE_FILE( "libplist.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/libplist.pc" )
\ No newline at end of file +CONFIGURE_FILE( "libplist.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/libplist.pc" ) + + +SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Library to parse and generate Apple's binary and XML PList format") +SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README") +SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING.LESSER") +SET(CPACK_PACKAGE_VERSION_MAJOR "0") +SET(CPACK_PACKAGE_VERSION_MINOR "1") +SET(CPACK_PACKAGE_VERSION_PATCH "0") +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) + |