diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | build/.gitignore | 2 | ||||
-rw-r--r-- | odb/buildfile | 6 |
3 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,5 @@ +.bdep/ + # Compiler/linker output. # *.d diff --git a/build/.gitignore b/build/.gitignore index 225c27f..4a730a3 100644 --- a/build/.gitignore +++ b/build/.gitignore @@ -1 +1,3 @@ config.build +root/ +bootstrap/ diff --git a/odb/buildfile b/odb/buildfile index f2b3354..117ab25 100644 --- a/odb/buildfile +++ b/odb/buildfile @@ -6,6 +6,7 @@ plugin_dir = $config.odb.plugin_dir define plugin: libs plugin{*}: bin.lib.prefix = # No lib prefix. +plugin{*}: backlink = true # Backlink in forwarded configs (next to exe). # On Windows we want the plugin (odb.dll) to go into bin/ (default), next to # the driver (odb.exe) since failed that we won't be able to find libraries we @@ -58,4 +59,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 } |