aboutsummaryrefslogtreecommitdiff
path: root/build/export.build
diff options
context:
space:
mode:
Diffstat (limited to 'build/export.build')
-rw-r--r--build/export.build17
1 files changed, 13 insertions, 4 deletions
diff --git a/build/export.build b/build/export.build
index 8bca42a..4847950 100644
--- a/build/export.build
+++ b/build/export.build
@@ -2,12 +2,21 @@
# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-$out_root/
+if ($import.target == exe{b})
{
- include build2/
-}
+ $out_root/
+ {
+ include build2/
+ }
-if ($import.target == exe{b})
export $out_root/build2/exe{b}
+}
elif ($import.target == lib{build2})
+{
+ $out_root/
+ {
+ include libbuild2/
+ }
+
export $out_root/libbuild2/lib{build2}
+}