Age | Commit message (Collapse) | Author | Files | Lines |
|
These abstract base target types are meant for deriving additional target
types (for example, Qt moc{}) that can be #include'd in C and C++ translation
units, respectively. In particular, only such targets will be considered to
reverse-lookup extensions to target types (see dyndep_rule::map_extension()
for background).
|
|
Specifically, the c module now provides the c.as-cpp submodules which can be
loaded in order to register the S{} target type and enable Assembler with C
Preprocessor compilation in the c compile rule. For details, refer to
"Assembler with C Preprocessor Compilation" in the manual.
|
|
|
|
A rule hint is a target attribute, for example:
[rule_hint=cxx] exe{hello}: c{hello}
Rule hints can be used to resolve ambiguity when multiple rules match the same
target as well as to override an unambiguous match.
|
|
The common .pc file is produced by ignoring any static/shared-specific
poptions and splitting loptions/libs into Libs/Libs.private.
It is "best effort", in a sense that it's not guaranteed to be sufficient in
all cases, but it will probably cover the majority of cases, even on Windows,
thanks to automatic dllimport'ing of functions.
|
|
|
|
|