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
YGOPRO-520DIY
ygopro
Commits
e4a0a88f
Commit
e4a0a88f
authored
Apr 13, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bulid osx lua
parent
51b7f6b6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
6 deletions
+10
-6
.travis.yml
.travis.yml
+5
-4
gframe/premake4.lua
gframe/premake4.lua
+1
-1
ocgcore
ocgcore
+1
-1
premake5.lua
premake5.lua
+3
-0
No files found.
.travis.yml
View file @
e4a0a88f
...
...
@@ -34,15 +34,16 @@ before_install:
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo ln -s /usr/bin/gcc-6 /usr/local/bin/gcc; sudo ln -s /usr/bin/g++-6 /usr/local/bin/g++; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update;
brew install freetype libevent sqlite
lua
dylibbundler;
brew install freetype libevent sqlite dylibbundler;
sudo cp -r /usr/local/include/freetype2 ./freetype2;
sudo cp -r /usr/local/include/event2 ./event2;
sudo cp -r /usr/local/include/lua ./lua;
sudo rm -rf /usr/local/include/*;
sudo cp -r ./freetype2 /usr/local/include/freetype2;
sudo cp -r ./event2 /usr/local/include/event2;
sudo cp -r ./lua /usr/local/include/lua;
ls /usr/local/lib/;
curl --retry 5 --location https://www.lua.org/ftp/lua-5.3.5.tar.gz | tar zfx -;
move lua-5.3.5/src lua;
cp premake/lua/premake4.lua lua/;
fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir irrlicht ; cd irrlicht ; curl --retry 5 --location https://github.com/moecube/irrlicht/releases/download/test/irrlicht-mycard-mac.tar.gz | tar zfx - ; cp libIrrlicht.a /usr/local/lib/ ; sudo cp -r include /usr/local/include/irrlicht ; cd .. ; fi
...
...
gframe/premake4.lua
View file @
e4a0a88f
...
...
@@ -43,7 +43,7 @@ project "ygopro"
libdirs
{
"../irrklang/bin/linux-gcc-64"
}
end
configuration
"macosx"
links
{
"lua
-c++
"
}
links
{
"lua"
}
if
USE_IRRKLANG
then
links
{
"irrklang"
}
libdirs
{
"../irrklang/bin/macosx-gcc"
}
...
...
ocgcore
@
cfdfd777
Subproject commit
3b728f929be0baf6c0d5cd339b3b864a1684633c
Subproject commit
cfdfd777419c6d4ae5d753a188a1bfc51f0d6b66
premake5.lua
View file @
e4a0a88f
...
...
@@ -76,6 +76,9 @@ solution "ygo"
include
"ocgcore"
include
"gframe"
if
os
.
ishost
(
"macosx"
)
then
include
"lua"
end
if
os
.
ishost
(
"windows"
)
then
include
"lua"
include
"event"
...
...
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