[CMake] Newbie about REGEX

Pascal Fleury fleury at users.sourceforge.net
Sun Feb 11 17:32:18 EST 2007


On Sunday 11 February 2007 22:59:41 Alan W. Irwin wrote:
> For example, if these header files are not generated, why not simply
> specify them explicitly as a list or generate that list implicitly with
> "FILE(GLOB ....". Then INSTALL that list of files.  

Just noticed: the INSTALL(DIRECTORY...) keeps the directory structure, 
INSTALL(FILES..) flattens it. Any way to copy a dir-tree selecting only the 
header files, but keeping the same dir structure in the install dir ?

--paf


More information about the CMake mailing list