[CMake] Install of library sub-project prior to building application

Richard Offer richard at whitequeen.com
Wed Jun 17 16:37:14 EDT 2009


On Wed, Jun 17, 2009 at 12:22 PM, Tyler Roscoe <tyler at cryptio.net> wrote:

>
> Note that CMake's INSTALL target (which runs the rules you define with
> the install() command) isn't a "real" target so unfortunately you can't
> do things like
>
>    add_dependencies(INSTALL myLib1 ... mylibN)
>
> There is an request in the tracker to address this shortcoming.
>
> hth,
> tyler
>


That seems to be the crux.

Its not unreasonable that its up to the project to define that code, I was
just hoping that I'd missed that CMake would export a PROJECT/install target
to make embedding external projects easier.


richard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090617/a8f96c4b/attachment.htm>


More information about the CMake mailing list