Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-core
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-core
Commits
f68a3c60
Commit
f68a3c60
authored
May 03, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ocgapi.h, premake/dll.lua files
parent
cd8598dd
Pipeline
#35860
canceled with stages
in 2 minutes and 8 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
ocgapi.h
ocgapi.h
+2
-0
premake/dll.lua
premake/dll.lua
+5
-6
No files found.
ocgapi.h
View file @
f68a3c60
...
@@ -12,6 +12,8 @@
...
@@ -12,6 +12,8 @@
#ifdef WIN32
#ifdef WIN32
#define DECL_DLLEXPORT __declspec(dllexport)
#define DECL_DLLEXPORT __declspec(dllexport)
#elif defined(YGOPRO_VISIBILITY_DEFAULT)
#define DECL_DLLEXPORT __attribute__((visibility("default")))
#else
#else
#define DECL_DLLEXPORT
#define DECL_DLLEXPORT
#endif
#endif
...
...
premake/dll.lua
View file @
f68a3c60
...
@@ -73,13 +73,14 @@ workspace "ocgcoredll"
...
@@ -73,13 +73,14 @@ workspace "ocgcoredll"
defines
{
"LUA_USE_MACOSX"
}
defines
{
"LUA_USE_MACOSX"
}
filter
"system:linux"
filter
"system:linux"
defines
{
"LUA_USE_LINUX"
}
defines
{
"LUA_USE_LINUX"
,
"YGOPRO_VISIBILITY_DEFAULT"
}
buildoptions
{
"-fPIC"
}
pic
"On"
buildoptions
{
"-fvisibility=hidden"
}
linkoptions
{
"-static-libstdc++"
,
"-static-libgcc"
}
linkoptions
{
"-static-libstdc++"
,
"-static-libgcc"
}
filter
"system:emscripten"
filter
"system:emscripten"
defines
{
"LUA_USE_LONGJMP"
,
"LUA_USE_C89"
}
defines
{
"LUA_USE_LONGJMP"
,
"LUA_USE_C89"
}
buildoptions
{
"-fPIC"
}
pic
"On"
filter
{}
filter
{}
...
@@ -113,11 +114,9 @@ project "sqlite3"
...
@@ -113,11 +114,9 @@ project "sqlite3"
systemversion
"latest"
systemversion
"latest"
defines
{
"SQLITE_API=__declspec(dllexport)"
}
defines
{
"SQLITE_API=__declspec(dllexport)"
}
filter
"system:linux or system:macosx"
pic
"On"
filter
"system:linux"
filter
"system:linux"
linkoptions
{
"-static-libstdc++"
,
"-static-libgcc"
}
linkoptions
{
"-static-libstdc++"
,
"-static-libgcc"
}
defines
{
'SQLITE_API=__attribute__((visibility("default")))'
}
filter
"configurations:Debug"
filter
"configurations:Debug"
symbols
"On"
symbols
"On"
...
...
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