aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-05-27Fix to compile with ClangKaren Arutyunov1-1/+3
2020-05-27Make build script variable pool local to execution environmentBoris Kolpackov5-65/+53
2020-05-27Add dump(ostream,script::lines) (partial implementation)Karen Arutyunov16-28/+199
2020-05-27Add build scriptKaren Arutyunov35-0/+3330
2020-05-27Factor out generic script parsing/executing functionality from ↵Karen Arutyunov51-7546/+8304
build2::test::script namespace
2020-05-27Add support for recipe location updateBoris Kolpackov3-61/+83
2020-05-27Support for the nested build caseBoris Kolpackov3-34/+56
2020-05-27Implement ad hoc recipe sharing and lockingBoris Kolpackov11-150/+270
2020-05-27Add support for custom constructors in ad hoc C++ recipesBoris Kolpackov1-12/+66
2020-05-27Support for cleaning up recipe buildsBoris Kolpackov4-6/+83
2020-05-27Initial support for ad hoc C++ recipesBoris Kolpackov13-220/+673
2020-05-27Generalize to adhoc_rule/adhoc_script_ruleBoris Kolpackov6-118/+180
2020-05-27Use recipe data in ad hoc ruleBoris Kolpackov4-92/+95
2020-05-27Initial support for parsing and dumping recipesBoris Kolpackov9-141/+709
2020-05-27Handle multi-curly-brace tokens in lexerBoris Kolpackov8-45/+306
2020-05-27Add lexer mode dataBoris Kolpackov4-6/+9
2020-05-27WIPBoris Kolpackov2-8/+147
2020-05-27Add recognition for line-leading `%` as tokenBoris Kolpackov8-28/+104
2020-05-27WIPBoris Kolpackov4-14/+89
2020-05-27Add ad hoc recipes plumbingBoris Kolpackov6-7/+78
2020-05-27Improve ternary diagnostics with info for wildcard pattern escapeBoris Kolpackov1-2/+13
2020-05-27Suppress skip count diagnostics if no progress was requestedBoris Kolpackov1-2/+5
2020-05-27Fix unregistered .regex file cleanup error in testscriptKaren Arutyunov1-1/+5
2020-05-27Amalgamation cutoff supportBoris Kolpackov8-66/+200
Now a project that disables amalgamation will not logically "see" an outer project even if it's physically inside its scope.
2020-05-27Use location_value in module_stateBoris Kolpackov2-4/+4
2020-05-22Get rid of now deprecated std::is_pod usageBoris Kolpackov2-9/+18
2020-05-22Fix bug in previous commitBoris Kolpackov1-1/+1
2020-05-22Make template definition available in all translation units where usedBoris Kolpackov5-30/+40
We were trying to be clever but GCC 10's IPA-SRA optimization didn't like it.
2020-05-01Fix outstanding issue with directive vs assignment differentiationBoris Kolpackov4-16/+65
Specifically, now the following does the right thing: print +foo
2020-04-30Verify path set by {src,out}-root.build files is absoluteBoris Kolpackov4-38/+56
2020-04-30Rename target::member to target::adhoc_memberBoris Kolpackov8-26/+34
2020-04-30Factor recipe to separate header/source filesBoris Kolpackov8-58/+86
2020-04-27Get rid of warningsBoris Kolpackov3-21/+32
2020-04-27Rework tool importation along with cli moduleBoris Kolpackov38-595/+1624
Specifically, now config.<tool> (like config.cli) is handled by the import machinery (it is like a shorter alias for config.import.<tool>.<tool>.exe that we already had). And the cli module now uses that instead of custom logic. This also adds support for uniform tool metadata extraction that is handled by the import machinery. As a result, a tool that follows the "build2 way" can be imported with metadata by the buildfile and/or corresponding module without any tool-specific code or brittleness associated with parsing --version or similar outputs. See the cli tool/module for details. Finally, two new flavors of the import directive are now supported: import! triggers immediate importation skipping any rule-specific logic while import? is optional import (analogous to using?). Note that optional import is always immediate. There is also the import-specific metadata attribute which can be specified for these two import flavors in order to trigger metadata importation. For example: import? [metadata] cli = cli%exe{cli} if ($cli != [null]) info "cli version $($cli:cli.version)"
2020-04-27Add utility config::{assign,append}_config() functionsBoris Kolpackov1-1/+43
2020-04-27Require explicit variable type in scope::{assign,append}()Boris Kolpackov2-30/+44
2020-04-27Make rule non-copyableBoris Kolpackov1-0/+5
2020-04-27Add support for untyped assignment to valueBoris Kolpackov2-1/+19
2020-04-27Add another search_existing() overloadBoris Kolpackov2-0/+19
2020-04-27Don't switch projects when switching scopes during bootstrapBoris Kolpackov5-30/+47
2020-04-27Add inject() for injecting additional dependencies during matchBoris Kolpackov2-0/+14
2020-04-27Fix assertion failure when name extension pattern is usedKaren Arutyunov1-0/+4
2020-04-16Fix crashing on unhandled io_error thrown by depdb::flush()Karen Arutyunov1-0/+9
2020-04-13Add ../share/pkgconfig/ search directory by default on LinuxBoris Kolpackov2-10/+20
2020-04-11Pass LC_ALL=C when extracting locale-dependent information in bin module on ↵Karen Arutyunov2-10/+50
POSIX
2020-04-10Replace build-email manifest value with build-warning-emailKaren Arutyunov1-1/+1
2020-04-08Proofreading fixes to manualBoris Kolpackov1-11/+11
2020-04-08Allow configuration variables in unnamed projectsBoris Kolpackov2-13/+40
While generally a bad idea, there are valid situations where this may happen, such as a standalone build of the tests subproject in test-installed.
2020-04-08Document project-specific configuration supportBoris Kolpackov3-20/+778
2020-04-07Pass LC_ALL=C when extracting locale-dependent information on POSIXBoris Kolpackov5-26/+117