summaryrefslogtreecommitdiff
path: root/CC/foreign/EXPRESSIONS
AgeCommit message (Collapse)Author
2023-08-30foreign: Implement 'expand_exec' via POSIX shellOliver Reiche
... and coreutils by default. This has the advantage that no C compiler and no specific toolchain definition is required to build rule-internal tools. 'expand_exec' is provided via an implicit target with proper config transition for host, so it could be overwritten by the rule user. The C code of the previous implementation is still kept as an example.
2023-08-25foreign: Support defaults for foreign rulesOliver Reiche
2023-08-16rules: Propagate PATH list from defaultsOliver Reiche
... instead of creating an ENV from it and propagating this. The idea is to keep PATH entries separate and only join them with ":" when we need it. In this way, we can accumulate PATHs from multiple defaults later, and perform a deduplication ("nub_left") to shorten the final string length.
2023-07-10foreign: Support expanding env variables in optionsOliver Reiche
2023-01-26Support creating libraries from CMake projectOliver Reiche