]> git.tdb.fi Git - libs/core.git/blobdiff - Build
Refuse to encode invalid Unicode characters in UTF-8
[libs/core.git] / Build
diff --git a/Build b/Build
index e2107aadb5a8fed1fef6a8a99c57e327ec2378ef..51b3bc8276ea7f69e72fb8565797eea2811ba047 100644 (file)
--- 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";