Re: [CMake] Transitive include and link libraries on imported targets ?

2017-04-10 Thread David Jobet
and will also >>try to remove those 2 stages... >> >>With regards >> >>David >> >>Le 6 avril 2017 05:11:46 GMT+01:00, Dvir Yitzchaki >><dvir.yitzch...@ceva-dsp.com> a écrit : >>>target_link_libraries(B INTERFACE A) >>> >>>Regards, >>&

Re: [CMake] Transitive include and link libraries on imported targets ?

2017-04-07 Thread David Jobet
ards > >David > >Le 6 avril 2017 05:11:46 GMT+01:00, Dvir Yitzchaki ><dvir.yitzch...@ceva-dsp.com> a écrit : >>target_link_libraries(B INTERFACE A) >> >>Regards, >>Dvir >> >>From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of David Jobet >&

Re: [CMake] Transitive include and link libraries on imported targets ?

2017-04-07 Thread David Jobet
bject: [CMake] Transitive include and link libraries on imported >targets ? > >Hello, > >Let's say I build some external libs A and B with B depending on A. >B and A do not use cmake, so I build them and install them in a >3rdparty directory. I now have access to includes and

Re: [CMake] Transitive include and link libraries on imported targets ?

2017-04-05 Thread Dvir Yitzchaki
target_link_libraries(B INTERFACE A) Regards, Dvir From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of David Jobet Sent: Wednesday, April 5, 2017 18:34 To: cmake@cmake.org Subject: [CMake] Transitive include and link libraries on imported targets ? Hello, Let's say I build some external

[CMake] Transitive include and link libraries on imported targets ?

2017-04-05 Thread David Jobet
Hello, Let's say I build some external libs A and B with B depending on A. B and A do not use cmake, so I build them and install them in a 3rdparty directory. I now have access to includes and libs. I then create some cmake file to describe those libs so I can use them in my project :