[CMake] Question about CMakeLists.txt with regards to installation

Brad King brad.king at kitware.com
Tue Oct 12 17:53:16 EDT 2004


Andy Cedilnik wrote:

> Hi Jeremy,
> 
> Try:
> 
> SET(files 
>   foo.h
>   bar.h
>   ...
> )
> 
> INSTALL_FILES(/include/vtk .h ${files})

...and for the library:

INSTALL_TARGETS(/lib/mylibdir mylib)

-Brad



More information about the CMake mailing list