X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=Build;h=6ece10b05e07c70993ee64c9032015c436b9c73a;hp=2aa78db278ab0674dfd1509fa88f91eebc803b8f;hb=9955efca718d8be72b63c7c2182ca59e7b9d0935;hpb=4ea380ecdfefe2b7f14737a72fc996ce0546393a diff --git a/Build b/Build index 2aa78db..6ece10b 100644 --- a/Build +++ b/Build @@ -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"; @@ -38,10 +56,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 {