Re: [CMake] exporting targets from build tree

2016-11-16 Thread Matthew Woehlke
On 2016-07-27 18:49, Michael Legleux wrote: > I have 2 projects (one built with cmake, one in the process of being > converted to using it) > > Project A (built with cmake) builds lib_a that Project B requires. > I'm thinking I'm doing something wrong around here: > project(lib_a) > >

[CMake] exporting targets from build tree

2016-07-27 Thread Michael Legleux
I have 2 projects (one built with cmake, one in the process of being converted to using it) Project A (built with cmake) builds lib_a that Project B requires. I'm thinking I'm doing something wrong around here: project(lib_a) ... add_library(lib_a STATIC ${SRC})