From 77d6727eddc64a95ccbdf87984e22270fce61b35 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 28 Nov 2012 13:47:35 +0200 Subject: Add support for DLL exporting of generated code New options: --export-symbol, --extern-symbol. --- odb/options.cli | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'odb/options.cli') 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 + { + "", + "Insert 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 + { + "", + "If 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 -- cgit v1.1