aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/utility.ixx
AgeCommit message (Collapse)AuthorFilesLines
2022-11-08Restore original error/ignore_exit semantics in run<>() overloadsBoris Kolpackov1-30/+22
2022-11-08Make process exit diagnostics consistentBoris Kolpackov1-15/+114
In particular, we now always print error message on non-0 exit except in cases where such exit is ignored.
2022-11-08Tighten args const-ness in the run*() function familyBoris Kolpackov1-2/+2
2022-11-08More work on child process diagnostics bufferingBoris Kolpackov1-9/+119
2021-04-22Add another hash/save_environment() overloadBoris Kolpackov1-0/+15
2021-04-20Track changes to environment in cc rulesBoris Kolpackov1-0/+67
2020-08-12Add iterator-based versions of find_option{,_prefix}Matthew Krupcale1-0/+48
This allows one to use all of the properties of iterators to manipulate the found option.
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2020-01-27Improve process run_*() APIBoris Kolpackov1-0/+39
2019-10-19Add find_stem() utility functionBoris Kolpackov1-0/+21
2019-10-18Add ability to specify "compiler mode" options as part of config.{c,cxx}Boris Kolpackov1-4/+4
Such options are (normally) not overridden by buildfiles and are passed last (after cc.coptions and {c,cxx}.coptions) in the resulting command lines. They are also cross-hinted between config.c and config.cxx. For example: $ b config.cxx="g++ -m64"
2019-10-14Implement MSVC installation discovery for version 15 (2017) and laterKaren Arutyunov1-6/+6
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-07-01Split build system into library and driverBoris Kolpackov1-0/+155