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

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

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

2017-04-07 Thread David Jobet
regards > >David > >Le 6 avril 2017 05:11:46 GMT+01:00, Dvir Yitzchaki > a écrit : >>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 >

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

2017-04-07 Thread David Jobet
avril 2017 05:11:46 GMT+01:00, Dvir Yitzchaki a écrit : >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] Tra

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 ext

[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 : Add_librar