Skip to content
Snippets Groups Projects
Commit 6ff6c628 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[CMake][CPack] Set some basic CPack wariables for tarballs.

Tarballs can be built using "make package_source". But they contain
all files from the source directory. There is a way to ignore files.
parent 5affebbd
No related branches found
No related tags found
No related merge requests found
...@@ -329,6 +329,11 @@ macro(dune_module_information MODULE_DIR) ...@@ -329,6 +329,11 @@ macro(dune_module_information MODULE_DIR)
set(${DUNE_MOD_NAME_UPPERCASE}_VERSION_MAJOR "${DUNE_VERSION_MAJOR}") set(${DUNE_MOD_NAME_UPPERCASE}_VERSION_MAJOR "${DUNE_VERSION_MAJOR}")
set(${DUNE_MOD_NAME_UPPERCASE}_VERSION_MINOR "${DUNE_VERSION_MINOR}") set(${DUNE_MOD_NAME_UPPERCASE}_VERSION_MINOR "${DUNE_VERSION_MINOR}")
set(${DUNE_MOD_NAME_UPPERCASE}_VERSION_REVISION "${DUNE_VERSION_REVISION}") set(${DUNE_MOD_NAME_UPPERCASE}_VERSION_REVISION "${DUNE_VERSION_REVISION}")
# configure CPack
set(CPACK_PACKAGE_NAME "${DUNE_MOD_NAME}")
set(CPACK_PACKAGE_VERSION "${DUNE_VERSION_MAJOR}.${DUNE_VERSION_MINOR}.${DUNE_VERSION_REVISION}")
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
endmacro(dune_module_information) endmacro(dune_module_information)
macro(dune_process_dependency_leafs modules versions is_required next_level_deps macro(dune_process_dependency_leafs modules versions is_required next_level_deps
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment