On Thursday 29 January 2009, Daniele E. Domenichelli wrote:
> I have a small template library in c++ composed by ".h" files only and I
> want to use cmake to configure, find dependencies and install the
> library (compiling is not needed).
>
> This template library is in a bigger package with some other libraries
> that I install using "INSTALL TARGET" signature.
>
> I know I could use "INSTALL FILES", but I would like to use the same
> syntax ("INSTALL TARGET") for the first library, so I tried creating a
> new target, but with no results... Is there a way to do it?No. If you just have to install a set of files, use install(FILES). If you didn't create a target using add_executable() or add_library(), you can't use install(TARGETS) Do you have some specific problem with install(FILES ) ? Alex _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
