X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=Build;h=810880346774ca546a57a848b1be3c19aeeafa1a;hp=aea04a16e0a12b39f8e30d3b945cfffa058d14c6;hb=44da9fc9afb6b7e49c1558c5572213a1e6f401e8;hpb=e9606fcfd202207a029fff31f03b8e1a7a0d2963 diff --git a/Build b/Build index aea04a1..8108803 100644 --- 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"; @@ -42,10 +61,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 {