diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-04-25 13:54:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-04-25 13:54:33 +0200 |
commit | 48707e16dd0c8806e99387b0718a078ecf092f69 (patch) | |
tree | 399a66b22959531d7e3b9ee358f109fb29ebd981 /libbuild2/cmdline.hxx | |
parent | cdddf131403120ca73c83fa8a63da6e71ab3dae4 (diff) |
Rename cmdline to b_cmdline, and options to b_options
Diffstat (limited to 'libbuild2/cmdline.hxx')
-rw-r--r-- | libbuild2/cmdline.hxx | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/libbuild2/cmdline.hxx b/libbuild2/cmdline.hxx deleted file mode 100644 index 56e9510..0000000 --- a/libbuild2/cmdline.hxx +++ /dev/null @@ -1,44 +0,0 @@ -// file : libbuild2/cmdline.hxx -*- C++ -*- -// license : MIT; see accompanying LICENSE file - -#ifndef LIBBUILD2_CMDLINE_HXX -#define LIBBUILD2_CMDLINE_HXX - -#include <libbuild2/types.hxx> -#include <libbuild2/forward.hxx> -#include <libbuild2/utility.hxx> - -#include <libbuild2/b-options.hxx> -#include <libbuild2/diagnostics.hxx> - -#include <libbuild2/export.hxx> - -namespace build2 -{ - struct cmdline - { - strings cmd_vars; - string buildspec; - - // Processed/meged option values (unless --help or --version specified). - // - uint16_t verbosity = 1; - optional<bool> progress; - optional<bool> mtime_check; - optional<path> config_sub; - optional<path> config_guess; - size_t jobs = 0; - size_t max_jobs = 0; - optional<size_t> max_stack; - bool fcache_compress = true; - }; - - LIBBUILD2_SYMEXPORT cmdline - parse_cmdline (tracer&, - int argc, char* argv[], - options&, - uint16_t default_verbosity = 1, - size_t default_jobs = 0); -} - -#endif // LIBBUILD2_CMDLINE_HXX |