diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-11-28 13:47:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-11-28 13:47:35 +0200 |
commit | 77d6727eddc64a95ccbdf87984e22270fce61b35 (patch) | |
tree | 8c119200e3e6c70c9a158a4212b4c93565a0bba9 /odb/options.cli | |
parent | 9ad0acf37561de9bf359a561faed53de17c2ca3b (diff) |
Add support for DLL exporting of generated code
New options: --export-symbol, --extern-symbol.
Diffstat (limited to 'odb/options.cli')
-rw-r--r-- | odb/options.cli | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/odb/options.cli b/odb/options.cli index 3c7efa8..42acad7 100644 --- a/odb/options.cli +++ b/odb/options.cli @@ -230,6 +230,25 @@ class options then you should include it into the prefix value." }; + // Export control. + // + std::string --export-symbol + { + "<symbol>", + "Insert <symbol> in places where DLL export/import control statements + (\cb{__declspec(dllexport/dllimport)}) are necessary. See also the + \cb{--extern-symbol} option below." + }; + + std::string --extern-symbol + { + "<symbol>", + "If <symbol> is defined, insert it in places where a template + instantiation must be declared \cb{extern}. This option is normally + used together with \cb{--export-symbol} when both multi-database + support and queries are enabled." + }; + // Language. // cxx_version --std = cxx_version::cxx98 |