X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=Build;h=51b3bc8276ea7f69e72fb8565797eea2811ba047;hp=621857dccd8b2e08ebeded6715ff303df8f4a9d3;hb=4798e6e5eac917b6225a1295fa5b118d88345237;hpb=32d6e3c59c8ae64e06a5df18b2e7a067a3f2c23a diff --git a/Build b/Build index 621857d..51b3bc8 100644 --- a/Build +++ b/Build @@ -1,6 +1,6 @@ package "mspcore" { - version "1.1"; + version "2.0"; description "Mikkosoft Productions core library"; require "sigc++-2.0"; @@ -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";