Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rd-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
苍蓝
rd-ygopro
Commits
2640197e
Commit
2640197e
authored
Aug 02, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into server
parents
e3dd92e3
44822c06
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
.ci/exec-macos-platform.sh
.ci/exec-macos-platform.sh
+4
-1
premake5.lua
premake5.lua
+3
-2
No files found.
.ci/exec-macos-platform.sh
View file @
2640197e
...
@@ -2,13 +2,16 @@
...
@@ -2,13 +2,16 @@
set
-x
set
-x
set
-o
errexit
set
-o
errexit
TARGET_PLATFORM
=
$(
arch
)
TARGET_YGOPRO_BINARY_PATH
=
./ygopro-platforms/ygopro-platform-
$TARGET_PLATFORM
TARGET_YGOPRO_BINARY_PATH
=
./ygopro-platforms/ygopro-platform-
$TARGET_PLATFORM
export
EVENT_INCLUDE_DIR
=
$PWD
/libevent-stable/include
export
EVENT_INCLUDE_DIR
=
$PWD
/libevent-stable/include
export
EVENT_LIB_DIR
=
$PWD
/libevent-stable/lib
export
EVENT_LIB_DIR
=
$PWD
/libevent-stable/lib
export
IRRLICHT_INCLUDE_DIR
=
$PWD
/irrlicht/include
export
IRRLICHT_INCLUDE_DIR
=
$PWD
/irrlicht/include
export
IRRLICHT_LIB_DIR
=
$PWD
/irrlicht
export
IRRLICHT_LIB_DIR
=
$PWD
/irrlicht
./premake5 gmake
--cc
=
clang
--build-freetype
--build-sqlite
./.ci/libevent-prebuild.sh
./premake5 gmake
--cc
=
clang
--build-freetype
--build-sqlite
--no-use-irrklang
cd
build
cd
build
make
config
=
release
-j4
make
config
=
release
-j4
...
...
premake5.lua
View file @
2640197e
...
@@ -200,8 +200,9 @@ BUILD_IKPMP3 = USE_IRRKLANG
...
@@ -200,8 +200,9 @@ BUILD_IKPMP3 = USE_IRRKLANG
if
GetParam
(
"winxp-support"
)
and
os
.
istarget
(
"windows"
)
then
if
GetParam
(
"winxp-support"
)
and
os
.
istarget
(
"windows"
)
then
WINXP_SUPPORT
=
true
WINXP_SUPPORT
=
true
end
end
if
GetParam
(
"mac-arm"
)
and
os
.
istarget
(
"macosx"
)
then
if
os
.
istarget
(
"macosx"
)
then
MAC_ARM
=
true
MAC_ARM
=
true
ON_MAC_ARM
=
MAC_ARM
or
io.popen
(
'arch'
):
read
(
'*l'
)
==
"arm64"
end
end
if
GetParam
(
"server-mode"
)
then
if
GetParam
(
"server-mode"
)
then
SERVER_MODE
=
true
SERVER_MODE
=
true
...
@@ -274,7 +275,7 @@ end
...
@@ -274,7 +275,7 @@ end
filter
{
"configurations:Release"
,
"not action:vs*"
}
filter
{
"configurations:Release"
,
"not action:vs*"
}
symbols
"On"
symbols
"On"
defines
"NDEBUG"
defines
"NDEBUG"
if
not
MAC_ARM
then
if
not
ON_
MAC_ARM
then
buildoptions
"-march=native"
buildoptions
"-march=native"
end
end
...
...
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