combine checks for "ios" premake option
The "ios" option now only makes sense when action is "xcode"
This commit is contained in:
@@ -125,6 +125,9 @@
|
|||||||
|
|
||||||
if _ACTION == "xcode4" then
|
if _ACTION == "xcode4" then
|
||||||
if _OPTIONS["ios"] then
|
if _OPTIONS["ios"] then
|
||||||
|
_OPTIONS["no-bullet3"] = "1"
|
||||||
|
_OPTIONS["no-gtest"] = "1"
|
||||||
|
|
||||||
postfix = "ios";
|
postfix = "ios";
|
||||||
xcodebuildsettings
|
xcodebuildsettings
|
||||||
{
|
{
|
||||||
@@ -167,11 +170,6 @@
|
|||||||
|
|
||||||
language "C++"
|
language "C++"
|
||||||
|
|
||||||
if _OPTIONS["ios"] then
|
|
||||||
_OPTIONS["no-bullet3"] = "1"
|
|
||||||
_OPTIONS["no-gtest"] = "1"
|
|
||||||
end
|
|
||||||
|
|
||||||
if _OPTIONS["no-bullet3"] then
|
if _OPTIONS["no-bullet3"] then
|
||||||
_OPTIONS["no-demos"] = "1"
|
_OPTIONS["no-demos"] = "1"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user