Variables
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 COPY_MODE
 
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.

Definition in file ConfigureIncludeFiles.cmake.

Variable Documentation

§ COPY_MODE

cmake COPY_MODE

Definition at line 55 of file ConfigureIncludeFiles.cmake.

§ VARIABLE_NAME

cmake VARIABLE_NAME

Definition at line 32 of file ConfigureIncludeFiles.cmake.