From f18e7bfae2e4dbf28e45da176e3836232484dd92 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 20 Jan 2011 16:02:41 +0200 Subject: Implement support for profiles New option: --profile/-p. --- odb/options.cli | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'odb/options.cli') diff --git a/odb/options.cli b/odb/options.cli index 80407b0..9acc6f3 100644 --- a/odb/options.cli +++ b/odb/options.cli @@ -281,9 +281,23 @@ class options preprocessor macro name are replaced with underscores." }; - // This is a "fake" option in that it is actually handled by - // argv_file_scanner. We have it here to get the documentation. + // The following two options are "fake" in that they are actually handled + // by argv_file_scanner. We have them here to get the documentation. // + std::string --profile|-p + { + "", + "Specify a profile that should be used during compilation. + Profile is an options file with the name constructed by appending + the \cb{.options} suffix to . It is searched for in the + same set of directories as C++ headers included with the + \cb{#include <...>} directive (built-in paths plus those specified + with the \cb{-I} options). The options file is first searched for + in the directory itself and then in its \cb{odb/} subdirectory. For + format of the options file refer to the \cb{--options-file} option + below. You can repeat this option to specify more than one profile." + }; + std::string --options-file { "", @@ -300,8 +314,8 @@ class options The semantics of providing options in a file is equivalent to providing the same set of options in the same order on the command line at the point where the \cb{--options-file} option is specified except that - the shell escaping and quoting is not required. Repeat this option - to specify more than one options file." + the shell escaping and quoting is not required. You can repeat this + option to specify more than one options file." }; std::vector -x -- cgit v1.1