aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/build/script/script.cxx
AgeCommit message (Collapse)AuthorFilesLines
2023-05-29Explicit group: static membersBoris Kolpackov1-4/+20
2022-10-13Add support for 'for' loop second (... | for x) and third (for x <...) forms ↵Karen Arutyunov1-1/+1
in script
2022-10-10Preparatory work for public/private variable distinctionBoris Kolpackov1-2/+4
We still always use the public var_pool from context but where required, all access now goes through scope::var_pool().
2022-05-23Cache build.host value in contextBoris Kolpackov1-1/+1
2022-03-02Add update operation-specific variable with unmatch|match additional valuesBoris Kolpackov1-1/+1
Note that the unmatch (match but do not update) and match (update during match) values are only supported by certain rules (and potentially only for certain prerequisite types). Additionally: - All operation-specific variables are now checked for false as an override for the prerequisite-specific include value. In particular, this can now be used to disable a prerequisite for update, for example: ./: exe{test}: update = false - The cc::link_rule now supports the update=match value for headers and ad hoc prerequisites. In particular, this can be used to make sure all the library headers are updated before matching any of its (or dependent's) object files.
2022-01-18Add dynamic prerequisites to $< unless --adhoc is specifiedBoris Kolpackov1-17/+25
Also add a few tests for depdb-dyndep.
2021-09-28Adapt to libbutl headers extension change from .mxx to .hxxKaren Arutyunov1-1/+1
2020-12-11Prefix pseudo-builtin diagnostincs messages with their namesKaren Arutyunov1-2/+3
2020-12-02Add support for buildscript depdb preambleKaren Arutyunov1-5/+12
2020-11-06Add support for test timeoutsKaren Arutyunov1-2/+26
2020-05-27Initial support for ad hoc recipes (still work in progress)Boris Kolpackov1-0/+236