Re: [CMake] object-libraries and compile-dependencies to other target

2016-07-21 Thread Robert Maynard
Hi Patrick, This looks to be another permutation on issue #14778 (https://gitlab.kitware.com/cmake/cmake/issues/14778). Unfortunately currently you will need to manually propagate the include/flags/etc to the OBJECT library. On Thu, Jul 21, 2016 at 5:30 AM, Patrick Boettcher

Re: [CMake] object-libraries and compile-dependencies to other target

2016-07-21 Thread Patrick Boettcher
On Wed, 20 Jul 2016 13:49:52 -0400 Robert Maynard wrote: > Hi Patrick, > > Can you provide a simple example of what you are trying to do, and > where it is failing? - add_library(lib1 STATIC ) target_include_directories(lib1 PUBLIC lib1-dir)

Re: [CMake] object-libraries and compile-dependencies to other target

2016-07-20 Thread Robert Maynard
Hi Patrick, Can you provide a simple example of what you are trying to do, and where it is failing? On Wed, Jul 20, 2016 at 8:29 AM, Patrick Boettcher wrote: > Hi list, > > I'm using an object-library to generate a list of .o-files instead of > archives which I use