Skip to content
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.

Latest commit

 

History

History
38 lines (26 loc) · 1.16 KB

library_projects.rst

File metadata and controls

38 lines (26 loc) · 1.16 KB

Defining Library Projects

Library projects define a project which contains common functionality you want to share between multiple projects.

Generated projects

Library projects always generate appropriate projects such that other executable projects on the platform can refer and use them.

The appropriate information to reference library projects on any platform is automatically determined by Protobuild, so you don't need to provide any additional information other than the library name when referencing it.

Basic structure

The smallest definition for an library project you can have is shown below.

.. literalinclude:: example/library_minimal.xml
    :language: xml
    :emphasize-lines: 2

The presence of Type="Library" ensures this project is an library project.

Common sections

All of the sections for library projects are identical to those found in application projects. Refer to the following sections under the :doc:`application_projects` documentation: