Commit dcf524f9 authored by nanahira's avatar nanahira

add configuration envs

parent db2a9df7
...@@ -2,7 +2,7 @@ solution "ygo" ...@@ -2,7 +2,7 @@ solution "ygo"
location "build" location "build"
language "C++" language "C++"
objdir "obj" 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 USE_IRRKLANG = true
if os.getenv("irrklang_pro") then if os.getenv("irrklang_pro") then
IRRKLANG_PRO = true IRRKLANG_PRO = true
...@@ -19,11 +19,13 @@ solution "ygo" ...@@ -19,11 +19,13 @@ solution "ygo"
systemversion "latest" systemversion "latest"
startproject "ygopro" startproject "ygopro"
if not os.getenv("YGOPRO_NO_XP_TOOLSET") then
configuration { "windows", "vs2017" } configuration { "windows", "vs2017" }
toolset "v141_xp" toolset "v141_xp"
configuration { "windows", "not vs2017" } configuration { "windows", "not vs2017" }
toolset "v140_xp" toolset "v140_xp"
end
configuration "bsd" configuration "bsd"
defines { "LUA_USE_POSIX" } 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