From b0cbea713f15e511630d2626c4694f119206dc94 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 4 Oct 2009 10:04:34 +0200 Subject: Add options for various include settings --include-with-brackets --include-prefix --guard-prefix --- cli/options.cxx | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'cli/options.cxx') diff --git a/cli/options.cxx b/cli/options.cxx index c38ca35..803e22b 100644 --- a/cli/options.cxx +++ b/cli/options.cxx @@ -171,7 +171,10 @@ options (int argc, output_dir_ (), hxx_suffix_ (".hxx"), ixx_suffix_ (".ixx"), - cxx_suffix_ (".cxx") + cxx_suffix_ (".cxx"), + include_with_brackets_ (), + include_prefix_ (), + guard_prefix_ () { _parse (1, argc, argv, opt, arg); } @@ -188,7 +191,10 @@ options (int start, output_dir_ (), hxx_suffix_ (".hxx"), ixx_suffix_ (".ixx"), - cxx_suffix_ (".cxx") + cxx_suffix_ (".cxx"), + include_with_brackets_ (), + include_prefix_ (), + guard_prefix_ () { _parse (start, argc, argv, opt, arg); } @@ -205,7 +211,10 @@ options (int argc, output_dir_ (), hxx_suffix_ (".hxx"), ixx_suffix_ (".ixx"), - cxx_suffix_ (".cxx") + cxx_suffix_ (".cxx"), + include_with_brackets_ (), + include_prefix_ (), + guard_prefix_ () { end = _parse (1, argc, argv, opt, arg); } @@ -223,7 +232,10 @@ options (int start, output_dir_ (), hxx_suffix_ (".hxx"), ixx_suffix_ (".ixx"), - cxx_suffix_ (".cxx") + cxx_suffix_ (".cxx"), + include_with_brackets_ (), + include_prefix_ (), + guard_prefix_ () { end = _parse (start, argc, argv, opt, arg); } @@ -252,6 +264,12 @@ struct _cli_options_map_init &::cli::thunk; _cli_options_map_["--cxx-suffix"] = &::cli::thunk; + _cli_options_map_["--include-with-brackets"] = + &::cli::thunk; + _cli_options_map_["--include-prefix"] = + &::cli::thunk; + _cli_options_map_["--guard-prefix"] = + &::cli::thunk; } } _cli_options_map_init_; -- cgit v1.1