Commit 802fbda3 authored by nanahira's avatar nanahira

Merge branch 'master' into server

parents 0bdec527 afca6cd2
...@@ -8,7 +8,7 @@ install: ...@@ -8,7 +8,7 @@ install:
# environment and system dependency # environment and system dependency
- bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/premake/premake-core/releases/download/v5.0.0-alpha14/premake-5.0.0-alpha14-windows.zip ; exit 0" - bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/premake/premake-core/releases/download/v5.0.0-alpha14/premake-5.0.0-alpha14-windows.zip ; exit 0"
- 7z x premake-5.0.0-alpha14-windows.zip - 7z x -y premake-5.0.0-alpha14-windows.zip
- bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz ; exit 0" - bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz ; exit 0"
- tar xf libevent-2.0.22-stable.tar.gz - tar xf libevent-2.0.22-stable.tar.gz
...@@ -19,8 +19,8 @@ install: ...@@ -19,8 +19,8 @@ install:
- tar xf lua-5.3.5.tar.gz - tar xf lua-5.3.5.tar.gz
- move lua-5.3.5\src lua - move lua-5.3.5\src lua
- bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.sqlite.org/2020/sqlite-amalgamation-3310100.zip ; exit 0" - bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.sqlite.org/2018/sqlite-amalgamation-3310100.zip ; exit 0"
- 7z x sqlite-amalgamation-3310100.zip - 7z x -y sqlite-amalgamation-3310100.zip
- move sqlite-amalgamation-3310100 sqlite3 - move sqlite-amalgamation-3310100 sqlite3
# let premake happy # let premake happy
......
project "lua" project "lua"
kind "StaticLib" kind "StaticLib"
files { "*.c", "*.cpp", "*.h", "*.hpp" } files { "**.cc", "**.cpp", "**.c", "**.h" }
removefiles { "lua.c", "luac.c" } excludes { "lua.c", "luac.c" }
configuration "vs*" configuration "vs*"
buildoptions { "/TP" } buildoptions { "/TP" }
configuration "not vs*"
buildoptions { "-x c++" }
...@@ -14,11 +14,14 @@ end ...@@ -14,11 +14,14 @@ end
startproject "ygopro" startproject "ygopro"
if os.getenv("YGOPRO_USE_XP_TOOLSET") then if os.getenv("YGOPRO_USE_XP_TOOLSET") then
configuration { "windows", "vs2015" }
toolset "v140_xp"
configuration { "windows", "vs2017" } configuration { "windows", "vs2017" }
toolset "v141_xp" toolset "v141_xp"
configuration { "windows", "not vs2017" } configuration { "windows", "vs2019" }
toolset "v140_xp" toolset "v141_xp"
end end
configuration "bsd" configuration "bsd"
...@@ -52,11 +55,15 @@ end ...@@ -52,11 +55,15 @@ end
if not os.ishost("macosx") then if not os.ishost("macosx") then
staticruntime "On" staticruntime "On"
end end
<<<<<<< HEAD
disablewarnings { "4244", "4267", "4838", "4577", "4819", "4018", "4996", "4477", "4091", "4305", "4828", "4800" } disablewarnings { "4244", "4267", "4838", "4577", "4819", "4018", "4996", "4477", "4091", "4305", "4828", "4800" }
======= =======
staticruntime "On" staticruntime "On"
disablewarnings { "4244", "4267", "4838", "4577", "4819", "4018", "4996", "4477", "4091", "4828", "4800" } disablewarnings { "4244", "4267", "4838", "4577", "4819", "4018", "4996", "4477", "4091", "4828", "4800" }
>>>>>>> c2bd783e73660d7357546b44aaf3a9dfe1dee030 >>>>>>> c2bd783e73660d7357546b44aaf3a9dfe1dee030
=======
disablewarnings { "4244", "4267", "4838", "4577", "4819", "4018", "4996", "4477", "4091", "4828", "4800" }
>>>>>>> master
configuration { "Release", "not vs*" } configuration { "Release", "not vs*" }
symbols "On" symbols "On"
...@@ -78,6 +85,7 @@ end ...@@ -78,6 +85,7 @@ end
configuration {"not vs*", "windows"} configuration {"not vs*", "windows"}
buildoptions { "-static-libgcc" } buildoptions { "-static-libgcc" }
<<<<<<< HEAD
startproject "ygopro" startproject "ygopro"
include "ocgcore" include "ocgcore"
...@@ -87,3 +95,20 @@ end ...@@ -87,3 +95,20 @@ end
include "event" include "event"
include "sqlite3" include "sqlite3"
end end
=======
include "ocgcore"
include "gframe"
if os.ishost("windows") then
include "lua"
include "event"
include "freetype"
include "irrlicht"
include "sqlite3"
end
if os.ishost("linux") then
include "irrlicht_linux"
end
if USE_IRRKLANG then
include "ikpmp3"
end
>>>>>>> master
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