BASIS  r3148
ConfigureIncludeFiles.cmake File Reference

CMake script used to configure and copy the public header files. More...

#include "/CommonTools.cmake"
#include "${CACHE_FILE}.cmake"
+ Include dependency graph for ConfigureIncludeFiles.cmake:

Go to the source code of this file.

Variables

cmake VARIABLE_NAME

Detailed Description

CMake script used to configure and copy the public header files.

Besides configuring the files, this script optionally copies the header files to the build tree using the final relative path as used for the installation. This could be done directly during the configure step of CMake by code executed as part of the CMakeLists.txt files, but then whenever a header file is modified, CMake reconfigures the build system. Instead, this script is executed using execute_process() during the configure step of CMake and a custom build target is added which rebuilds whenever a header file was modified. Thus, only this script is re-executed, but not the entire build system re-configured.

The relative path of each configured input header file in the source tree is appended to the output log file. This file can be used to determine whether a new header was added to the source tree and thus this script has to be re-executed.

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


Variable Documentation

Definition at line 28 of file ConfigureIncludeFiles.cmake.