]> git.tdb.fi Git - libs/core.git/blobdiff - Build
Prefer more cache-efficient containers
[libs/core.git] / Build
diff --git a/Build b/Build
index 2aa78db278ab0674dfd1509fa88f91eebc803b8f..810880346774ca546a57a848b1be3c19aeeafa1a 100644 (file)
--- a/Build
+++ b/Build
@@ -1,12 +1,13 @@
 package "mspcore"
 {
-       version "2.0";
+       version "3.0";
        description "Mikkosoft Productions core library";
 
        require "sigc++-2.0";
        build_info
        {
                threads true;
+               standard CXX "c++11";
        };
        if_arch "linux"
        {
@@ -15,6 +16,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 +42,8 @@ package "mspcore"
                require "zlib";
        };
 
+       feature "exception_trace" "Support exception backtraces";
+
        library "mspcore"
        {
                source "source/core";
@@ -38,10 +57,23 @@ package "mspcore"
                {
                        overlay "windows";
                };
+               if_arch "darwin"
+               {
+                       overlay "osx";
+               };
+               if_arch "android"
+               {
+                       overlay "android";
+                       build_info
+                       {
+                               keep_symbol "ANativeActivity_onCreate";
+                       };
+               };
                if_arch "!windows"
                {
                        overlay "unix";
                };
+               overlay "generic";
                install true;
                install_map
                {