aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/bin/rule.hxx
AgeCommit message (Collapse)AuthorFilesLines
5 daysOnly install runtime part of static library prerequisites of share libraries ↵Boris Kolpackov1-0/+21
(GH issue #448)
2022-12-01Fix corner case in distributing via obj{}, libul{} groupsBoris Kolpackov1-2/+12
2022-06-24Make libul{} rule match without hintBoris Kolpackov1-14/+7
In the end, the extra jumping through the hoops doesn't justify the extra safety we gain. The only plausible accidental mistake is making libul{} a dependency of ./ but then we don't prevent the same for libue{}, which also doesn't make much sense. Though, the consequences of doing this for libul{} could be more severe, like messed up for-install'ness. Oh, well, I guess people will just have to pay attention (this could be a good check for the linter we've been thinking about).
2022-06-24Match rule to libul{} with explicit bin.metadata hintBoris Kolpackov1-6/+20
This rule picks, matches, and unmatches (if possible) a member for the purpose of making its metadata (for example, library's poptions, if it's one of the cc libraries) available.
2022-04-06Add support for rule hintsBoris Kolpackov1-3/+3
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.
2021-01-11Fix libul{} rule diagnosticsBoris Kolpackov1-4/+19
2020-07-13Add ability to extend rule interface in source-compatible mannerBoris Kolpackov1-2/+2
2020-06-16Move common functionality from cc to binBoris Kolpackov1-12/+0
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-08-28Move bin build system module to separate libraryKaren Arutyunov1-0/+65