aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/filesystem.hxx
AgeCommit message (Collapse)AuthorFilesLines
2021-11-23Add support for dynamic dependencies in ad hoc Buildscript recipesBoris Kolpackov1-0/+29
Specifically, add the new `depdb dyndep` builtin that can be used to extract dynamic dependencies from a program run or a file. For example: obje{hello.o}: cxx{hello} {{ s = $path($<[0]) depdb dyndep $cxx.poptions $cc.poptions --what=header --default-prereq-type=h -- $cxx.path $cxx.poptions $cc.poptions $cxx.mode -M -MG $s diag c++ ($<[0]) o = $path($>) $cxx.path $cxx.poptions $cc.poptions $cc.coptions $cxx.coptions $cxx.mode -o $o -c $s }} Currently only the `make` dependency format is supported.
2021-09-28Adapt to libbutl headers extension change from .mxx to .hxxKaren Arutyunov1-3/+3
2020-11-02Set executable bit for ad hoc buildscript rule executable target on POSIXKaren Arutyunov1-0/+10
2020-08-26Add missing symbol exportsBoris Kolpackov1-1/+1
2020-08-17Add mvfile() filesystem utility functionBoris Kolpackov1-0/+5
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-08-23Introduce notion of build contextBoris Kolpackov1-27/+28
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-01Split build system into library and driverBoris Kolpackov1-0/+182