diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-10-26 19:07:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-10-26 19:07:42 +0200 |
commit | 296575ba025ded840304c1e3b6365a6b6ee7ea48 (patch) | |
tree | da8ecb3dfc8178b7ddf00c51a21fbe8d375cd435 /build2/utility.hxx | |
parent | 1dba8a7b279c857e9c13cbd6496849f5501e9944 (diff) |
Add config.{c,cxx}.{id,version,target} configuration variables
These variables allow overriding guessed compiler id/version/target, for
example, in case of mis-guesses or when working with compilers that don't
report their base (e.g., GCC, Clang) with -v/--version (common in the
embedded space).
Diffstat (limited to 'build2/utility.hxx')
-rw-r--r-- | build2/utility.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build2/utility.hxx b/build2/utility.hxx index cc34d59..b75cb5a 100644 --- a/build2/utility.hxx +++ b/build2/utility.hxx @@ -280,7 +280,9 @@ namespace build2 // // The predicate can move the value out of the passed string but, if error // is false, only in case of a "content match" (so that any diagnostics - // lines are left intact). + // lines are left intact). The function signature should be: + // + // T (string& line, bool last) // // If ignore_exit is true, then the program's exist status is ignored (if it // is false and the program exits with the non-zero status, then an empty T |