X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=Build;h=6ece10b05e07c70993ee64c9032015c436b9c73a;hp=aea04a16e0a12b39f8e30d3b945cfffa058d14c6;hb=7be37ad97a2fd3494cb5d56badb45997353ff709;hpb=e9606fcfd202207a029fff31f03b8e1a7a0d2963 diff --git a/Build b/Build index aea04a1..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"; @@ -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 {