aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/in/rule.cxx
AgeCommit message (Collapse)AuthorFilesLines
2022-11-09Improve low-level diagnostics in `in` rule (and derived)Boris Kolpackov1-1/+29
2022-11-08Tighten args const-ness in the run*() function familyBoris Kolpackov1-3/+0
2022-10-27Initial work on child process diagnostics bufferingBoris Kolpackov1-0/+3
Currently this is implemented for C/C++ compile and link rules.
2022-09-02Add ability to specify `in` rule substitution as key-value pairsBoris Kolpackov1-9/+38
2022-09-02Rename in.substitution variable to in.modeBoris Kolpackov1-1/+1
The original name is still recognized for backwards compatibility.
2022-04-06Add support for rule hintsBoris Kolpackov1-1/+1
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.
2022-02-07Use target::as instead of static_cast everywhereBoris Kolpackov1-2/+2
2022-01-20Add in::rule::perform_update_{pre,post}() hooksBoris Kolpackov1-9/+31
Also fix bug in depdb line parsing.
2021-11-29Fix bug in in::ruleBoris Kolpackov1-2/+2
2021-11-24Add ability to add extra depdb entries in in::ruleBoris Kolpackov1-0/+9
2021-11-03Add line processing customization hook to in::ruleBoris Kolpackov1-133/+197
2021-03-08Fix 'in' module to preserve line endingsKaren Arutyunov1-4/+29
2020-10-15Add ability to specify fallback value for NULL substitutions with in.nullBoris Kolpackov1-10/+35
2020-07-02Hopefully fix flaky permission denied in `in` module on WindowsBoris Kolpackov1-1/+9
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-11-15Use path_name_view in location and path_name_value in location_valueKaren Arutyunov1-2/+2
2019-08-23Introduce notion of build contextBoris Kolpackov1-4/+4
All non-const global state is now in class context and we can now have multiple independent builds going on at the same time.
2019-08-12Use new fdstream constructorBoris Kolpackov1-1/+1
2019-07-24Move in build system module to separate libraryBoris Kolpackov1-0/+485