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

Teach the install and export commands to support installing and exporting OBJECT libraries without their object files. Transform them to INTERFACE libraries in such cases.

For install(TARGETS), activate this when no destination for the object files is specified. For export, activate this only under Xcode with multiple architectures when we have no well-defined object file locations to give to clients.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading