On Thursday 17 May 2012, Petr Kmoch wrote:
Hi Anton,
you should look into target property LINK_INTERFACE_LIBRARIES (and its
per-configuration variants) which controls transitive linking.
target_link_libraries() also accepts LINK_INTERFACE_LIBRARIES as an
argument mode, which sets the
Hello! I use 2.8.8 and my build chais is following:
I have 3 static libs - A.a, B.a, C.a.
I'm creating new D.so (add_library .. SHARED .. ) with limited set on
functions from static libs (linking -lA -lB -lC to resolve functions).
Then I'm creating application, wich use D.so as main library. I'm
Hi Anton,
you should look into target property LINK_INTERFACE_LIBRARIES (and its
per-configuration variants) which controls transitive linking.
target_link_libraries() also accepts LINK_INTERFACE_LIBRARIES as an
argument mode, which sets the property instead of linking.
Petr
On Thu, May 17,