aboutsummaryrefslogtreecommitdiff
path: root/odb/options.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-11-09 14:52:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-11-09 14:52:34 +0200
commit1b2da148946713f57dfe883c25953c488889e5a9 (patch)
tree31740f00d3118acf981726b97354cd205c8f77cb /odb/options.cli
parentedae7d98cfac5f55782236d397c831f68ebe11a6 (diff)
Add support for standard and custom ODB compilation prologues and epilogues
Diffstat (limited to 'odb/options.cli')
-rw-r--r--odb/options.cli18
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