[CMake] install(DIRECTORY . DESTINATION include/proj FILES_MATCHINGPATTERN "*.h")
Steve Huston
shuston at riverace.com
Wed Oct 28 11:14:22 EDT 2009
Hi Mathieu,
> Quick question. What is the command to install a set of *.h files
?
>
> I tried:
>
> install(DIRECTORY . DESTINATION include/proj FILES_MATCHING
> PATTERN "*.h")
Right.
> but it is installing the '.svn' subdir as part of the installation.
Try adding:
PATTERN ".svn" EXCLUDE
-Steve
--
Steve Huston, Riverace Corporation
Total Lifecycle Support for Your Networked Applications
http://www.riverace.com
More information about the CMake
mailing list