Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
project = 'Common Package Specification'
copyright = '2024, Matthew Woehlke'

version_info = (0, 13, 0)
version_info = (0, 14, 0)
release = '.'.join(map(str, version_info))
version = '.'.join(map(str, version_info[:2]))

Expand Down
17 changes: 17 additions & 0 deletions schema.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,23 @@ Attribute names are case sensitive.
depending on the language of the consuming source file.
Handling of such shall be the same as for `definitions`_.

.. ----------------------------------------------------------------------------
.. cps:attribute:: compile_requires
:type: list(string)
:context: component configuration

Specifies additional components required by a component
which are needed only at the compile stage.
Unlike `requires (component)`_,
only the required components' compilation-related attributes
should be applied transitively;
link requirements of the required component(s) should be ignored.

This is especially useful for libraries
whose interfaces rely on the data types of a dependency
but do not expose linkable symbols of that dependency,
or which dynamically load the dependency at run-time.

.. ----------------------------------------------------------------------------
.. cps:attribute:: components
:type: map(component)
Expand Down