aboutsummaryrefslogtreecommitdiff
path: root/bdep/new.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-04-28 16:41:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-04-28 16:41:02 +0200
commitb2d5f82512d0118a0668ce02f1a0730c3dcd50b8 (patch)
treeb470b17e276a67164212065f164823aa30b5165f /bdep/new.cxx
parent77a9dc17b487123dc1aaf5c41b539d9abfe32dee (diff)
Implement auto-synchronization via build system hook
Diffstat (limited to 'bdep/new.cxx')
-rw-r--r--bdep/new.cxx13
1 files changed, 2 insertions, 11 deletions
diff --git a/bdep/new.cxx b/bdep/new.cxx
index a6074b8..85acad4 100644
--- a/bdep/new.cxx
+++ b/bdep/new.cxx
@@ -617,25 +617,16 @@ namespace bdep
if (ca || cc)
{
- optional<bool> cd;
- if (o.default_ () || o.no_default ())
- cd = o.default_ () && !o.no_default ();
-
- optional<bool> cf;
- if (o.forward () || o.no_forward ())
- cf = o.forward () && !o.no_forward ();
-
configurations cfgs {
cmd_init_config (
o,
+ o,
prj,
db,
ca ? o.config_add () : o.config_create (),
args,
ca,
- cc,
- cd,
- cf)};
+ cc)};
package_locations pkgs {{n, dir_path ()}}; // project == package