Commit d3e10bbb authored by nanahira's avatar nanahira

fixmerge

parent 23dd2759
...@@ -3,7 +3,6 @@ include "lzma/." ...@@ -3,7 +3,6 @@ include "lzma/."
project "ygopro" project "ygopro"
kind "ConsoleApp" kind "ConsoleApp"
<<<<<<< HEAD
local params={ local params={
"DEFAULT_DUEL_RULE", "DEFAULT_DUEL_RULE",
"DECKCOUNT_MAIN_MIN", "DECKCOUNT_MAIN_MIN",
...@@ -16,31 +15,8 @@ project "ygopro" ...@@ -16,31 +15,8 @@ project "ygopro"
for _,param in ipairs(params) do for _,param in ipairs(params) do
local val=os.getenv("YGOPRO_"..param) local val=os.getenv("YGOPRO_"..param)
if val and tonumber(val) then defines { param.."="..tonumber(val) } end if val and tonumber(val) then defines { param.."="..tonumber(val) } end
=======
files { "**.cpp", "**.cc", "**.c", "**.h" }
excludes { "lzma/**", "spmemvfs/**" }
includedirs { "../ocgcore" }
links { "ocgcore", "clzma", "cspmemvfs", "Irrlicht", "sqlite3", "freetype" }
if not LINUX_ALL_STATIC then
links { "event" }
end
if USE_IRRKLANG then
defines { "YGOPRO_USE_IRRKLANG" }
links { "ikpmp3" }
includedirs { "../irrklang/include" }
if IRRKLANG_PRO then
defines { "IRRKLANG_STATIC" }
end
end
if os.getenv("YGOPRO_COMPAT_MYCARD") then
defines { "YGOPRO_COMPAT_MYCARD" }
end
if os.getenv("YGOPRO_MESSAGE_DEBUG") then
defines { "YGOPRO_MESSAGE_DEBUG" }
>>>>>>> master
end end
<<<<<<< HEAD
files { "gframe.cpp", "config.h", files { "gframe.cpp", "config.h",
"game.cpp", "game.h", "myfilesystem.h", "game.cpp", "game.h", "myfilesystem.h",
"deck_manager.cpp", "deck_manager.h", "deck_manager.cpp", "deck_manager.h",
...@@ -52,12 +28,6 @@ project "ygopro" ...@@ -52,12 +28,6 @@ project "ygopro"
includedirs { "../ocgcore" } includedirs { "../ocgcore" }
links { "ocgcore", "clzma", "sqlite3" } links { "ocgcore", "clzma", "sqlite3" }
=======
configuration "not linux"
if LINUX_ALL_STATIC then
links { "event" }
end
>>>>>>> master
configuration "windows" configuration "windows"
files "ygopro.rc" files "ygopro.rc"
includedirs { "../event/include", "../sqlite3" } includedirs { "../event/include", "../sqlite3" }
...@@ -72,17 +42,6 @@ project "ygopro" ...@@ -72,17 +42,6 @@ project "ygopro"
if BUILD_SQLITE then if BUILD_SQLITE then
includedirs { "../sqlite3" } includedirs { "../sqlite3" }
end end
<<<<<<< HEAD
=======
if BUILD_FREETYPE then
includedirs {"../freetype/include" }
end
configuration { "not windows", "not macosx" }
links "GL"
configuration "linux"
linkoptions { "-static-libstdc++", "-static-libgcc", "-Wl,-rpath=./lib/" }
includedirs { "../irrlicht_linux/include" }
>>>>>>> master
if BUILD_LUA then if BUILD_LUA then
links { "lua" } links { "lua" }
else else
......
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