diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-11 10:07:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-11 10:07:12 +0200 |
commit | 8eef1041c8c28a3c4c0528c072a431db2886764b (patch) | |
tree | 59e44885f9a9085415fd549e5d4393b6de8fb231 /cli/header.cxx | |
parent | 67a2efeebcbbb8e6babd912e203f58b3eddfca8f (diff) | |
download | cli-8eef1041c8c28a3c4c0528c072a431db2886764b.tar.gz cli-8eef1041c8c28a3c4c0528c072a431db2886764b.tar.xz cli-8eef1041c8c28a3c4c0528c072a431db2886764b.zip |
Add support for --output-{prefix,suffix} options
Diffstat (limited to 'cli/header.cxx')
-rw-r--r-- | cli/header.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
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 |