aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-06-11 18:56:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-06-11 18:58:17 +0200
commitfc76d626cc9d43f899f46bcf62e6d047abd1f362 (patch)
tree1d35722b6b92ce94a8bfcc39dbf69aef676f9658
parentc552070230c4ad9c92b516c28658b5c74c57e46b (diff)
Add export stub
-rw-r--r--bpkg/buildfile1
-rw-r--r--build/export.build6
2 files changed, 7 insertions, 0 deletions
diff --git a/bpkg/buildfile b/bpkg/buildfile
index c498ed9..b084404 100644
--- a/bpkg/buildfile
+++ b/bpkg/buildfile
@@ -4,3 +4,4 @@
import libs += libbutl
lib{bpkg}: cxx{manifest-parser manifest-serializer manifest} $libs
+lib{bpkg}: cxx.export.poptions = -I$src_root
diff --git a/build/export.build b/build/export.build
new file mode 100644
index 0000000..622d286
--- /dev/null
+++ b/build/export.build
@@ -0,0 +1,6 @@
+$out_root/:
+{
+ include bpkg/
+}
+
+export $out_root/butl/lib{bpkg}