aboutsummaryrefslogtreecommitdiff
path: root/build/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-02 12:01:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-02 12:01:07 +0200
commit48f8883de7b8fa348423b3baf262de08c98eba18 (patch)
tree024b2aa3f2a5ef5f1b8cad8cc1d8902840b4e94c /build/buildfile
parent626348009e74d2ec6e9f500d27f60728b4fc81df (diff)
Keep previous version of b executable as b-prev until linker succeeds
This is useful in case of a linker error in which case the b binary is deleted and we have nothing to use. Also, it is a good idea to manually keep b-save in case of runtime bugs introduced during development.
Diffstat (limited to 'build/buildfile')
-rw-r--r--build/buildfile10
1 files changed, 8 insertions, 2 deletions
diff --git a/build/buildfile b/build/buildfile
index 3fcc9f4..35b4434 100644
--- a/build/buildfile
+++ b/build/buildfile
@@ -1,7 +1,13 @@
cxx = cxx/{target rule module}
config = config/{operation module}
-exe{b1}: cxx{b algorithm name operation spec scope variable target \
+exe{b b-prev}: cxx{b algorithm name operation spec scope variable target \
prerequisite rule file module native context search diagnostics \
token lexer parser process timestamp path utility filesystem dump \
- $config $cxx}
+ options $config $cxx}
+
+.: exe{b b-prev}
+
+#@@ TODO
+#
+# cli --include-with-brackets --include-prefix build --guard-prefix BUILD --hxx-suffix "" options.cli