Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
ygopro
Commits
6aad7bfe
Commit
6aad7bfe
authored
Jul 08, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
freetype failed
parent
6084661f
Pipeline
#3978
failed with stages
in 5 minutes and 48 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
4 deletions
+21
-4
gframe/premake4.lua
gframe/premake4.lua
+3
-0
premake5.lua
premake5.lua
+18
-4
No files found.
gframe/premake4.lua
View file @
6aad7bfe
...
...
@@ -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"
...
...
premake5.lua
View file @
6aad7bfe
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment