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
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
MyCard
ygopro
Commits
a671b0de
Commit
a671b0de
authored
Jun 03, 2025
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update merge
parent
618b60f1
Pipeline
#37128
failed with stages
in 5 minutes and 8 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
16 deletions
+17
-16
gframe/premake5.lua
gframe/premake5.lua
+1
-1
premake5.lua
premake5.lua
+16
-15
No files found.
gframe/premake5.lua
View file @
a671b0de
...
...
@@ -77,7 +77,7 @@ end
libdirs
{
SQLITE_LIB_DIR
}
end
if
USE_AUDIO
then
if
USE_AUDIO
and
not
SERVER_MODE
then
defines
{
"YGOPRO_USE_AUDIO"
}
if
AUDIO_LIB
==
"miniaudio"
then
defines
{
"YGOPRO_USE_MINIAUDIO"
}
...
...
premake5.lua
View file @
a671b0de
...
...
@@ -18,7 +18,7 @@ BUILD_SQLITE = os.istarget("windows")
BUILD_IRRLICHT
=
true
-- modified Irrlicht is required, can't use the official one
USE_DXSDK
=
true
USE_AUDIO
=
fals
e
USE_AUDIO
=
tru
e
AUDIO_LIB
=
"miniaudio"
-- can be "miniaudio" or "irrklang"
-- BUILD_MINIAUDIO is always true
MINIAUDIO_SUPPORT_OPUS_VORBIS
=
true
...
...
@@ -145,6 +145,20 @@ function ApplyNumber(param)
end
end
if
GetParam
(
"server-mode"
)
then
SERVER_MODE
=
true
end
if
GetParam
(
"server-zip-support"
)
then
SERVER_ZIP_SUPPORT
=
true
end
if
GetParam
(
"server-pro2-support"
)
then
SERVER_PRO2_SUPPORT
=
true
SERVER_ZIP_SUPPORT
=
true
end
if
GetParam
(
"server-tag-surrender-confirm"
)
then
SERVER_TAG_SURRENDER_CONFIRM
=
true
end
if
GetParam
(
"build-lua"
)
then
BUILD_LUA
=
true
elseif
GetParam
(
"no-build-lua"
)
then
...
...
@@ -233,7 +247,7 @@ elseif GetParam("use-irrklang") then
AUDIO_LIB
=
"irrklang"
end
if
USE_AUDIO
then
if
USE_AUDIO
and
not
SERVER_MODE
then
AUDIO_LIB
=
GetParam
(
"audio-lib"
)
or
AUDIO_LIB
if
AUDIO_LIB
==
"miniaudio"
then
if
GetParam
(
"miniaudio-support-opus-vorbis"
)
then
...
...
@@ -310,19 +324,6 @@ if os.istarget("macosx") then
end
end
end
if
GetParam
(
"server-mode"
)
then
SERVER_MODE
=
true
end
if
GetParam
(
"server-zip-support"
)
then
SERVER_ZIP_SUPPORT
=
true
end
if
GetParam
(
"server-pro2-support"
)
then
SERVER_PRO2_SUPPORT
=
true
SERVER_ZIP_SUPPORT
=
true
end
if
GetParam
(
"server-tag-surrender-confirm"
)
then
SERVER_TAG_SURRENDER_CONFIRM
=
true
end
workspace
"YGOPro"
location
"build"
...
...
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