[CMake] [2.8.12.1] Bug in Xcode generation of STATIC from OBJECT libraries
Brad King
brad.king at kitware.com
Thu Jan 23 11:40:33 EST 2014
On 01/23/2014 11:36 AM, Paul Smith wrote:
> I see. That's a shame :-(.
Unfortunately it is an Xcode limitation that CMake cannot work around.
> Kind of unpleasant. Anyone have any ideas?
Add an "empty.c" source protected by if(XCODE).
Also be sure to set the POSITION_INDEPENDENT_CODE target property
on the object libraries to make sure the objects can be used in
a shared library.
-Brad
More information about the CMake
mailing list