The vendored ocgcore from the Unity repo (Tools/YGOLegacy/ocgcore at dev HEAD). Upstream is nanahira/ygopro-core at 973672dc9ce7cb49f47173277ab1ad0e318b7593; the seven files that differ from it carry the fork's core patches, already applied: 0001 face-down Token setcode, 0004 effect damage step outside a chain, 0008 Sandbox god mode, 0015 tag first seat holds the hand, 0022 attack preview, 0024 attack preview legality. Generated build/ output is left out. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
26 lines
568 B
Lua
26 lines
568 B
Lua
project "lua"
|
|
kind "StaticLib"
|
|
compileas "C++"
|
|
|
|
files { "src/*.c", "src/*.h" }
|
|
removefiles { "src/lua.c", "src/luac.c", "src/onelua.c" }
|
|
|
|
if not GetParam("no-lua-safe") then
|
|
removefiles { "src/linit.c" }
|
|
end
|
|
|
|
filter "configurations:Debug"
|
|
defines { "LUA_USE_APICHECK" }
|
|
|
|
filter "system:bsd"
|
|
defines { "LUA_USE_POSIX" }
|
|
|
|
filter "system:macosx"
|
|
defines { "LUA_USE_MACOSX" }
|
|
|
|
filter "system:android"
|
|
defines { "LUA_USE_POSIX" }
|
|
|
|
filter "system:linux"
|
|
defines { "LUA_USE_LINUX" }
|