aboutsummaryrefslogtreecommitdiff
path: root/build/export.build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-06-24 12:01:19 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2019-07-01 18:13:55 +0300
commit977d07a3ae47ef204665d1eda2d642e5064724f3 (patch)
tree525a3d6421f61ce789b690191d3c30fc09be3517 /build/export.build
parent7161b24963dd9da4d218f92c736b77c35c328a2d (diff)
Split build system into library and driver
Diffstat (limited to 'build/export.build')
-rw-r--r--build/export.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/export.build b/build/export.build
index dc94fa4..8bca42a 100644
--- a/build/export.build
+++ b/build/export.build
@@ -7,4 +7,7 @@ $out_root/
include build2/
}
-export $out_root/build2/exe{b}
+if ($import.target == exe{b})
+ export $out_root/build2/exe{b}
+elif ($import.target == lib{build2})
+ export $out_root/libbuild2/lib{build2}