aboutsummaryrefslogtreecommitdiff
path: root/build2/cc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-03-02 11:23:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-03-02 14:03:55 +0200
commite45345eeee4db91644a58842267393ff2df19fe2 (patch)
tree2579753e5e63da815cfceeb3c9b559935b7cdd36 /build2/cc
parent705e806eb94b743ba962080c4b397d9b32af4a50 (diff)
Fix unit test code generation
Diffstat (limited to 'build2/cc')
-rw-r--r--build2/cc/compile.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx
index f202ba1..6493c61 100644
--- a/build2/cc/compile.cxx
+++ b/build2/cc/compile.cxx
@@ -516,9 +516,9 @@ namespace build2
{
tracer trace (x, "compile::append_prefixes");
- // If this target does not belong to any project (e.g, an
- // "imported as installed" library), then it can't possibly
- // generate any headers for us.
+ // If this target does not belong to any project (e.g, an "imported as
+ // installed" library), then it can't possibly generate any headers for
+ // us.
//
const scope* rs (t.base_scope ().root_scope ());
if (rs == nullptr)
@@ -554,8 +554,7 @@ namespace build2
l6 ([&]{trace << "-I '" << d << "'";});
- // If we are relative or not inside our project root, then
- // ignore.
+ // If we are relative or not inside our project root, then ignore.
//
if (d.relative () || !d.sub (out_root))
continue;