package "mspcore"
{
- version "2.0";
+ version "3.0";
description "Mikkosoft Productions core library";
require "sigc++-2.0";
- if_arch "!windows"
+ build_info
+ {
+ threads true;
+ standard CXX "c++11";
+ };
+ 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";
+ };
+ };
+
+ if_arch "windows"
+ {
+ build_info
+ {
+ library "advapi32";
+ library "shell32";
};
};
require "zlib";
};
+ feature "exception_trace" "Support exception backtraces";
+
library "mspcore"
{
source "source/core";
{
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
{