# ==================================== # cpack settings # ==================================== set (CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR}) set (CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR}) set (CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH}) set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "Code coverage tester based on Bcov") set (CPACK_PACKAGE_DESCRIPTION_FILE "${PROJECT_SOURCE_DIR}/README") set (CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/COPYING") set (CPACK_RESOURCE_FILE_README "${PROJECT_SOURCE_DIR}/README") set (CPACK_PACKAGE_VENDOR "Simon Kagstrom") set (CPACK_PACKAGE_CONTACT "Simon Kagstrom ") set (CPACK_STRIP_FILES TRUE) set (CPACK_SOURCE_PACKAGE_FILE_NAME "${PROJECT_NAME}-${PROJECT_VERSION}") set (CPACK_SOURCE_IGNORE_FILES /Debug/ /Release/ /build/ /.git/ /.gitignore .*~ .*.log ) set (CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION /usr/share/man /usr/share/man/man1 /usr/local/share/man /usr/local/share/man/man1) include (CPack)