Functions | Variables
BASISConfig.cmake File Reference

CMake package configuration file. More...

#include "${${NS}MODULES_DIR}/BASIS${_MODULE_NAME}Config.cmake"
#include "/BasisSettings.cmake"
#include "/BasisTools.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_find_config (in NAME, in VALUE, in IDX)
 
macro basis_is_cached (in VAR, in ENTRY)
 
macro basis_remove_duplicates_config (in NAME)
 
macro basis_remove_item_config (in NAME, in ITEM)
 
macro basis_set_config (in NAME)
 
macro basis_set_or_update_value (in VAR)
 

Variables

cmake _MODULE_NAME
 
cmake _MODULE_NS
 
cmake _PACKAGE_NS
 List of modules requested by external package using the COMPONENTS argument of find_package(). More...
 
cmake NS
 

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.

Definition in file BASISConfig.cmake.