combine checks for "ios" premake option

The "ios" option now only makes sense when action is "xcode"
This commit is contained in:
Andrew Meadows
2015-12-03 20:39:29 -08:00
parent f385bffffb
commit d8b7d12707

View File

@@ -125,6 +125,9 @@
if _ACTION == "xcode4" then
if _OPTIONS["ios"] then
_OPTIONS["no-bullet3"] = "1"
_OPTIONS["no-gtest"] = "1"
postfix = "ios";
xcodebuildsettings
{
@@ -167,11 +170,6 @@
language "C++"
if _OPTIONS["ios"] then
_OPTIONS["no-bullet3"] = "1"
_OPTIONS["no-gtest"] = "1"
end
if _OPTIONS["no-bullet3"] then
_OPTIONS["no-demos"] = "1"
else