X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=Build;h=1321bb2760ca7c40c063e4f42caa9784b24da3a2;hp=aea04a16e0a12b39f8e30d3b945cfffa058d14c6;hb=817e584903996a041692640720a5a272d847a3c7;hpb=e9606fcfd202207a029fff31f03b8e1a7a0d2963 diff --git a/Build b/Build index aea04a1..1321bb2 100644 --- 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 {