Re: [cmake-developers] "Linking" of Object Libraries

2018-05-21 Thread Brad King
On 05/20/2018 02:21 PM, Gößwein Matthias / eeas gmbh wrote: > I found a strange behavior within the object libraries in the upcoming > CMake 3.12 (I used 3.11.20180519-gdb88f for testing). Thanks for trying it out! > If I have for example two object libraries, which are used in one > executable:

[cmake-developers] "Linking" of Object Libraries

2018-05-20 Thread Gößwein Matthias / eeas gmbh
Hello, I found a strange behavior within the object libraries in the upcoming CMake 3.12 (I used 3.11.20180519-gdb88f for testing). If I have for example two object libraries, which are used in one executable: add_library(ObjLib1 OBJECT ObjLib1.c) target_include_directories(ObjLib1 PUBLIC ...)