Commit c8b2367a authored by nanahira's avatar nanahira

mgconfl

parents 4aa2bd34 b611c4fa
...@@ -13,15 +13,14 @@ project "ygopro" ...@@ -13,15 +13,14 @@ project "ygopro"
excludes "CGUIButton.cpp" excludes "CGUIButton.cpp"
includedirs { "../irrlicht/include", "../freetype/include", "../event/include", "../sqlite3" } includedirs { "../irrlicht/include", "../freetype/include", "../event/include", "../sqlite3" }
if USE_IRRKLANG then if USE_IRRKLANG then
defines { "YGOPRO_USE_IRRKLANG" } defines { "YGOPRO_USE_IRRKLANG" }
links { "irrKlang" } links { "irrKlang", "ikpMP3" }
includedirs { "../irrklang/include" } includedirs { "../irrklang/include" }
if IRRKLANG_PRO then if IRRKLANG_PRO then
links { "ikpMP3" } defines { "IRRKLANG_STATIC" }
defines { "IRRKLANG_STATIC" } end
end libdirs { "../irrklang/lib/Win32-visualStudio" }
libdirs { "../irrklang/lib/Win32-visualStudio" } end
end
links { "opengl32", "ws2_32", "winmm", "gdi32", "kernel32", "user32", "imm32" } links { "opengl32", "ws2_32", "winmm", "gdi32", "kernel32", "user32", "imm32" }
configuration {"windows", "not vs*"} configuration {"windows", "not vs*"}
includedirs { "/mingw/include/irrlicht", "/mingw/include/freetype2" } includedirs { "/mingw/include/irrlicht", "/mingw/include/freetype2" }
......
...@@ -2,10 +2,17 @@ solution "ygo" ...@@ -2,10 +2,17 @@ solution "ygo"
location "build" location "build"
language "C++" language "C++"
objdir "obj" objdir "obj"
<<<<<<< HEAD
startproject "ygopro" startproject "ygopro"
configurations { "Debug", "Release" } configurations { "Debug", "Release" }
defines { "LUA_COMPAT_5_2" } defines { "LUA_COMPAT_5_2" }
=======
startproject "ygopro"
configurations { "Debug", "Release" }
defines { "LUA_COMPAT_5_2" }
>>>>>>> mactest
configuration "windows" configuration "windows"
defines { "WIN32", "_WIN32" } defines { "WIN32", "_WIN32" }
......
...@@ -2,6 +2,7 @@ solution "ygo" ...@@ -2,6 +2,7 @@ solution "ygo"
location "build" location "build"
language "C++" language "C++"
objdir "obj" objdir "obj"
<<<<<<< HEAD
if os.ishost("windows") or os.getenv("USE_IRRKLANG") then if os.ishost("windows") or os.getenv("USE_IRRKLANG") then
USE_IRRKLANG = true USE_IRRKLANG = true
if os.getenv("irrklang_pro") then if os.getenv("irrklang_pro") then
...@@ -12,6 +13,18 @@ solution "ygo" ...@@ -12,6 +13,18 @@ solution "ygo"
configurations { "Debug", "Release" } configurations { "Debug", "Release" }
defines { "LUA_COMPAT_5_2" } defines { "LUA_COMPAT_5_2" }
=======
if os.ishost("windows") or os.getenv("USE_IRRKLANG") then
USE_IRRKLANG = true
if os.getenv("irrklang_pro") then
IRRKLANG_PRO = true
end
end
startproject "ygopro"
configurations { "Debug", "Release" }
defines { "LUA_COMPAT_5_2" }
>>>>>>> mactest
configuration "windows" configuration "windows"
defines { "WIN32", "_WIN32", "WINVER=0x0501" } defines { "WIN32", "_WIN32", "WINVER=0x0501" }
...@@ -70,12 +83,12 @@ solution "ygo" ...@@ -70,12 +83,12 @@ solution "ygo"
include "ocgcore" include "ocgcore"
include "gframe" include "gframe"
if os.ishost("windows") then if os.ishost("windows") then
include "event" include "event"
include "freetype" include "freetype"
include "irrlicht" include "irrlicht"
include "lua" include "lua"
include "sqlite3" include "sqlite3"
if IRRKLANG_PRO then if IRRKLANG_PRO then
include "ikpmp3" include "ikpmp3"
end end
end 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