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
YGOPRO-520DIY
ygopro
Commits
b5f4ff3a
Commit
b5f4ff3a
authored
Mar 27, 2025
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
26b6539e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
29 deletions
+31
-29
gframe/premake5.lua
gframe/premake5.lua
+0
-9
premake/miniaudio/premake5.lua
premake/miniaudio/premake5.lua
+31
-20
No files found.
gframe/premake5.lua
View file @
b5f4ff3a
...
...
@@ -42,15 +42,6 @@ project "YGOPro"
defines
{
"YGOPRO_USE_AUDIO"
}
includedirs
{
"../miniaudio"
}
links
{
"miniaudio"
}
if
MINIAUDIO_SUPPORT_OPUS_VORBIS
and
not
BUILD_OPUS_VORBIS
then
print
(
"OPUS_INCLUDE_DIR:"
)
print
(
OPUS_INCLUDE_DIR
)
print
(
"VORBIS_INCLUDE_DIR:"
)
print
(
VORBIS_INCLUDE_DIR
)
includedirs
{
OPUS_INCLUDE_DIR
,
VORBIS_INCLUDE_DIR
}
libdirs
{
OPUS_LIB_DIR
,
VORBIS_LIB_DIR
}
links
{
"opusfile"
,
"vorbis"
}
end
end
filter
"system:windows"
...
...
premake/miniaudio/premake5.lua
View file @
b5f4ff3a
project
"miniaudio"
kind
"StaticLib"
files
{
"*.c"
,
"*.h"
}
if
MINIAUDIO_SUPPORT_OPUS_VORBIS
then
if
BUILD_OPUS_VORBIS
then
files
{
"external/ogg/src/**.c"
,
"external/ogg/src/**.h"
}
files
{
"external/opus/src/**.c"
,
"external/opus/src/**.h"
}
files
{
"external/opus/celt/*.c"
,
"external/opus/celt/*.h"
}
...
...
@@ -24,6 +25,16 @@ project "miniaudio"
"external/opus/silk/float"
,
"external/opusfile/include"
,
"external/vorbis/include"
}
else
print
(
"OPUS_INCLUDE_DIR:"
)
print
(
OPUS_INCLUDE_DIR
)
print
(
"VORBIS_INCLUDE_DIR:"
)
print
(
VORBIS_INCLUDE_DIR
)
includedirs
{
OPUS_INCLUDE_DIR
,
VORBIS_INCLUDE_DIR
}
libdirs
{
OPUS_LIB_DIR
,
VORBIS_LIB_DIR
}
links
{
"opusfile"
,
"vorbis"
}
end
end
filter
"system:linux"
links
{
"dl"
,
"pthread"
,
"m"
}
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