Hi,

On Tue, Jul 12, 2011 at 9:03 AM, Andreas Naumann
<andreas-naum...@gmx.net> wrote:
> You could use
> file(GLOB_RECURSE files *.h)

The problem is a bit slightly different. It is not a problem for me to
find the files on my own. :) The problem is that I would like to
install "foo/bar.h" into the destination as "foo/bar.h" and not just
"bar.h". I guess that would cover the issues. Even if I ever need some
recursive search, it will hold the files without the subfolder, so
they will be installed into the destination as "bar.h" and not
"foo/bar.h". Did I miss something ?

> or install the main directory with
> install(DIRECTORY ... )
> and exclude every non-header file (and possibly svn..)

We have source, header, data, icon, et cetera files inside the given
library folder, so this would cause more issues than benefit in our
case.

Best Regards,
Laszlo Papp
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to