[CMake] install(DIRECTORY . DESTINATION include/proj FILES_MATCHINGPATTERN "*.h")

Mathieu Malaterre mathieu.malaterre at gmail.com
Wed Oct 28 11:45:45 EDT 2009


On Wed, Oct 28, 2009 at 4:41 PM, Tyler Roscoe <tyler at cryptio.net> wrote:
> This is a bad practice because then CMake has no way to know if there
> are new header files and can't regenerate/install correctly. Ok maybe a
> new header coming in will happen to trigger a rerun of CMake because the
> header happens to belong to one of your built libraries or executables,
> but I think this solution is more dangerous than just excluding .svn
> explicitly.

+1

Indeed I did not realize that.

Thanks,
-- 
Mathieu


More information about the CMake mailing list