diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-04-05 07:26:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-04-05 07:26:09 +0200 |
commit | 46a95c974de475070d0eedb07212e5c5282b66bd (patch) | |
tree | 687d232cb775f0840c50a9c64bf96d3a16e6f4f3 /build2/file | |
parent | 5c369faa461ec4416d2d4b231a5b36963a7315ce (diff) |
Implement --buildfile option, overrides default buildfile, supports '-'
Diffstat (limited to 'build2/file')
-rw-r--r-- | build2/file | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/build2/file b/build2/file index b198557..00ece85 100644 --- a/build2/file +++ b/build2/file @@ -49,11 +49,13 @@ namespace build2 dir_path find_out_root (const dir_path&, bool* src = nullptr); + // If buildfile is '-', then read from STDIN. + // void source (const path& buildfile, scope& root, scope& base); - // As above but first check if this buildfile has already been - // sourced for the base scope. + // As above but first check if this buildfile has already been sourced for + // the base scope. // void source_once (const path& buildfile, scope& root, scope& base); |