diff options
Diffstat (limited to 'butl/buildfile')
-rw-r--r-- | butl/buildfile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/butl/buildfile b/butl/buildfile index 5c939af..7a3c442 100644 --- a/butl/buildfile +++ b/butl/buildfile @@ -5,6 +5,7 @@ lib{butl}: \ {hxx cxx}{ base64 } \ {hxx cxx}{ char-scanner } \ +{hxx }{ export } \ {hxx cxx}{ fdstream } \ {hxx ixx cxx}{ filesystem } \ {hxx }{ multi-index } \ @@ -30,8 +31,15 @@ lib{butl}: \ lib{butl}: file{sha256c.c} cxx.poptions =+ -I$src_root + lib{butl}: cxx.export.poptions = -I$src_root +liba{hello}: cxx.export.poptions += -DLIBBUTL_STATIC +libs{hello}: cxx.export.poptions += -DLIBBUTL_SHARED + +obja{*}: cxx.poptions += -DLIBBUTL_STATIC_BUILD +objs{*}: cxx.poptions += -DLIBBUTL_SHARED_BUILD + # Install into the butl/ subdirectory of, say, /usr/include/. # install.include = $install.include/butl |