Commit 6aad7bfe authored by nanahira's avatar nanahira

freetype failed

parent 6084661f
......@@ -66,6 +66,9 @@ project "ygopro"
if BUILD_SQLITE then
includedirs { "../sqlite3" }
end
if BUILD_FREETYPE then
--includedirs {"../freetype/include" }
end
configuration { "not windows", "not macosx" }
links "GL"
configuration "linux"
......
......@@ -9,18 +9,29 @@ solution "ygo"
end
end
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
end
if os.getenv("YGOPRO_BUILD_SQLITE") then
BUILD_SQLITE=true
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
BUILD_LUA=true
BUILD_ALL=true
LINUX_ALL_STATIC=true
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")
end
if BUILD_ALL then
BUILD_LUA=true
BUILD_SQLITE=true
--BUILD_FREETYPE=true
end
end
configurations { "Release", "Debug" }
......@@ -55,8 +66,8 @@ end
configuration "macosx"
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" }
libdirs { "/usr/local/lib", "/usr/local/opt/sqlite3/lib" }
includedirs { "/usr/local/include/event2", "/usr/local/include/freetype2" }
libdirs { "/usr/local/lib" }
buildoptions { "-stdlib=libc++" }
links { "OpenGL.framework", "Cocoa.framework", "IOKit.framework" }
......@@ -113,6 +124,9 @@ end
if BUILD_SQLITE then
include "sqlite3/premake4.lua"
end
if BUILD_FREETYPE then
--include "freetype"
end
end
if os.ishost("linux") then
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