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
4864d478
Commit
4864d478
authored
Jul 08, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unfinished
parent
301fb690
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
14 deletions
+15
-14
.gitlab-ci.yml
.gitlab-ci.yml
+4
-3
gframe/premake4.lua
gframe/premake4.lua
+5
-7
premake5.lua
premake5.lua
+6
-4
No files found.
.gitlab-ci.yml
View file @
4864d478
...
...
@@ -20,6 +20,10 @@ mat_common:
# sqlite3
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/sqlite-autoconf-3360000.tar.gz | tar zfx -
-
mv sqlite-autoconf-3360000 sqlite3
# freetype
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/freetype-2.10.1.tar.gz | tar zfx -
-
mv freetype-2.10.1 freetype
# premake
-
cp -rf premake/* .;
artifacts
:
paths
:
...
...
@@ -92,9 +96,6 @@ mat_windows:
# event
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/libevent-2.0.22-stable.tar.gz | tar zfx -
-
mv libevent-2.0.22-stable event ; cp -rf event/WIN32-Code/* event/include
# freetype
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/freetype-2.10.1.tar.gz | tar zfx -
-
mv freetype-2.10.1 freetype
# irrlicht
-
wget https://cdn01.moecube.com/ygopro-build-materials/irrlicht-1.8.4.zip
-
7z x -y irrlicht-1.8.4.zip
...
...
gframe/premake4.lua
View file @
4864d478
...
...
@@ -7,9 +7,9 @@ project "ygopro"
files
{
"**.cpp"
,
"**.cc"
,
"**.c"
,
"**.h"
}
excludes
{
"lzma/**"
,
"spmemvfs/**"
}
includedirs
{
"../ocgcore"
}
links
{
"ocgcore"
,
"clzma"
,
"cspmemvfs"
,
"Irrlicht"
,
"sqlite3"
}
links
{
"ocgcore"
,
"clzma"
,
"cspmemvfs"
,
"Irrlicht"
,
"sqlite3"
,
"freetype"
}
if
not
LINUX_ALL_STATIC
then
links
{
"
freetype"
,
"
event"
}
links
{
"event"
}
end
if
USE_IRRKLANG
then
defines
{
"YGOPRO_USE_IRRKLANG"
}
...
...
@@ -30,7 +30,7 @@ project "ygopro"
configuration
"not linux"
if
LINUX_ALL_STATIC
then
links
{
"
freetype"
,
"
event"
}
links
{
"event"
}
end
configuration
"windows"
files
"ygopro.rc"
...
...
@@ -67,12 +67,12 @@ project "ygopro"
includedirs
{
"../sqlite3"
}
end
if
BUILD_FREETYPE
then
--
includedirs {"../freetype/include" }
includedirs
{
"../freetype/include"
}
end
configuration
{
"not windows"
,
"not macosx"
}
links
"GL"
configuration
"linux"
linkoptions
{
"-static-libstdc++"
,
"-static-libgcc"
}
linkoptions
{
"-static-libstdc++"
,
"-static-libgcc"
,
"-Wl,-rpath=./lib/"
}
includedirs
{
"../irrlicht_linux/include"
}
if
BUILD_LUA
then
links
{
"lua"
}
...
...
@@ -81,7 +81,6 @@ project "ygopro"
end
links
{
"X11"
,
"Xxf86vm"
}
if
LINUX_ALL_STATIC
then
linkoptions
{
LIB_ROOT
..
"libfreetype.a"
}
local
libeventRootPrefix
=
LIB_ROOT
if
LIBEVENT_ROOT
then
includedirs
{
LIBEVENT_ROOT
..
"/include"
}
...
...
@@ -89,7 +88,6 @@ project "ygopro"
end
linkoptions
{
libeventRootPrefix
..
"libevent.a"
,
libeventRootPrefix
..
"libevent_pthreads.a"
}
end
linkoptions
{
"-Wl,-rpath=./lib/"
}
if
USE_IRRKLANG
then
links
{
"IrrKlang"
}
libdirs
{
"../irrklang/bin/linux-gcc-64"
}
...
...
premake5.lua
View file @
4864d478
...
...
@@ -15,9 +15,9 @@ solution "ygo"
if
os.getenv
(
"YGOPRO_BUILD_SQLITE"
)
then
BUILD_SQLITE
=
true
end
--[[
if os.getenv("YGOPRO_BUILD_FREETYPE") then
if
os.getenv
(
"YGOPRO_BUILD_FREETYPE"
)
then
BUILD_FREETYPE
=
true
end
]]
end
if
os.getenv
(
"YGOPRO_BUILD_ALL"
)
or
os
.
ishost
(
"macosx"
)
then
BUILD_ALL
=
true
end
...
...
@@ -30,7 +30,9 @@ solution "ygo"
if
BUILD_ALL
then
BUILD_LUA
=
true
BUILD_SQLITE
=
true
--BUILD_FREETYPE=true
if
not
os
.
ishost
(
"macosx"
)
then
BUILD_FREETYPE
=
true
end
end
end
...
...
@@ -125,7 +127,7 @@ end
include
"sqlite3/premake4.lua"
end
if
BUILD_FREETYPE
then
--
include "freetype"
include
"freetype"
end
end
if
os
.
ishost
(
"linux"
)
then
...
...
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