Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-08-16 | Redo modules map as vector | Boris Kolpackov | 1 | -10/+10 | |
2020-07-13 | Add ability to extend rule interface in source-compatible manner | Boris Kolpackov | 1 | -1/+1 | |
2020-05-27 | Initial support for ad hoc recipes (still work in progress) | Boris Kolpackov | 1 | -1/+2 | |
2020-04-27 | Rework tool importation along with cli module | Boris Kolpackov | 6 | -283/+231 | |
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-03-31 | Switch to project variable visibility by default | Boris Kolpackov | 1 | -6/+4 | |
2020-03-17 | Rework config::{omitted,required,optional}() into unified config_lookup() | Boris Kolpackov | 1 | -19/+20 | |
2020-03-11 | Minor config variable lookup cleanups | Boris Kolpackov | 1 | -3/+3 | |
2020-02-07 | Drop copyright notice from source code | Karen Arutyunov | 6 | -6/+0 | |
2020-01-29 | Rename module_base to module, redo module boot/init argument passing | Boris Kolpackov | 1 | -7/+3 | |
2020-01-28 | Use scope::var_pool() | Boris Kolpackov | 1 | -7/+7 | |
2020-01-28 | Use scope::insert_rule() | Boris Kolpackov | 1 | -8/+6 | |
2020-01-27 | Improve module loading API | Boris Kolpackov | 1 | -1/+1 | |
2019-10-14 | Implement MSVC installation discovery for version 15 (2017) and later | Karen Arutyunov | 1 | -1/+1 | |
In particular, this removes the requirement to build from the Visual Studio command prompt. Note that since MSVC compiler binaries are target-specific (i.e., there are no -m32/-m64 options nor something like /MACHINE), in this case we default to a 64-bit build (a 32-bit build can still be achieved by running from a suitable command prompt). Finally, this mechanism is also used to find Clang bundled with MSVC. | |||||
2019-08-28 | Add build2_cli_load() | Karen Arutyunov | 2 | -17/+25 | |
2019-08-28 | Move cxx build system module to separate library | Karen Arutyunov | 2 | -2/+2 | |
2019-08-26 | Make target types project-wide | Boris Kolpackov | 1 | -5/+4 | |
2019-08-23 | Introduce notion of build context | Boris Kolpackov | 3 | -11/+12 | |
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-07-05 | Move config, dist, test, and install modules into library | Karen Arutyunov | 1 | -2/+2 | |
2019-07-01 | Split build system into library and driver | Boris Kolpackov | 6 | -21/+21 | |
2019-06-19 | Improve diagnostics | Boris Kolpackov | 1 | -3/+3 | |
2019-06-05 | Tweak generated header heuristics, add more diagnostics | Boris Kolpackov | 1 | -1/+1 | |
2019-04-08 | Support for --dry-run|-n mode, perform update part | Boris Kolpackov | 1 | -3/+5 | |
2019-01-16 | Update copyright year | Karen Arutyunov | 6 | -6/+6 | |
2018-11-28 | Add --[no-]mtime-check options to control this behavior at runtime | Boris Kolpackov | 1 | -1/+1 | |
By default the checks are enabled only for the staged toolchain. | |||||
2018-11-22 | Make backwards modification time check permanent, add another experiment | Boris Kolpackov | 1 | -8/+9 | |
2018-11-19 | Finalize workaround for backwards modification time issue | Boris Kolpackov | 1 | -1/+1 | |
2018-11-05 | Only search for external tools (compilers, linkers, etc) in PATH | Boris Kolpackov | 1 | -1/+7 | |
Specifically, omit the current executable's directory on Windows since there is no reason for them to be found there automagically and this can lead to surprising behavior (for example, our MinGW GCC being used instead of the user's even though the user's is in PATH before ours). | |||||
2018-10-19 | Suggest override variable (config.x) when tool is not found | Boris Kolpackov | 1 | -2/+4 | |
2018-07-30 | Fortify cli detection against "other" cli's (like Mono JIT compiler) | Boris Kolpackov | 1 | -12/+25 | |
2018-07-16 | Implement in module | Boris Kolpackov | 1 | -2/+2 | |
Given test.in containing something along these lines: foo = $foo$ Now we can do: using in file{test}: in{test.in} file{test}: foo = FOO The alternative variable substitution symbol can be specified with the in.symbol variable and lax (instead of the default strict) mode with in.substitution. For example: file{test}: in.symbol = '@' file{test}: in.substitution = lax | |||||
2018-06-29 | Use depdb to track changes to cli compiler, options, etc | Boris Kolpackov | 2 | -22/+88 | |
2018-06-28 | Implement support for excluded and ad hoc prerequisites | Boris Kolpackov | 1 | -41/+36 | |
The inclusion/exclusion is controlled via the 'include' prerequisite-specific variable. Valid values are: false - exclude true - include adhoc - include but treat as an ad hoc input For example: lib{foo}: cxx{win32-utility}: include = ($cxx.targe.class == 'windows') exe{bar}: libs{plugin}: include = adhoc | |||||
2018-05-19 | Update copyright year | Karen Arutyunov | 6 | -6/+6 | |
2018-02-07 | Initial work for default update outer operation | Boris Kolpackov | 2 | -3/+5 | |
While update still uses the old "all update rules update all their prerequisites" assumption, test and install have been fixed not to rely on this. | |||||
2018-02-03 | Get rid of action rule override semantics | Boris Kolpackov | 5 | -14/+14 | |
Instead we now have two more or less separate match states for outer and inner parts of an action. | |||||
2017-12-17 | Trace non-zero process exit code | Boris Kolpackov | 1 | -1/+3 | |
Also convert to using operator<<(ostream,process_exit). | |||||
2017-12-16 | Improve process execution diagnostics by reusing run_*() API | Boris Kolpackov | 2 | -18/+4 | |
2017-12-07 | Distinguish between "fixed" and "default" target extensions | Boris Kolpackov | 1 | -10/+9 | |
This fixes wrong merging of, say, file{README} and file{README.MySQL} (in libmysqlclient). | |||||
2017-11-24 | Fix few bugs in generated header path remapping logic | Boris Kolpackov | 1 | -1/+1 | |
2017-08-23 | Add perform_clean_group(), use instead of ad hoc implementation in cli rule | Boris Kolpackov | 2 | -33/+1 | |
2017-08-05 | Add note | Boris Kolpackov | 1 | -0/+2 | |
2017-05-01 | Add hxx extension for headers | Karen Arutyunov | 6 | -40/+40 | |
2017-04-28 | Implement support for pre-processing version headers (or other files) | Boris Kolpackov | 1 | -14/+14 | |
Also implement the build system version check. | |||||
2017-04-27 | Pass target to prerequisite search | Boris Kolpackov | 2 | -5/+8 | |
2017-04-10 | Adapt to process_error change | Karen Arutyunov | 2 | -2/+2 | |
2017-03-10 | Implement support for wildcard patterns | Boris Kolpackov | 1 | -0/+2 | |
2017-03-03 | Fix cli distribution via group | Boris Kolpackov | 2 | -18/+17 | |
2017-03-02 | Implement parallel match | Boris Kolpackov | 4 | -81/+51 | |
2017-02-13 | Tighten target constness further | Boris Kolpackov | 3 | -30/+20 | |
2017-02-13 | Use target:as<> instead of static_cast for target casting | Boris Kolpackov | 2 | -3/+5 | |