Skip to content
Snippets Groups Projects

install,export: Maybe transform OBJECT libraries to INTERFACE libraries

Merged Brad King requested to merge brad.king/cmake:object-library-export-as-interface into master
23 files
+ 123
63
Compare changes
  • Side-by-side
  • Inline
Files
23
+ 7
0
@@ -40,6 +40,13 @@ policy CMP0022 is NEW. If a library target is included in the export
but a target to which it links is not included the behavior is
unspecified.
.. note::
:ref:`Object Libraries` under :generator:`Xcode` have special handling if
multiple architectures are listed in :variable:`CMAKE_OSX_ARCHITECTURES`.
In this case they will be exported as :ref:`Interface Libraries` with
no object files available to clients.
::
export(PACKAGE <name>)
Loading