From c2c353f6b9e929966ac4c86b6c758561900df05e Mon Sep 17 00:00:00 2001 From: dehnert Date: Sun, 23 Mar 2014 16:17:43 +0100 Subject: [PATCH] Readded missing file. Former-commit-id: acc68213d496fce4c7332093e0c5f2a182c639bd --- CPackConfig.cmake | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 CPackConfig.cmake diff --git a/CPackConfig.cmake b/CPackConfig.cmake new file mode 100644 index 000000000..5ce6c0f53 --- /dev/null +++ b/CPackConfig.cmake @@ -0,0 +1,27 @@ +include(InstallRequiredSystemLibraries) + +# For help take a look at: +# http://www.cmake.org/Wiki/CMake:CPackConfiguration + +### general settings +set(CPACK_PACKAGE_NAME "StoRM") +set(CPACK_PACKAGE_VENDOR "i2 RWTH Aachen University") +set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Stochastic Reward Model Checker - An extensible model checker written in C++.") + +set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE") + +### versions +set(CPACK_PACKAGE_VERSION_MAJOR "${STORM_CPP_VERSION_MAJOR}") +set(CPACK_PACKAGE_VERSION_MINOR "${STORM_CPP_VERSION_MINOR}") +set(CPACK_PACKAGE_VERSION_PATCH "${STORM_CPP_VERSION_PATCH}") +set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}-${STORM_CPP_VERSION_HASH}") + +set(CPACK_GENERATOR "ZIP") +set(CPACK_PACKAGE_INSTALL_DIRECTORY "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}") + +### source package settings +set(CPACK_SOURCE_GENERATOR "ZIP") +set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;/build/;tags;cscope.*") +set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-src") + +include(CPack) \ No newline at end of file