[Cmake] installing *.h files

Amitha Perera perera at cs.rpi.edu
Tue, 20 Jan 2004 15:03:15 -0500


On Tue 20 Jan 2004, M?nica Hern?ndez Gim?nez wrote:
> I would like to do something slightly different, that is, go up one
> directory and find all the .h files in one folder placed in this
> directory.

>From cmake --help INSTALL_FILES:

         INSTALL_FILES(<dir> regexp)

       Any files in the *current source directory* that match the regular
       expression will be installed.

(Emphasis mine.) My guess is that you can't do a regexp install files
outside the current source dir.

Amitha.