Age | Commit message (Collapse) | Author | Files | Lines |
|
Redesign library importing/exporting while at it.
|
|
|
|
A library dependency on another libraries is either "interface" or
"implementation". If it is interface, then everyone who links to this library
should also link to the interface dependency, explicitly. A good example of
an interface dependency is a library API that is called in inline functions.
Interface dependencies of a library should be explicitly listed in the
*.export.libs (where we can also list target names). So the typical usage
will be along these lines:
import int_libs = libfoo%lib{foo}
import int_libs += ...
import imp_libs = libbar%lib{bar}
import imp_libs += ...
lib{baz}: ... $int_libs $imp_libs
lib{baz}: cxx.export.libs = $int_libs
|
|
|
|
We are going to use cc.config for something else.
|
|
|
|
|
|
We now have two new modules: cc (c-common) and c.
|