2008-06-09 20:14:25 +04:00
|
|
|
include(InstallRequiredSystemLibraries)
|
|
|
|
|
|
|
|
# For help take a look at:
|
|
|
|
# http://www.cmake.org/Wiki/CMake:CPackConfiguration
|
|
|
|
|
|
|
|
### general settings
|
|
|
|
set(CPACK_PACKAGE_NAME "csync")
|
|
|
|
set(CPACK_PACKAGE_VENDOR "csync")
|
|
|
|
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "User level bidirectional client only file synchronizer")
|
|
|
|
|
|
|
|
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING")
|
|
|
|
|
|
|
|
### versions
|
|
|
|
set(CPACK_PACKAGE_VERSION_MAJOR "0")
|
2012-10-10 14:09:36 +04:00
|
|
|
set(CPACK_PACKAGE_VERSION_MINOR "60")
|
2012-11-22 19:55:41 +04:00
|
|
|
set(CPACK_PACKAGE_VERSION_PATCH "2")
|
2008-09-09 19:38:59 +04:00
|
|
|
set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
|
2008-06-09 20:14:25 +04:00
|
|
|
|
|
|
|
set(CPACK_GENERATOR "TGZ")
|
|
|
|
set(CPACK_PACKAGE_INSTALL_DIRECTORY "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
|
|
|
|
|
|
|
|
### source package settings
|
|
|
|
set(CPACK_SOURCE_GENERATOR "TGZ")
|
|
|
|
set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;/build/;tags;cscope.*")
|
|
|
|
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
|
|
|
|
|
|
|
|
include(CPack)
|