Commit 4853633c authored by nanahira's avatar nanahira

freetype

parent 4864d478
...@@ -21,13 +21,14 @@ mat_common: ...@@ -21,13 +21,14 @@ mat_common:
- wget -O - https://cdn01.moecube.com/ygopro-build-materials/sqlite-autoconf-3360000.tar.gz | tar zfx - - wget -O - https://cdn01.moecube.com/ygopro-build-materials/sqlite-autoconf-3360000.tar.gz | tar zfx -
- mv sqlite-autoconf-3360000 sqlite3 - mv sqlite-autoconf-3360000 sqlite3
# freetype # freetype
- wget -O - https://cdn01.moecube.com/ygopro-build-materials/freetype-2.10.1.tar.gz | tar zfx - - wget -O - https://cdn01.moecube.com/ygopro-build-materials/freetype-2.10.4.tar.gz | tar zfx -
- mv freetype-2.10.1 freetype - mv freetype-2.10.4 freetype
# premake # premake
- cp -rf premake/* .; - cp -rf premake/* .;
artifacts: artifacts:
paths: paths:
- lua - lua
- freetype
- sqlite3 - sqlite3
mat_irrklang: mat_irrklang:
...@@ -106,8 +107,6 @@ mat_windows: ...@@ -106,8 +107,6 @@ mat_windows:
paths: paths:
- premake5.exe - premake5.exe
- event - event
- freetype
- sqlite3
- irrlicht - irrlicht
exec_windows: exec_windows:
...@@ -181,7 +180,7 @@ exec_macos: ...@@ -181,7 +180,7 @@ exec_macos:
- obj/ - obj/
script: script:
- git submodule update --init - git submodule update --init
- brew install freetype libevent dylibbundler - brew install libevent dylibbundler
- sudo cp -rf irrklang/bin/macosx-gcc/libirrklang.dylib /usr/local/lib/ - sudo cp -rf irrklang/bin/macosx-gcc/libirrklang.dylib /usr/local/lib/
#- sudo cp -rf irrklang/include /usr/local/include/irrklang #- sudo cp -rf irrklang/include /usr/local/include/irrklang
- ./premake5 gmake --cc=clang - ./premake5 gmake --cc=clang
......
...@@ -45,3 +45,5 @@ project "freetype" ...@@ -45,3 +45,5 @@ project "freetype"
configuration "windows" configuration "windows"
files { "builds/windows/ftdebug.c" } files { "builds/windows/ftdebug.c" }
configuration "not windows"
files { "src/base/ftdebug.c" }
...@@ -30,11 +30,9 @@ solution "ygo" ...@@ -30,11 +30,9 @@ solution "ygo"
if BUILD_ALL then if BUILD_ALL then
BUILD_LUA=true BUILD_LUA=true
BUILD_SQLITE=true BUILD_SQLITE=true
if not os.ishost("macosx") then
BUILD_FREETYPE=true BUILD_FREETYPE=true
end end
end end
end
configurations { "Release", "Debug" } configurations { "Release", "Debug" }
if os.getenv("YGOPRO_LUA_SAFE") then if os.getenv("YGOPRO_LUA_SAFE") then
...@@ -68,7 +66,7 @@ end ...@@ -68,7 +66,7 @@ end
configuration "macosx" configuration "macosx"
defines { "LUA_USE_MACOSX", "DBL_MAX_10_EXP=+308", "DBL_MANT_DIG=53", "GL_SILENCE_DEPRECATION" } defines { "LUA_USE_MACOSX", "DBL_MAX_10_EXP=+308", "DBL_MANT_DIG=53", "GL_SILENCE_DEPRECATION" }
includedirs { "/usr/local/include/event2", "/usr/local/include/freetype2" } includedirs { "/usr/local/include/event2", }
libdirs { "/usr/local/lib" } libdirs { "/usr/local/lib" }
buildoptions { "-stdlib=libc++" } buildoptions { "-stdlib=libc++" }
links { "OpenGL.framework", "Cocoa.framework", "IOKit.framework" } links { "OpenGL.framework", "Cocoa.framework", "IOKit.framework" }
......
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