I have a fairly large project where the header files from various
subdirectories are combined into a single include directory when the
project is installed.
For example, header a.h may be located in:
/root/subproject1/
in the source tree, it is located in
/include/MyProject/
configure_file(InputFile OutputFile [COPYONLY] [ESCAPE_QUOTES] [...@only])
The Input and Output files have to have full paths. This command
replaces any variables in the input file referenced as ${VAR} or @VAR@
with their values as determined by CMake. If a variable is not
defined, it will be