Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rd-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
苍蓝
rd-ygopro
Commits
4853633c
Commit
4853633c
authored
Jul 08, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
freetype
parent
4864d478
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
+8
-9
.gitlab-ci.yml
.gitlab-ci.yml
+4
-5
premake/freetype/premake4.lua
premake/freetype/premake4.lua
+2
-0
premake5.lua
premake5.lua
+2
-4
No files found.
.gitlab-ci.yml
View file @
4853633c
...
@@ -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
...
...
premake/freetype/premake4.lua
View file @
4853633c
...
@@ -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"
}
premake5.lua
View file @
4853633c
...
@@ -30,9 +30,7 @@ solution "ygo"
...
@@ -30,9 +30,7 @@ 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
...
@@ -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"
}
...
...
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