[Build] Enable exceptions and Clang STL on Android

This commit is contained in:
Triang3l 2020-11-21 23:40:34 +03:00
parent 0dcc1b18d6
commit 233daa018d
1 changed files with 6 additions and 1 deletions

View File

@ -29,6 +29,7 @@ defines({
})
cppdialect("C++17")
exceptionhandling("On")
symbols("On")
-- TODO(DrChat): Find a way to disable this on other architectures.
@ -146,6 +147,9 @@ filter({"platforms:Linux", "language:C++", "toolset:clang", "files:*.cc or *.cpp
"-stdlib=libstdc++",
})
filter("platforms:Android")
system("android")
filter("platforms:Windows")
system("windows")
toolset("msc")
@ -198,8 +202,9 @@ solution("xenia")
uuid("931ef4b0-6170-4f7a-aaf2-0fece7632747")
startproject("xenia-app")
if os.istarget("android") then
architecture("ARM64")
-- Not setting architecture as that's handled by ndk-build itself.
platforms({"Android"})
ndkstl("c++_static")
else
architecture("x86_64")
if os.istarget("linux") then