Commit 418f9a45 authored by mercury233's avatar mercury233

test premake

parent eda9633d
...@@ -14,15 +14,15 @@ install: ...@@ -14,15 +14,15 @@ install:
- git submodule update --init --recursive - git submodule update --init --recursive
# 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-alpha10/premake-5.0.0-alpha10-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-alpha12/premake-5.0.0-alpha12-windows.zip ; exit 0"
- 7z x premake-5.0.0-alpha10-windows.zip - 7z x premake-5.0.0-alpha12-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
- move libevent-2.0.22-stable event - move libevent-2.0.22-stable event
- xcopy /E event\WIN32-Code event\include - xcopy /E event\WIN32-Code event\include
- bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name http://downloads.sourceforge.net/freetype/freetype-2.7.tar.bz2 ; exit 0" - bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name http://downloads.sourceforge.net/freetype/freetype-2.8.tar.bz2 ; exit 0"
- tar xf freetype-2.7.tar.bz2 - tar xf freetype-2.7.tar.bz2
- move freetype-2.7 freetype - move freetype-2.7 freetype
...@@ -36,15 +36,15 @@ install: ...@@ -36,15 +36,15 @@ install:
- tar xf lua-5.2.4.tar.gz - tar xf lua-5.2.4.tar.gz
- move lua-5.2.4\src lua - move lua-5.2.4\src lua
- bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.sqlite.org/2016/sqlite-amalgamation-3150200.zip ; exit 0" - bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.sqlite.org/2016/sqlite-amalgamation-3200100.zip ; exit 0"
- 7z x sqlite-amalgamation-3150200.zip - 7z x sqlite-amalgamation-3200100.zip
- move sqlite-amalgamation-3150200 sqlite3 - move sqlite-amalgamation-3200100 sqlite3
# let premake happy # let premake happy
- xcopy /E premake\* . - xcopy /E premake\* .
# patch irrlicht # patch irrlicht
- patch -p1 < irrlicht\irrlicht.patch - patch -p0 < irrlicht\irrlicht.patch
# premake # premake
- premake5 vs2015 - premake5 vs2015
...@@ -88,9 +88,9 @@ branches: ...@@ -88,9 +88,9 @@ branches:
- /\d+\..+/ - /\d+\..+/
cache: cache:
- premake-5.0.0-alpha10-windows.zip - premake-5.0.0-alpha12-windows.zip
- libevent-2.0.22-stable.tar.gz - libevent-2.0.22-stable.tar.gz
- freetype-2.7.tar.bz2 - freetype-2.7.tar.bz2
- irrlicht-1.8.4.zip - irrlicht-1.8.4.zip
- lua-5.2.4.tar.gz - lua-5.2.4.tar.gz
- sqlite-amalgamation-3150200.zip - sqlite-amalgamation-3200100.zip
This diff is collapsed.
Subproject commit e235487a59ae0cad9e113aea391fc9c883b63a84 Subproject commit dfac0fbd59976a0612da49cc1b960290004df2ed
This diff is collapsed.
...@@ -7,6 +7,9 @@ solution "ygo" ...@@ -7,6 +7,9 @@ solution "ygo"
configuration "windows" configuration "windows"
defines { "WIN32", "_WIN32", "WINVER=0x0501" } defines { "WIN32", "_WIN32", "WINVER=0x0501" }
libdirs { "$(DXSDK_DIR)Lib/x86" }
entrypoint "mainCRTStartup"
startproject "ygopro"
configuration "bsd" configuration "bsd"
defines { "LUA_USE_POSIX" } defines { "LUA_USE_POSIX" }
...@@ -15,7 +18,7 @@ solution "ygo" ...@@ -15,7 +18,7 @@ solution "ygo"
configuration "macosx" configuration "macosx"
defines { "LUA_USE_MACOSX" } defines { "LUA_USE_MACOSX" }
includedirs { "/usr/local/include/", "/usr/local/include/irrlicht", "/usr/local/include/freetype2" } includedirs { "/usr/local/include/*" }
libdirs { "/usr/local/lib", "/usr/X11/lib" } libdirs { "/usr/local/lib", "/usr/X11/lib" }
buildoptions { "-stdlib=libc++" } buildoptions { "-stdlib=libc++" }
links { "OpenGL.framework", "Cocoa.framework", "IOKit.framework" } links { "OpenGL.framework", "Cocoa.framework", "IOKit.framework" }
...@@ -24,7 +27,7 @@ solution "ygo" ...@@ -24,7 +27,7 @@ solution "ygo"
defines { "LUA_USE_LINUX" } defines { "LUA_USE_LINUX" }
configuration "Release" configuration "Release"
flags { "OptimizeSpeed" } optimize "Speed"
targetdir "bin/release" targetdir "bin/release"
configuration "Debug" configuration "Debug"
...@@ -43,9 +46,10 @@ solution "ygo" ...@@ -43,9 +46,10 @@ solution "ygo"
configuration { "Debug", "vs*" } configuration { "Debug", "vs*" }
defines { "_ITERATOR_DEBUG_LEVEL=0" } defines { "_ITERATOR_DEBUG_LEVEL=0" }
disablewarnings { "4819" }
configuration "vs*" configuration "vs*"
flags "EnableSSE2" vectorextensions "SSE2"
defines { "_CRT_SECURE_NO_WARNINGS" } defines { "_CRT_SECURE_NO_WARNINGS" }
configuration "not vs*" configuration "not vs*"
...@@ -54,11 +58,9 @@ solution "ygo" ...@@ -54,11 +58,9 @@ solution "ygo"
configuration {"not vs*", "windows"} configuration {"not vs*", "windows"}
buildoptions { "-static-libgcc" } buildoptions { "-static-libgcc" }
startproject "ygopro"
include "ocgcore" include "ocgcore"
include "gframe" include "gframe"
if os.is("windows") then if os.ishost("windows") then
include "event" include "event"
include "freetype" include "freetype"
include "irrlicht" include "irrlicht"
......
Subproject commit 1f8614bcdbefb7638dc4398b7f2559fd57a9f6e6 Subproject commit 5f67c18822546bb7182c9c5a6567d42ecfe7592d
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