summaryrefslogtreecommitdiff
path: root/cli/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-05-23 14:10:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-05-23 14:10:53 +0200
commit5e7e9bed6e73ff246919a2d400fb1466619f7abe (patch)
tree15943c14d31e906bcbaf40f05090b542fee28f34 /cli/buildfile
parent038b1acfabf6541b3ea0327d928451bec4aff844 (diff)
Update for use with bdep
Diffstat (limited to 'cli/buildfile')
-rw-r--r--cli/buildfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/buildfile b/cli/buildfile
index 19d9eba..e1792d3 100644
--- a/cli/buildfile
+++ b/cli/buildfile
@@ -28,4 +28,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
}