From 8eef1041c8c28a3c4c0528c072a431db2886764b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 11 Jan 2016 10:07:12 +0200 Subject: Add support for --output-{prefix,suffix} options --- cli/header.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cli/header.cxx') diff --git a/cli/header.cxx b/cli/header.cxx index e2aebd4..4286df6 100644 --- a/cli/header.cxx +++ b/cli/header.cxx @@ -288,7 +288,10 @@ namespace traverse (semantics::cli_includes& i) { generate (i.kind (), - i.file ().base ().string () + options.hxx_suffix ()); + (options.output_prefix () + + i.file ().base ().string () + + options.output_suffix () + + options.hxx_suffix ())); } void -- cgit v1.1