[CMake] A CMake language peculiarity I have just discovered

Brandon J. Van Every bvanevery at gmail.com
Sun Sep 17 05:59:40 EDT 2006

Alexander Neundorf wrote:
> Maybe it would be possible to add some special cases, so that e.g. for the FILE() commands and for the second parameter of CONFIGURE_FILE() relative paths are interpreted relative to CMAKE_CURRENT_BINBARY_DIR, but IMO this would be inconsistent.

Automagicality for CONFIGURE_FILE() would also be unsafe.  Currently 
absolute pathnames are required to configure a file, and there's a 
reason for that.

Brandon Van Every

More information about the CMake mailing list