CPack configuration. Include this module instead of CPack. More...
#include "InstallRequiredSystemLibraries"
#include "${PROJECT_BINARY_DIR}/Package.cmake"
#include "${PROJECT_CONFIG_DIR}/Package.cmake"
#include "CPack"
#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. | |
function | basis_add_component_group (in GRPNAME, in ARGN) |
Add component group. | |
function | basis_add_install_type (in ARGN) |
Add pre-configured install type. | |
function | basis_configure_downloads (in ARGN) |
Configure installation-time downloads of selected components. | |
Variables | |
CPACK_SOURCE_IGNORE_FILES | |
Patterns to be ignored when creating source package. |
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.
Copyright (c) 2011-2012 Univeristy of Pennsylvania. All rights reserved.
See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file.
Contact: SBIA Group <sbia-software at uphs.upenn.edu>
Definition in file BasisPack.cmake.