From 96b4e8e308441a2b5c92492e76a2655f04ea1195 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 5 Jul 2018 14:19:53 +0200 Subject: Add backlink to generated options parsing code --- build2/buildfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build2/buildfile b/build2/buildfile index d207996..396fcf4 100644 --- a/build2/buildfile +++ b/build2/buildfile @@ -56,4 +56,9 @@ if $cli.configured # cli.cxx{*}: dist = true cli.cxx{*}: clean = ($src_root != $out_root) + + # We keep the generated code in the repository so copy it back to src in + # case of a forwarded configuration. + # + cli.cxx{*}: backlink = overwrite } -- cgit v1.1