CPack configuration. Include this module instead of CPack. More...
#include "InstallRequiredSystemLibraries.cmake"
#include "${PROJECT_BINARY_DIR}/Package.cmake"
#include "${PROJECT_CONFIG_DIR}/Package.cmake"
#include "CPack.cmake"
#include "${PROJECT_BINARY_DIR}/Components.cmake"
#include "${PROJECT_CONFIG_DIR}/Components.cmake"
Go to the source code of this file.
Functions | |
function | basis_add_component (in COMPNAME, in ARGN) |
Add component. More... | |
function | basis_add_component_group (in GRPNAME, in ARGN) |
Add component group. More... | |
function | basis_add_install_type (in ARGN) |
Add pre-configured install type. More... | |
function | basis_configure_downloads (in ARGN) |
Configure installation-time downloads of selected components. More... | |
Variables | |
cmake | CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP |
cmake | CPACK_GENERATOR |
cmake | CPACK_INCLUDE_TOPLEVEL_DIRECTORY |
cmake | CPACK_INSTALL_PREFIX |
cmake | CPACK_NSIS_CONTACT |
cmake | CPACK_NSIS_MODIFY_PATH |
cmake | CPACK_PACKAGE_CONTACT |
cmake | CPACK_PACKAGE_DESCRIPTION_FILE |
cmake | CPACK_PACKAGE_DESCRIPTION_SUMMARY |
cmake | CPACK_PACKAGE_FILE_NAME |
cmake | CPACK_PACKAGE_NAME |
cmake | CPACK_PACKAGE_RELOCATABLE |
cmake | CPACK_PACKAGE_VENDOR |
cmake | CPACK_PACKAGE_VERSION |
cmake | CPACK_PACKAGE_VERSION_MAJOR |
cmake | CPACK_PACKAGE_VERSION_MINOR |
cmake | CPACK_PACKAGE_VERSION_PATCH |
cmake | CPACK_RESOURCE_FILE_LICENSE |
cmake | CPACK_RESOURCE_FILE_README |
cmake | CPACK_RESOURCE_FILE_WELCOME |
cmake | CPACK_SOURCE_GENERATOR |
cmake | CPACK_SOURCE_PACKAGE_FILE_NAME |
cmake | CPACK_SOURCE_TOPLEVEL_TAG |
cmake | CPACK_SYSTEM_NAME |
cmake | CPACK_TOPLEVEL_TAG |
CPack configuration. Include this module instead of CPack.
This module implements the packaging of BASIS projects.
Overwrite the package information set by this module either in a file Package.cmake or a file Package.cmake.in located in the directory specified by PROJECT_CONFIG_DIR. The latter is configured and copied to the binary tree before included by this module. Further, to enable a component-based installation, provide either a file Components.cmake or Components.cmake.in again in the directory specified by PROJECT_CONFIG_DIR. Also in this case, the latter is configured via CMake's configure_file() before use. This file is referred to as components definition (file).
Components can be added in the components definition using the command basis_add_component(). Several components can be grouped together and a group description be added using the command basis_add_component_group(). Different pre-configured install types which define a certain selection of components to install can be added using basis_add_install_type(). Note that all these BASIS functions are wrappers around the corresponding CPack functions.
Definition in file BasisPack.cmake.
cmake CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP |
Definition at line 41 of file BasisPack.cmake.
cmake CPACK_GENERATOR |
Definition at line 123 of file BasisPack.cmake.
cmake CPACK_INCLUDE_TOPLEVEL_DIRECTORY |
Definition at line 124 of file BasisPack.cmake.
cmake CPACK_INSTALL_PREFIX |
Definition at line 109 of file BasisPack.cmake.
cmake CPACK_NSIS_CONTACT |
Definition at line 150 of file BasisPack.cmake.
cmake CPACK_NSIS_MODIFY_PATH |
Definition at line 151 of file BasisPack.cmake.
cmake CPACK_PACKAGE_CONTACT |
Definition at line 81 of file BasisPack.cmake.
cmake CPACK_PACKAGE_DESCRIPTION_FILE |
Definition at line 103 of file BasisPack.cmake.
cmake CPACK_PACKAGE_DESCRIPTION_SUMMARY |
Definition at line 82 of file BasisPack.cmake.
cmake CPACK_PACKAGE_FILE_NAME |
Definition at line 126 of file BasisPack.cmake.
cmake CPACK_PACKAGE_NAME |
Definition at line 76 of file BasisPack.cmake.
cmake CPACK_PACKAGE_RELOCATABLE |
Definition at line 110 of file BasisPack.cmake.
cmake CPACK_PACKAGE_VENDOR |
Definition at line 91 of file BasisPack.cmake.
cmake CPACK_PACKAGE_VERSION |
Definition at line 80 of file BasisPack.cmake.
cmake CPACK_PACKAGE_VERSION_MAJOR |
Definition at line 77 of file BasisPack.cmake.
cmake CPACK_PACKAGE_VERSION_MINOR |
Definition at line 78 of file BasisPack.cmake.
cmake CPACK_PACKAGE_VERSION_PATCH |
Definition at line 79 of file BasisPack.cmake.
cmake CPACK_RESOURCE_FILE_LICENSE |
Definition at line 87 of file BasisPack.cmake.
cmake CPACK_RESOURCE_FILE_README |
Definition at line 84 of file BasisPack.cmake.
cmake CPACK_RESOURCE_FILE_WELCOME |
Definition at line 106 of file BasisPack.cmake.
cmake CPACK_SOURCE_GENERATOR |
Definition at line 132 of file BasisPack.cmake.
cmake CPACK_SOURCE_PACKAGE_FILE_NAME |
Definition at line 134 of file BasisPack.cmake.
cmake CPACK_SOURCE_TOPLEVEL_TAG |
Definition at line 133 of file BasisPack.cmake.
cmake CPACK_SYSTEM_NAME |
Definition at line 116 of file BasisPack.cmake.
cmake CPACK_TOPLEVEL_TAG |
Definition at line 125 of file BasisPack.cmake.