[CMake] Creating dependencies between static imported targets.

Tamás Kenéz tamas.kenez at gmail.com
Sun Aug 21 14:52:52 EDT 2016


Defining the dependencies of an imported target should be done by the
target's config-module (or a file invoked by the config-module, usually
generated with install(EXPORT...) )

On Sun, Aug 21, 2016 at 4:23 PM, Yaron Cohen-Tal <yaronct at gmail.com> wrote:

> Thanx!
>
> I think it would b nice though if the "target_XXX" commands would also
> work for imported targets, e.g.. by adding the dependency to
> "INTERFACE_LINK_LIBRARIES'. That way I sometimes can use the same command
> without checking if the depentent is imported.
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160821/d3e07bf1/attachment.html>


More information about the CMake mailing list