Re: [CMake] OBJECT Library Type

2018-02-16 Thread Robert Maynard
As the error message states an OBJECT library can't consume other OBJECT libraries. When creating the actual library you will have to explicitly state what $ you need. If you are just looking at a way to simplify the logic for the consuming library you should look at doing the following: 1. Use a

[CMake] OBJECT Library Type

2018-02-16 Thread Simone Atzeni
Hi, I am trying to merge together two "OBJECT" libraries. I am following the tutorial at: https://cmake.org/Wiki/CMake/Tutorials/Object_Library However, in my case I have more level of folder nesting, and at the parent level I would like to merge two "OBJECT" libraries and only at the top I wan

[CMake] OBJECT Library Type

2018-02-16 Thread Simone Atzeni
Hi, I am trying to merge together two "OBJECT" libraries. I am following the tutorial at: https://cmake.org/Wiki/CMake/Tutorials/Object_Library However, in my case I have more level of folder nesting, and at the parent level I would like to merge two "OBJECT" libraries and only at the top I wan