-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.cmake
56 lines (46 loc) · 2.24 KB
/
Package.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
SET(CPACK_PACKAGE_NAME "Morpheus")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Modeling environment for Multi-Cellular Systems Biology") # Morpheus -
# Modeling environment for Multi-Cellular Systems Biology
SET(CPACK_PACKAGE_DESCRIPTION "Includes simulators for ODEs, PDEs and cellular Potts models.
Facilitates
- Modeling without programming.
- Model integration into multiscale models by symbolic linking.
- Import of SBML models.
- Simulating, sharing and archiving Models with ease.
- Parameter exploration through (parallel) batch processing.
- Multi-core concurrency support using OpenMP multithreading")
SET(CPACK_PACKAGE_VERSION ${PROJECT_VERSION} )
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_NAME_TAG "b${MORPHEUS_REVISION}")
IF(MORPHEUS_BETA)
SET(CPACK_PACKAGE_NAME_TAG "beta${MORPHEUS_BETA}")
ELSEIF(MORPHEUS_RC)
SET(CPACK_PACKAGE_NAME_TAG "rc${MORPHEUS_RC}")
ENDIF()
SET(CPACK_MAINTAINER "Joern Starruss <[email protected]>")
SET(CPACK_PACKAGE_VENDOR "Jörn Starruß & Walter de Back (ZIH, TU-Dresden)")
SET(CPACK_PACKAGE_CONTACT ${CPACK_MAINTAINER})
SET(CPACK_PACKAGE_HOMEPAGE_URL "https://morpheus.gitlab.io")
SET(CPACK_PACKAGE_EXECUTABLES ${GUI_EXEC_NAME}; ${CPACK_PACKAGE_DESCRIPTION_SUMMARY})
SET(CPACK_STRIP_FILES TRUE)
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "${CPACK_PACKAGE_NAME}")
# SET(CPACK_RESOURCE_FILE_WELCOME_ "${CMAKE_CURRENT_SOURCE_DIR}/README")
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md")
get_cmake_property(comps COMPONENTS)
MESSAGE(STATUS "Components defined: ${comps}")
set(CPACK_COMPONENTS_GROUPING ALL_COMPONENTS_IN_ONE)
IF( "${MORPHEUS_OS}" STREQUAL "UNIX" AND NOT "${MORPHEUS_OS}" STREQUAL "APPLE" )
SET(CPACK_GENERATOR "DEB")
INCLUDE(PackageDEB.cmake)
ELSEIF("${MORPHEUS_OS}" STREQUAL "APPLE")
IF (MORPHEUS_RELEASE_BUNDLE)
LIST(APPEND CPACK_GENERATOR "DragNDrop") # "Bundle")
ENDIF()
ELSEIF("${MORPHEUS_OS}" STREQUAL "WIN32")
SET(CPACK_GENERATOR "NSIS") ## alternative packagers WIX;IFW")
INCLUDE (PackageNSIS.cmake)
ENDIF()
SET(CPACK_PROJECT_CONFIG_FILE "${PROJECT_SOURCE_DIR}/packaging/cpack_config.cmake")
INCLUDE(CPack)