Commit 6aad7bfe authored by nanahira's avatar nanahira

freetype failed

parent 6084661f
Pipeline #3978 failed with stages
in 5 minutes and 48 seconds
...@@ -66,6 +66,9 @@ project "ygopro" ...@@ -66,6 +66,9 @@ project "ygopro"
if BUILD_SQLITE then if BUILD_SQLITE then
includedirs { "../sqlite3" } includedirs { "../sqlite3" }
end end
if BUILD_FREETYPE then
--includedirs {"../freetype/include" }
end
configuration { "not windows", "not macosx" } configuration { "not windows", "not macosx" }
links "GL" links "GL"
configuration "linux" configuration "linux"
......
...@@ -9,18 +9,29 @@ solution "ygo" ...@@ -9,18 +9,29 @@ solution "ygo"
end end
end end
if not os.ishost("windows") then if not os.ishost("windows") then
if os.getenv("YGOPRO_BUILD_LUA") or os.ishost("macosx") then if os.getenv("YGOPRO_BUILD_LUA") then
BUILD_LUA=true BUILD_LUA=true
end end
if os.getenv("YGOPRO_BUILD_SQLITE") then if os.getenv("YGOPRO_BUILD_SQLITE") then
BUILD_SQLITE=true BUILD_SQLITE=true
end end
--[[if os.getenv("YGOPRO_BUILD_FREETYPE") then
BUILD_FREETYPE=true
end]]
if os.getenv("YGOPRO_BUILD_ALL") or os.ishost("macosx") then
BUILD_ALL=true
end
if os.ishost("linux") and os.getenv("YGOPRO_LINUX_ALL_STATIC") then if os.ishost("linux") and os.getenv("YGOPRO_LINUX_ALL_STATIC") then
BUILD_LUA=true BUILD_ALL=true
LINUX_ALL_STATIC=true LINUX_ALL_STATIC=true
LIB_ROOT=os.getenv("YGOPRO_LINUX_ALL_STATIC_LIB_PATH") or "/usr/lib/x86_64-linux-gnu/" LIB_ROOT=os.getenv("YGOPRO_LINUX_ALL_STATIC_LIB_PATH") or "/usr/lib/x86_64-linux-gnu/"
LIBEVENT_ROOT=os.getenv("YGOPRO_LINUX_ALL_STATIC_LIBEVENT_PATH") LIBEVENT_ROOT=os.getenv("YGOPRO_LINUX_ALL_STATIC_LIBEVENT_PATH")
end end
if BUILD_ALL then
BUILD_LUA=true
BUILD_SQLITE=true
--BUILD_FREETYPE=true
end
end end
configurations { "Release", "Debug" } configurations { "Release", "Debug" }
...@@ -55,8 +66,8 @@ end ...@@ -55,8 +66,8 @@ 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", "/usr/local/opt/sqlite3/include" } includedirs { "/usr/local/include/event2", "/usr/local/include/freetype2" }
libdirs { "/usr/local/lib", "/usr/local/opt/sqlite3/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" }
...@@ -113,6 +124,9 @@ end ...@@ -113,6 +124,9 @@ end
if BUILD_SQLITE then if BUILD_SQLITE then
include "sqlite3/premake4.lua" include "sqlite3/premake4.lua"
end end
if BUILD_FREETYPE then
--include "freetype"
end
end end
if os.ishost("linux") then if os.ishost("linux") then
include "irrlicht_linux" include "irrlicht_linux"
......
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