Commit c412de73 authored by nanahira's avatar nanahira

Merge branch 'master' into server

parents 5bd2b930 27d7a668
...@@ -14,6 +14,7 @@ build ...@@ -14,6 +14,7 @@ build
/sqlite3 /sqlite3
/irrklang /irrklang
/irrlicht* /irrlicht*
/lua
# gframe additionals # gframe additionals
/gframe/ygopro.ico /gframe/ygopro.ico
......
...@@ -36,7 +36,7 @@ project "ygopro" ...@@ -36,7 +36,7 @@ project "ygopro"
buildoptions { "-std=c++14", "-fno-rtti" } buildoptions { "-std=c++14", "-fno-rtti" }
configuration "not windows" configuration "not windows"
links { "event_pthreads", "dl", "pthread" } links { "event_pthreads", "dl", "pthread" }
if os.getenv("YGOPRO_BUILD_LUA") then if BUILD_LUA then
links { "lua" } links { "lua" }
else else
links { "lua5.3-c++" } links { "lua5.3-c++" }
......
Subproject commit 1cfec8c52c9f2f531b1f0cc373620728dba3c0ee Subproject commit e081bea359916a94dd7897ff234b4d40f2db0aa6
...@@ -2,6 +2,9 @@ solution "ygo" ...@@ -2,6 +2,9 @@ solution "ygo"
location "build" location "build"
language "C++" language "C++"
objdir "obj" objdir "obj"
if os.ishost("linux") and os.getenv("YGOPRO_BUILD_LUA") then
BUILD_LUA=true
end
configurations { "Release", "Debug" } configurations { "Release", "Debug" }
if os.getenv("YGOPRO_NO_LUA_SAFE") then if os.getenv("YGOPRO_NO_LUA_SAFE") then
...@@ -86,6 +89,6 @@ end ...@@ -86,6 +89,6 @@ end
include "sqlite3" include "sqlite3"
end end
if os.getenv("YGOPRO_BUILD_LUA") then if os.ishost("macosx") or BUILD_LUA then
include "lua" include "lua"
end end
Subproject commit cf96f6036abe927a23ac0bb2b7d4cc46ce41ff9f Subproject commit 25bcf78bcdd61e183855e68bc46294b25dd28eac
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