BASIS  version 1.2.3 (revision 2104)
Variables
GenerateConfig.cmake File Reference

Generates package configuration files. More...

#include "BasisConfigSettings.cmake"
#include "${PROJECT_CONFIG_DIR}/ConfigSettings.cmake"
+ Include dependency graph for GenerateConfig.cmake:

Go to the source code of this file.

Variables

 CONFIG_FILE
 Name of the CMake package configuration file.
 CONFIG_PREFIX
 Package name.
 CUSTOM_EXPORTS_FILE
 Name of the CMake target exports file for custom targets.
 EXPORTS_FILE
 Name of the CMake target exports file.
 USE_FILE
 Name of the CMake package use file.
 VERSION_FILE
 Name of the CMake package version file.

Detailed Description

Generates package configuration files.

This CMake script configures the <package>Config.cmake et al. files, once for the build tree and once for the install tree. Variables with a _CONFIG suffix are replaced in the default template file by either the value for the build or the install tree, respectively.

If present, this script includes the PROJECT_CONFIG_DIR/ConfigBuild.cmake and/or PROJECT_CONFIG_DIR/ConfigInstall.cmake file before configuring the Config.cmake.in template. If a file PROJECT_CONFIG_DIR/Config.cmake.in exists, it is used as template. Otherwise, the default template file is used.

Similarly, if the file PROJECT_CONFIG_DIR/ConfigVersion.cmake.in exists, it is used as template for the <package>ConfigVersion.cmake file. The same applies to ConfigUse.cmake.in.

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 GenerateConfig.cmake.