X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=Build;h=51b3bc8276ea7f69e72fb8565797eea2811ba047;hp=e2107aadb5a8fed1fef6a8a99c57e327ec2378ef;hb=8245b8036c8bdc51625616ca6248b0f2b0271dc0;hpb=d52ed1c3869467e709b0e5d680261447436030bb diff --git a/Build b/Build index e2107aa..51b3bc8 100644 --- a/Build +++ b/Build @@ -19,6 +19,15 @@ package "mspcore" }; }; + feature "zlib" "Support compression with zlib" + { + default "yes"; + }; + if_feature "zlib" + { + require "zlib"; + }; + library "mspcore" { source "source/core"; @@ -71,6 +80,18 @@ package "mspcore" }; }; + if_feature "zlib" + { + program "z" + { + source "examples/z.cpp"; + build_info + { + library "mspcore"; + }; + }; + }; + source_tarball { source "License.txt";