X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=Build;h=6ece10b05e07c70993ee64c9032015c436b9c73a;hp=c01f693c8a310a6261aa895991bccbd644cef9f3;hb=c7b4b9d6e07b3e32e5b03f41f0640a8273eed848;hpb=609c9a508cfdc7b42c46c4f21d17639204165a00 diff --git a/Build b/Build index c01f693..6ece10b 100644 --- a/Build +++ b/Build @@ -4,18 +4,31 @@ package "mspcore" description "Mikkosoft Productions core library"; require "sigc++-2.0"; - if_arch "!windows" + build_info + { + threads true; + }; + if_arch "linux" { build_info { - library "pthread"; + library "dl"; }; }; - if_arch "linux" + if_arch "android" { build_info { - library "dl"; + library "android"; + library "log"; + }; + }; + + if_arch "darwin" + { + build_info + { + library "Foundation.framework"; }; }; @@ -28,6 +41,8 @@ package "mspcore" require "zlib"; }; + feature "exception_trace" "Support exception backtraces"; + library "mspcore" { source "source/core"; @@ -41,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 {