aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/build/script/builtin-options.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-12-03 09:47:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-12-03 09:47:05 +0200
commit82e9227262a41bfa740952659b3b91d2d99e984e (patch)
treeb0ee458f8cb0fb28ac0aae9b1927331a1d80a94c /libbuild2/build/script/builtin-options.cxx
parentd9745e79083e12a2c3eb129a20fc20be3607a4c3 (diff)
Add depdb-dyndep --drop-cycles option
Diffstat (limited to 'libbuild2/build/script/builtin-options.cxx')
-rw-r--r--libbuild2/build/script/builtin-options.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/libbuild2/build/script/builtin-options.cxx b/libbuild2/build/script/builtin-options.cxx
index f66fe47..dc54194 100644
--- a/libbuild2/build/script/builtin-options.cxx
+++ b/libbuild2/build/script/builtin-options.cxx
@@ -413,7 +413,8 @@ namespace build2
default_type_ (),
default_type_specified_ (false),
cwd_ (),
- cwd_specified_ (false)
+ cwd_specified_ (false),
+ drop_cycles_ ()
{
}
@@ -511,6 +512,8 @@ namespace build2
_cli_depdb_dyndep_options_map_["--cwd"] =
&::build2::build::script::cli::thunk< depdb_dyndep_options, dir_path, &depdb_dyndep_options::cwd_,
&depdb_dyndep_options::cwd_specified_ >;
+ _cli_depdb_dyndep_options_map_["--drop-cycles"] =
+ &::build2::build::script::cli::thunk< depdb_dyndep_options, bool, &depdb_dyndep_options::drop_cycles_ >;
}
};