]> git.tdb.fi Git - libs/core.git/blobdiff - Build
Remove deprecated things
[libs/core.git] / Build
diff --git a/Build b/Build
index aea04a16e0a12b39f8e30d3b945cfffa058d14c6..1321bb2760ca7c40c063e4f42caa9784b24da3a2 100644 (file)
--- a/Build
+++ b/Build
@@ -1,6 +1,6 @@
 package "mspcore"
 {
-       version "2.0";
+       version "3.0";
        description "Mikkosoft Productions core library";
 
        require "sigc++-2.0";
@@ -15,6 +15,22 @@ package "mspcore"
                        library "dl";
                };
        };
+       if_arch "android"
+       {
+               build_info
+               {
+                       library "android";
+                       library "log";
+               };
+       };
+
+       if_arch "darwin"
+       {
+               build_info
+               {
+                       library "Foundation.framework";
+               };
+       };
 
        feature "zlib" "Support compression with zlib"
        {
@@ -25,6 +41,8 @@ package "mspcore"
                require "zlib";
        };
 
+       feature "exception_trace" "Support exception backtraces";
+
        library "mspcore"
        {
                source "source/core";
@@ -42,10 +60,19 @@ package "mspcore"
                {
                        overlay "osx";
                };
+               if_arch "android"
+               {
+                       overlay "android";
+                       build_info
+                       {
+                               keep_symbol "ANativeActivity_onCreate";
+                       };
+               };
                if_arch "!windows"
                {
                        overlay "unix";
                };
+               overlay "generic";
                install true;
                install_map
                {