X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=Build;h=51b3bc8276ea7f69e72fb8565797eea2811ba047;hp=e2107aadb5a8fed1fef6a8a99c57e327ec2378ef;hb=8ed14b63ab6249e9fc2a3a691cf8ffbf49166deb;hpb=faeafc9d652ba6caa350ca95dff14408b036ccfb 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";