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
a5a51006
Commit
a5a51006
authored
May 13, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support inbuilt lua
parent
74feedee
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
.gitignore
.gitignore
+1
-0
gframe/premake4.lua
gframe/premake4.lua
+6
-1
premake5.lua
premake5.lua
+4
-1
No files found.
.gitignore
View file @
a5a51006
...
@@ -14,6 +14,7 @@ build
...
@@ -14,6 +14,7 @@ build
/sqlite3
/sqlite3
/irrklang
/irrklang
/irrlicht*
/irrlicht*
/lua
# gframe additionals
# gframe additionals
/gframe/ygopro.ico
/gframe/ygopro.ico
...
...
gframe/premake4.lua
View file @
a5a51006
...
@@ -53,7 +53,12 @@ project "ygopro"
...
@@ -53,7 +53,12 @@ project "ygopro"
links
{
"event_pthreads"
,
"GL"
,
"dl"
,
"pthread"
}
links
{
"event_pthreads"
,
"GL"
,
"dl"
,
"pthread"
}
configuration
"linux"
configuration
"linux"
includedirs
{
"../irrlicht_linux/include"
}
includedirs
{
"../irrlicht_linux/include"
}
links
{
"lua5.3-c++"
,
"X11"
,
"Xxf86vm"
}
links
{
"X11"
,
"Xxf86vm"
}
if
BUILD_LUA
then
links
{
"lua"
}
else
links
{
"lua5.3-c++"
}
end
if
USE_IRRKLANG
then
if
USE_IRRKLANG
then
links
{
"IrrKlang"
}
links
{
"IrrKlang"
}
linkoptions
{
"-Wl,-rpath=./"
}
linkoptions
{
"-Wl,-rpath=./"
}
...
...
premake5.lua
View file @
a5a51006
...
@@ -8,6 +8,9 @@ solution "ygo"
...
@@ -8,6 +8,9 @@ solution "ygo"
IRRKLANG_PRO
=
true
IRRKLANG_PRO
=
true
end
end
end
end
if
os
.
ishost
(
"linux"
)
and
os.getenv
(
"YGOPRO_BUILD_LUA"
)
then
BUILD_LUA
=
true
end
configurations
{
"Release"
,
"Debug"
}
configurations
{
"Release"
,
"Debug"
}
if
os.getenv
(
"YGOPRO_LUA_SAFE"
)
then
if
os.getenv
(
"YGOPRO_LUA_SAFE"
)
then
...
@@ -98,7 +101,7 @@ end
...
@@ -98,7 +101,7 @@ end
if
os
.
ishost
(
"linux"
)
then
if
os
.
ishost
(
"linux"
)
then
include
"irrlicht_linux"
include
"irrlicht_linux"
end
end
if
os
.
ishost
(
"macosx"
)
then
if
os
.
ishost
(
"macosx"
)
or
BUILD_LUA
then
include
"lua"
include
"lua"
end
end
if
USE_IRRKLANG
then
if
USE_IRRKLANG
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