diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-09 14:52:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-09 14:52:34 +0200 |
commit | 1b2da148946713f57dfe883c25953c488889e5a9 (patch) | |
tree | 31740f00d3118acf981726b97354cd205c8f77cb /odb/options.cli | |
parent | edae7d98cfac5f55782236d397c831f68ebe11a6 (diff) |
Add support for standard and custom ODB compilation prologues and epilogues
Diffstat (limited to 'odb/options.cli')
-rw-r--r-- | odb/options.cli | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/odb/options.cli b/odb/options.cli index 5d24f8a..8c9a965 100644 --- a/odb/options.cli +++ b/odb/options.cli @@ -218,6 +218,24 @@ class options schema file." }; + // ODB compilation prologue/epilogue. + // + std::vector<std::string> --odb-prologue + { + "<text>", + "Compile <text> before the input header file. This option allows you + to add additional declarations, such as custom traits specializations, + to the ODB compilation process." + }; + + std::vector<std::string> --odb-epilogue + { + "<text>", + "Compile <text> after the input header file. This option allows you + to add additional declarations, such as custom traits specializations, + to the ODB compilation process." + }; + // Include options. // bool --include-with-brackets |