BASIS  r3148
BASISConfig.cmake File Reference

CMake package configuration file. More...

#include "lib/cmake/basis/BASIS${${NS}MODULE}Config.cmake"
#include "/BasisTools.cmake"
#include "/BasisSettings.cmake"
+ Include dependency graph for BASISConfig.cmake:

Go to the source code of this file.

Functions

macro basis_append_config (in NAME)
macro basis_copy_config (in NAME, in SRC)
macro basis_remove_duplicates_config (in NAME)
macro basis_set_config (in NAME)

Variables

cmake ITK_DIR
cmake MATLAB_DIR
 List of modules requested by external package using the COMPONENTS argument of find_package().
cmake NS
cmake Sphinx_DIR

Detailed Description

CMake package configuration file.

Note:
The BASISConfig.cmake file is automatically generated by BASIS from the template file Config.cmake.in which is part of the BASIS package.

Variables in this file have to be prefixed by the name of this package. In the default package configuration file of BASIS, which can be included here using the @BASIS_CONFIG@ variable, this prefix is defined as NS variable. Moreover, the macro basis_set_config() should be used for convenience to set any configuration variable, e.g.,

 basis_set_config (INCLUDE_DIR "\@INCLUDE_DIR_CONFIG\@")

where the variable INCLUDE_DIR_CONFIG is set in the ConfigSettings.cmake file of the BASIS installation. Note that this statement will set the variable ${NS}INCLUDE_DIR, where by default NS is the package name followed by an underscore (_).

See the Config.cmake.in file of BASIS for details.

Copyright (c) 2011, 2012 University 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 BASISConfig.cmake.