Re: [CMake] import external library

2017-02-15 Thread Florent Castelli
You can either unpack the target at generation time (recommended). Or you could create an INTERFACE target instead. The first solution is recommended as I believe it's important to have access to all the sources (for IDEs for example) before actually starting the build process. /Florent On 1

[CMake] import external library

2017-02-15 Thread Wagner Martin
Hi @all, I’ve tried importing an external library like that: stackoverflow.com/questions/31274577 I have the same use case, except that my custom target does not call make but does unpack a tar archive containing headers and .a. My problem is that the step “ # specify where the library is and w