Commit dcf524f9 authored by nanahira's avatar nanahira

add configuration envs

parent db2a9df7
......@@ -2,7 +2,7 @@ solution "ygo"
location "build"
language "C++"
objdir "obj"
if os.ishost("windows") or os.getenv("USE_IRRKLANG") then
if (os.ishost("windows") or os.getenv("USE_IRRKLANG")) and not os.getenv("NO_IRRKLANG") then
USE_IRRKLANG = true
if os.getenv("irrklang_pro") then
IRRKLANG_PRO = true
......@@ -19,11 +19,13 @@ solution "ygo"
systemversion "latest"
startproject "ygopro"
if not os.getenv("YGOPRO_NO_XP_TOOLSET") then
configuration { "windows", "vs2017" }
toolset "v141_xp"
configuration { "windows", "not vs2017" }
toolset "v140_xp"
end
configuration "bsd"
defines { "LUA_USE_POSIX" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment