Commit f60661e1 authored by nanahira's avatar nanahira

move define to root

parent 2c3291a0
...@@ -2,8 +2,7 @@ include "lzma/." ...@@ -2,8 +2,7 @@ include "lzma/."
project "ygopro" project "ygopro"
kind "ConsoleApp" kind "ConsoleApp"
defines { "YGOPRO_SERVER_MODE" }
local mr=os.getenv("YGOPRO_DEFAULT_DUEL_RULE") local mr=os.getenv("YGOPRO_DEFAULT_DUEL_RULE")
if mr and tonumber(mr) then defines { "DEFAULT_DUEL_RULE="..tonumber(mr) } end if mr and tonumber(mr) then defines { "DEFAULT_DUEL_RULE="..tonumber(mr) } end
......
...@@ -5,7 +5,7 @@ solution "ygo" ...@@ -5,7 +5,7 @@ solution "ygo"
--startproject "ygopro" --startproject "ygopro"
configurations { "Release", "Debug" } configurations { "Release", "Debug" }
defines { "LUA_COMPAT_5_2" } defines { "LUA_COMPAT_5_2", "LUA_SAFE_MODE", "YGOPRO_SERVER_MODE" }
configuration "windows" configuration "windows"
defines { "WIN32", "_WIN32" } defines { "WIN32", "_WIN32" }
......
...@@ -4,7 +4,7 @@ solution "ygo" ...@@ -4,7 +4,7 @@ solution "ygo"
objdir "obj" objdir "obj"
configurations { "Release", "Debug" } configurations { "Release", "Debug" }
defines { "LUA_COMPAT_5_2", "LUA_SAFE_MODE" } defines { "LUA_COMPAT_5_2", "LUA_SAFE_MODE", "YGOPRO_SERVER_MODE" }
configuration "windows" configuration "windows"
defines { "WIN32", "_WIN32" } defines { "WIN32", "_WIN32" }
startproject "ygopro" startproject "ygopro"
......
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