diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-07-24 11:46:28 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-07-25 15:52:37 +0200 |
commit | f8d12beb459041c15781f18a6b5a0928affb4e7c (patch) | |
tree | 802c51e13c5eddb2d923162c8b00ee535b903be0 /rules/CC/EXPRESSIONS | |
parent | a5a98b35fc9a710e723673946ea5c769274b9ddb (diff) | |
download | rules-cc-f8d12beb459041c15781f18a6b5a0928affb4e7c.tar.gz |
["CC", "library"] Add concept of components
... i.e., dependencies that are to be included into the library
itself. In this way, a large library (convenient for a user to have
single library to care about) can be defined as a collection of
smaller libraries.
Technically, components are like public dependencies on libraries
transitioned to object libraries with the following differences
- the header files (i.e., runfiles) of the components become header
files of the resulting libary, and
- the objects (i.e., artifacts) of the components become objects
of the library rather than link dependencies.
To achive the transfer of the object to the requesting library,
an object library can be instructed to drop the objects from the
link arguments; in order to continue to support tranditional object
libraries in the style of, e.g., cmake, this is done by a different
configuration variable that is transitioned as well. In particular,
the object-library test case (using a configure target) can be
left unchanged.
Diffstat (limited to 'rules/CC/EXPRESSIONS')
0 files changed, 0 insertions, 0 deletions