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
89e8a501
Commit
89e8a501
authored
Apr 16, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bunch wtf things
parent
f331eb83
Pipeline
#11728
passed with stages
in 2 minutes and 35 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
39 deletions
+2
-39
gframe/premake5.lua
gframe/premake5.lua
+1
-1
premake5.lua
premake5.lua
+1
-38
No files found.
gframe/premake5.lua
View file @
89e8a501
...
...
@@ -22,7 +22,7 @@ if SERVER_MODE then
else
kind
"WindowedApp"
files
{
"*.cpp"
,
"*.h"
,
"CGUISkinSystem/*.cpp"
,
"CGUISkinSystem/*.h"
,
"CXMLRegistry/*.cpp"
,
"CXMLRegistry/*.h"
}
files
{
"*.cpp"
,
"*.h"
}
includedirs
{
"../ocgcore"
}
links
{
"ocgcore"
,
"clzma"
,
"cspmemvfs"
,
LUA_LIB_NAME
,
"sqlite3"
,
"irrlicht"
,
"freetype"
,
"event"
}
end
...
...
premake5.lua
View file @
89e8a501
...
...
@@ -212,52 +212,16 @@ if SERVER_MODE then
BUILD_IRRLICHT
=
false
BUILD_IKPMP3
=
false
USE_IRRKLANG
=
false
IRRKLANG_PRO
=
false
end
workspace
"YGOPro"
location
"build"
language
"C++"
objdir
"obj"
if
os
.
ishost
(
"macosx"
)
then
BUILD_LUA
=
true
end
if
not
os
.
ishost
(
"windows"
)
then
if
os.getenv
(
"YGOPRO_BUILD_LUA"
)
then
BUILD_LUA
=
true
end
if
os.getenv
(
"YGOPRO_BUILD_SQLITE"
)
then
BUILD_SQLITE
=
true
end
if
os.getenv
(
"YGOPRO_BUILD_FREETYPE"
)
then
BUILD_FREETYPE
=
true
end
if
os.getenv
(
"YGOPRO_BUILD_ALL"
)
or
os
.
ishost
(
"macosx"
)
then
BUILD_ALL
=
true
end
if
os.getenv
(
"YGOPRO_LIBEVENT_STATIC_PATH"
)
then
LIBEVENT_ROOT
=
os.getenv
(
"YGOPRO_LIBEVENT_STATIC_PATH"
)
end
if
BUILD_ALL
then
BUILD_LUA
=
true
BUILD_SQLITE
=
true
BUILD_FREETYPE
=
true
end
if
os
.
ishost
(
"macosx"
)
then
if
os.getenv
(
"YGOPRO_TARGET_ARM"
)
then
MAC_ARM
=
true
end
end
end
if
(
os
.
ishost
(
"windows"
)
or
os.getenv
(
"USE_IRRKLANG"
))
and
not
os.getenv
(
"NO_IRRKLANG"
)
then
USE_IRRKLANG
=
true
if
os.getenv
(
"irrklang_pro"
)
then
IRRKLANG_PRO
=
true
end
end
configurations
{
"Release"
,
"Debug"
}
for
_
,
numberOption
in
ipairs
(
numberOptions
)
do
ApplyNumber
(
numberOption
)
end
...
...
@@ -266,7 +230,6 @@ workspace "YGOPro"
ApplyBoolean
(
boolOption
)
end
filter
"system:windows"
defines
{
"WIN32"
,
"_WIN32"
}
if
not
SERVER_MODE
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