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
Commits
418f9a45
Commit
418f9a45
authored
Sep 15, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test premake
parent
eda9633d
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
273 additions
and
123 deletions
+273
-123
appveyor.yml
appveyor.yml
+9
-9
lflist.conf
lflist.conf
+182
-28
ocgcore
ocgcore
+1
-1
premake/irrlicht/irrlicht.patch
premake/irrlicht/irrlicht.patch
+72
-78
premake5.lua
premake5.lua
+8
-6
script
script
+1
-1
No files found.
appveyor.yml
View file @
418f9a45
...
...
@@ -14,15 +14,15 @@ install:
-
git submodule update --init --recursive
# environment and system dependency
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/premake/premake-core/releases/download/v5.0.0-alpha1
0/premake-5.0.0-alpha10
-windows.zip ; exit 0"
-
7z x premake-5.0.0-alpha1
0
-windows.zip
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/premake/premake-core/releases/download/v5.0.0-alpha1
2/premake-5.0.0-alpha12
-windows.zip ; exit 0"
-
7z x premake-5.0.0-alpha1
2
-windows.zip
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz ; exit 0"
-
tar xf libevent-2.0.22-stable.tar.gz
-
move libevent-2.0.22-stable event
-
xcopy /E event\WIN32-Code event\include
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name http://downloads.sourceforge.net/freetype/freetype-2.
7
.tar.bz2 ; exit 0"
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name http://downloads.sourceforge.net/freetype/freetype-2.
8
.tar.bz2 ; exit 0"
-
tar xf freetype-2.7.tar.bz2
-
move freetype-2.7 freetype
...
...
@@ -36,15 +36,15 @@ install:
-
tar xf lua-5.2.4.tar.gz
-
move lua-5.2.4\src lua
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.sqlite.org/2016/sqlite-amalgamation-3
1502
00.zip ; exit 0"
-
7z x sqlite-amalgamation-3
1502
00.zip
-
move sqlite-amalgamation-3
1502
00 sqlite3
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.sqlite.org/2016/sqlite-amalgamation-3
2001
00.zip ; exit 0"
-
7z x sqlite-amalgamation-3
2001
00.zip
-
move sqlite-amalgamation-3
2001
00 sqlite3
# let premake happy
-
xcopy /E premake\* .
# patch irrlicht
-
patch -p
1
< irrlicht\irrlicht.patch
-
patch -p
0
< irrlicht\irrlicht.patch
# premake
-
premake5 vs2015
...
...
@@ -88,9 +88,9 @@ branches:
-
/\d+\..+/
cache
:
-
premake-5.0.0-alpha1
0
-windows.zip
-
premake-5.0.0-alpha1
2
-windows.zip
-
libevent-2.0.22-stable.tar.gz
-
freetype-2.7.tar.bz2
-
irrlicht-1.8.4.zip
-
lua-5.2.4.tar.gz
-
sqlite-amalgamation-3
1502
00.zip
-
sqlite-amalgamation-3
2001
00.zip
lflist.conf
View file @
418f9a45
This diff is collapsed.
Click to expand it.
ocgcore
@
dfac0fbd
Subproject commit
e235487a59ae0cad9e113aea391fc9c883b63a84
Subproject commit
dfac0fbd59976a0612da49cc1b960290004df2ed
premake/irrlicht/irrlicht.patch
View file @
418f9a45
This diff is collapsed.
Click to expand it.
premake5.lua
View file @
418f9a45
...
...
@@ -7,6 +7,9 @@ solution "ygo"
configuration
"windows"
defines
{
"WIN32"
,
"_WIN32"
,
"WINVER=0x0501"
}
libdirs
{
"$(DXSDK_DIR)Lib/x86"
}
entrypoint
"mainCRTStartup"
startproject
"ygopro"
configuration
"bsd"
defines
{
"LUA_USE_POSIX"
}
...
...
@@ -15,7 +18,7 @@ solution "ygo"
configuration
"macosx"
defines
{
"LUA_USE_MACOSX"
}
includedirs
{
"/usr/local/include/
"
,
"/usr/local/include/irrlicht"
,
"/usr/local/include/freetype2
"
}
includedirs
{
"/usr/local/include/
*
"
}
libdirs
{
"/usr/local/lib"
,
"/usr/X11/lib"
}
buildoptions
{
"-stdlib=libc++"
}
links
{
"OpenGL.framework"
,
"Cocoa.framework"
,
"IOKit.framework"
}
...
...
@@ -24,7 +27,7 @@ solution "ygo"
defines
{
"LUA_USE_LINUX"
}
configuration
"Release"
flags
{
"OptimizeSpeed"
}
optimize
"Speed"
targetdir
"bin/release"
configuration
"Debug"
...
...
@@ -43,9 +46,10 @@ solution "ygo"
configuration
{
"Debug"
,
"vs*"
}
defines
{
"_ITERATOR_DEBUG_LEVEL=0"
}
disablewarnings
{
"4819"
}
configuration
"vs*"
flags
"Enable
SSE2"
vectorextensions
"
SSE2"
defines
{
"_CRT_SECURE_NO_WARNINGS"
}
configuration
"not vs*"
...
...
@@ -54,11 +58,9 @@ solution "ygo"
configuration
{
"not vs*"
,
"windows"
}
buildoptions
{
"-static-libgcc"
}
startproject
"ygopro"
include
"ocgcore"
include
"gframe"
if
os
.
is
(
"windows"
)
then
if
os
.
is
host
(
"windows"
)
then
include
"event"
include
"freetype"
include
"irrlicht"
...
...
script
@
5f67c188
Subproject commit
1f8614bcdbefb7638dc4398b7f2559fd57a9f6e6
Subproject commit
5f67c18822546bb7182c9c5a6567d42ecfe7592d
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