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
1
Merge Requests
1
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
e4e4eca1
Commit
e4e4eca1
authored
Nov 02, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ocgcore-dynamic mode
parent
5162e245
Pipeline
#41402
canceled with stages
in 16 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
13 deletions
+9
-13
.gitignore
.gitignore
+3
-0
ocgcore
ocgcore
+1
-1
premake5.lua
premake5.lua
+5
-12
No files found.
.gitignore
View file @
e4e4eca1
...
...
@@ -79,6 +79,9 @@ build
/premake4.exe
/premake5*
/premake5.exe
/*.so
/*.dll
/*.dylib
# others
*.log
...
...
ocgcore
@
239f3c20
Subproject commit
9efa33ab661bcc104ab260c4b94c220f6598aec3
Subproject commit
239f3c20066452fc9b425b9daa0db0db04a4940e
premake5.lua
View file @
e4e4eca1
...
...
@@ -25,6 +25,8 @@ MINIAUDIO_BUILD_OPUS_VORBIS = os.istarget("windows")
-- BUILD_IRRKLANG is impossible because irrKlang is not open source
IRRKLANG_PRO
=
false
IRRKLANG_PRO_BUILD_IKPMP3
=
false
-- ocgcore dynamic
OCGCORE_DYNAMIC
=
false
-- Read settings from command line or environment variables
...
...
@@ -85,6 +87,7 @@ newoption { trigger = 'build-ikpmp3', category = "YGOPro - irrklang - ikpmp3", d
newoption
{
trigger
=
"mac-arm"
,
category
=
"YGOPro"
,
description
=
"Compile for Apple Silicon Mac"
}
newoption
{
trigger
=
"mac-intel"
,
category
=
"YGOPro"
,
description
=
"Compile for Intel Mac"
}
newoption
{
trigger
=
"ocgcore-dynamic"
,
category
=
"YGOPro - ocgcore"
,
description
=
"Build ocgcore as dynamic library"
}
-- koishipro specific
...
...
@@ -356,18 +359,8 @@ if os.istarget("macosx") then
end
end
function
getGlibcVersion
()
local
output
=
os
.
outputof
(
"getconf GNU_LIBC_VERSION"
)
local
major
,
minor
,
patch
=
output
:
match
(
"glibc (%d+)%.(%d+)%.?(%d*)"
)
if
major
and
minor
then
major
=
tonumber
(
major
)
minor
=
tonumber
(
minor
)
patch
=
tonumber
(
patch
)
or
0
return
(
major
<<
16
)
|
(
minor
<<
8
)
|
patch
end
return
0
if
GetParam
(
"ocgcore-dynamic"
)
then
OCGCORE_DYNAMIC
=
true
end
workspace
"YGOPro"
...
...
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