Commit 5bd2b930 authored by nanahira's avatar nanahira

support build lua

parent 4a82ecae
...@@ -35,4 +35,9 @@ project "ygopro" ...@@ -35,4 +35,9 @@ project "ygopro"
configuration "not vs*" configuration "not vs*"
buildoptions { "-std=c++14", "-fno-rtti" } buildoptions { "-std=c++14", "-fno-rtti" }
configuration "not windows" configuration "not windows"
links { "lua5.3-c++", "event_pthreads", "dl", "pthread" } links { "event_pthreads", "dl", "pthread" }
if os.getenv("YGOPRO_BUILD_LUA") then
links { "lua" }
else
links { "lua5.3-c++" }
end
...@@ -85,3 +85,7 @@ end ...@@ -85,3 +85,7 @@ end
include "event" include "event"
include "sqlite3" include "sqlite3"
end end
if os.getenv("YGOPRO_BUILD_LUA") then
include "lua"
end
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