diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-20 13:01:46 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-20 13:01:46 +0200 |
commit | a82cdb8fd9ba02034d296769772cdf81244da66a (patch) | |
tree | 2cd5fb0211984716780ce5fad18c19d7c4d9a794 /build/cxx/rule.cxx | |
parent | c775a7f28a56ef96f097e677434eceec9d8f2cdf (diff) |
Automatically decide when to print relative/absolute paths
Diffstat (limited to 'build/cxx/rule.cxx')
-rw-r--r-- | build/cxx/rule.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/cxx/rule.cxx b/build/cxx/rule.cxx index a8a869f..963ecb1 100644 --- a/build/cxx/rule.cxx +++ b/build/cxx/rule.cxx @@ -278,7 +278,7 @@ namespace build assert (f.absolute ()); // Logic below depends on this. - level5 ([&]{trace << "prerequisite path: " << f.string ();}); + level5 ([&]{trace << "prerequisite path: " << f;}); // Split the name into its directory part, the name part, and // extension. Here we can assume the name part is a valid @@ -383,7 +383,7 @@ namespace build args.push_back (nullptr); - if (verb >= 1) + if (verb) print_process (args); else text << "c++ " << *s; @@ -758,7 +758,7 @@ namespace build args.push_back (nullptr); - if (verb >= 1) + if (verb) print_process (args); else text << "ld " << t; |