diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-07-26 22:36:58 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-07-28 19:49:41 +0300 |
commit | deff9b91bed656fd54bd7fbb8a5c525eec5ab542 (patch) | |
tree | ee50b83f17888d2474d650a4fca73297d38a65b2 /bpkg/buildfile | |
parent | 915260ad5e0d09eef98b76e294452a9216bc3e14 (diff) |
Add DLL export/import support
Diffstat (limited to 'bpkg/buildfile')
-rw-r--r-- | bpkg/buildfile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bpkg/buildfile b/bpkg/buildfile index b99d465..955e39d 100644 --- a/bpkg/buildfile +++ b/bpkg/buildfile @@ -12,8 +12,15 @@ lib{bpkg}: \ $libs cxx.poptions =+ -I$src_root + lib{bpkg}: cxx.export.poptions = -I$src_root +liba{bpkg}: cxx.export.poptions += -DLIBBPKG_STATIC +libs{bpkg}: cxx.export.poptions += -DLIBBPKG_SHARED + +obja{*}: cxx.poptions += -DLIBBPKG_STATIC_BUILD +objs{*}: cxx.poptions += -DLIBBPKG_SHARED_BUILD + # Install into the bpkg/ subdirectory of, say, /usr/include/. # install.include = $install.include/bpkg |