]> git.tdb.fi Git - libs/core.git/blobdiff - Build
Make Profiler able to report number of calls per second
[libs/core.git] / Build
diff --git a/Build b/Build
index 621857dccd8b2e08ebeded6715ff303df8f4a9d3..51b3bc8276ea7f69e72fb8565797eea2811ba047 100644 (file)
--- 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";