Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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
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
MyCard
ygopro-2pick
Commits
ebf8f8d4
Commit
ebf8f8d4
authored
Dec 01, 2017
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
format
parent
ac7da03b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
130 additions
and
130 deletions
+130
-130
gframe/lzma/premake4.lua
gframe/lzma/premake4.lua
+2
-2
gframe/premake4.lua
gframe/premake4.lua
+19
-19
premake4.lua
premake4.lua
+58
-58
premake5.lua
premake5.lua
+51
-51
No files found.
gframe/lzma/premake4.lua
View file @
ebf8f8d4
project
"clzma"
project
"clzma"
kind
"StaticLib"
kind
"StaticLib"
files
{
"**.c"
,
"**.h"
}
files
{
"**.c"
,
"**.h"
}
gframe/premake4.lua
View file @
ebf8f8d4
include
"lzma"
include
"lzma"
project
"ygopro"
project
"ygopro"
kind
"WindowedApp"
kind
"WindowedApp"
files
{
"**.cpp"
,
"**.cc"
,
"**.c"
,
"**.h"
}
files
{
"**.cpp"
,
"**.cc"
,
"**.c"
,
"**.h"
}
excludes
"lzma/**"
excludes
"lzma/**"
includedirs
{
"../ocgcore"
}
includedirs
{
"../ocgcore"
}
links
{
"ocgcore"
,
"clzma"
,
"Irrlicht"
,
"freetype"
,
"sqlite3"
,
"lua"
,
"event"
}
links
{
"ocgcore"
,
"clzma"
,
"Irrlicht"
,
"freetype"
,
"sqlite3"
,
"lua"
,
"event"
}
configuration
"windows"
configuration
"windows"
files
"ygopro.rc"
files
"ygopro.rc"
excludes
"CGUIButton.cpp"
excludes
"CGUIButton.cpp"
includedirs
{
"../irrlicht/include"
,
"../freetype/include"
,
"../event/include"
,
"../sqlite3"
}
includedirs
{
"../irrlicht/include"
,
"../freetype/include"
,
"../event/include"
,
"../sqlite3"
}
if
USE_IRRKLANG
then
if
USE_IRRKLANG
then
defines
{
"YGOPRO_USE_IRRKLANG"
}
defines
{
"YGOPRO_USE_IRRKLANG"
}
links
{
"irrKlang"
,
"ikpMP3"
}
links
{
"irrKlang"
,
"ikpMP3"
}
includedirs
{
"../irrklang/include"
}
includedirs
{
"../irrklang/include"
}
...
@@ -21,12 +21,12 @@ project "ygopro"
...
@@ -21,12 +21,12 @@ project "ygopro"
end
end
libdirs
{
"../irrklang/lib/Win32-visualStudio"
}
libdirs
{
"../irrklang/lib/Win32-visualStudio"
}
end
end
links
{
"opengl32"
,
"ws2_32"
,
"winmm"
,
"gdi32"
,
"kernel32"
,
"user32"
,
"imm32"
}
links
{
"opengl32"
,
"ws2_32"
,
"winmm"
,
"gdi32"
,
"kernel32"
,
"user32"
,
"imm32"
}
configuration
{
"windows"
,
"not vs*"
}
configuration
{
"windows"
,
"not vs*"
}
includedirs
{
"/mingw/include/irrlicht"
,
"/mingw/include/freetype2"
}
includedirs
{
"/mingw/include/irrlicht"
,
"/mingw/include/freetype2"
}
configuration
"not vs*"
configuration
"not vs*"
buildoptions
{
"-std=gnu++0x"
,
"-fno-rtti"
}
buildoptions
{
"-std=gnu++0x"
,
"-fno-rtti"
}
configuration
"not windows"
configuration
"not windows"
includedirs
{
"/usr/include/lua"
,
"/usr/include/lua5.3"
,
"/usr/include/lua/5.3"
,
"/usr/include/irrlicht"
,
"/usr/include/freetype2"
}
includedirs
{
"/usr/include/lua"
,
"/usr/include/lua5.3"
,
"/usr/include/lua/5.3"
,
"/usr/include/irrlicht"
,
"/usr/include/freetype2"
}
excludes
{
"COSOperator.*"
}
excludes
{
"COSOperator.*"
}
links
{
"event_pthreads"
,
"GL"
,
"dl"
,
"pthread"
}
links
{
"event_pthreads"
,
"GL"
,
"dl"
,
"pthread"
}
premake4.lua
View file @
ebf8f8d4
solution
"ygo"
solution
"ygo"
location
"build"
location
"build"
language
"C++"
language
"C++"
objdir
"obj"
objdir
"obj"
startproject
"ygopro"
startproject
"ygopro"
configurations
{
"Debug"
,
"Release"
}
configurations
{
"Debug"
,
"Release"
}
defines
{
"LUA_COMPAT_5_2"
}
defines
{
"LUA_COMPAT_5_2"
}
configuration
"windows"
configuration
"windows"
defines
{
"WIN32"
,
"_WIN32"
}
defines
{
"WIN32"
,
"_WIN32"
}
configuration
"bsd"
configuration
"bsd"
defines
{
"LUA_USE_POSIX"
}
defines
{
"LUA_USE_POSIX"
}
includedirs
{
"/usr/local/include"
}
includedirs
{
"/usr/local/include"
}
libdirs
{
"/usr/local/lib"
}
libdirs
{
"/usr/local/lib"
}
configuration
"macosx"
configuration
"macosx"
defines
{
"LUA_USE_MACOSX"
}
defines
{
"LUA_USE_MACOSX"
}
includedirs
{
"/usr/local/include/*"
}
includedirs
{
"/usr/local/include/*"
}
libdirs
{
"/usr/local/lib"
,
"/usr/X11/lib"
}
libdirs
{
"/usr/local/lib"
,
"/usr/X11/lib"
}
buildoptions
{
"-stdlib=libc++"
}
buildoptions
{
"-stdlib=libc++"
}
links
{
"OpenGL.framework"
,
"Cocoa.framework"
,
"IOKit.framework"
}
links
{
"OpenGL.framework"
,
"Cocoa.framework"
,
"IOKit.framework"
}
configuration
"linux"
configuration
"linux"
defines
{
"LUA_USE_LINUX"
}
defines
{
"LUA_USE_LINUX"
}
configuration
"vs*"
configuration
"vs*"
flags
"EnableSSE2"
flags
"EnableSSE2"
buildoptions
{
"-wd4996"
}
buildoptions
{
"-wd4996"
}
defines
{
"_CRT_SECURE_NO_WARNINGS"
}
defines
{
"_CRT_SECURE_NO_WARNINGS"
}
configuration
"not vs*"
configuration
"not vs*"
buildoptions
{
"-fno-strict-aliasing"
,
"-Wno-multichar"
}
buildoptions
{
"-fno-strict-aliasing"
,
"-Wno-multichar"
}
configuration
{
"not vs*"
,
"windows"
}
configuration
{
"not vs*"
,
"windows"
}
buildoptions
{
"-static-libgcc"
}
buildoptions
{
"-static-libgcc"
}
configuration
"Debug"
configuration
"Debug"
flags
"Symbols"
flags
"Symbols"
defines
"_DEBUG"
defines
"_DEBUG"
targetdir
"bin/debug"
targetdir
"bin/debug"
configuration
{
"Release"
,
"not vs*"
}
configuration
{
"Release"
,
"not vs*"
}
flags
"Symbols"
flags
"Symbols"
defines
"NDEBUG"
defines
"NDEBUG"
buildoptions
"-march=native"
buildoptions
"-march=native"
configuration
{
"Debug"
,
"vs*"
}
configuration
{
"Debug"
,
"vs*"
}
defines
{
"_ITERATOR_DEBUG_LEVEL=0"
}
defines
{
"_ITERATOR_DEBUG_LEVEL=0"
}
configuration
"Release"
configuration
"Release"
--flags { "OptimizeSpeed" }
--flags { "OptimizeSpeed" }
targetdir
"bin/release"
targetdir
"bin/release"
include
"ocgcore"
include
"ocgcore"
include
"gframe"
include
"gframe"
if
os
.
is
(
"windows"
)
then
if
os
.
is
(
"windows"
)
then
include
"event"
include
"event"
include
"freetype"
include
"freetype"
include
"irrlicht"
include
"irrlicht"
include
"lua"
include
"lua"
include
"sqlite3"
include
"sqlite3"
end
end
premake5.lua
View file @
ebf8f8d4
solution
"ygo"
solution
"ygo"
location
"build"
location
"build"
language
"C++"
language
"C++"
objdir
"obj"
objdir
"obj"
if
os
.
ishost
(
"windows"
)
or
os.getenv
(
"USE_IRRKLANG"
)
then
if
os
.
ishost
(
"windows"
)
or
os.getenv
(
"USE_IRRKLANG"
)
then
USE_IRRKLANG
=
true
USE_IRRKLANG
=
true
if
os.getenv
(
"irrklang_pro"
)
then
if
os.getenv
(
"irrklang_pro"
)
then
...
@@ -10,66 +10,66 @@ solution "ygo"
...
@@ -10,66 +10,66 @@ solution "ygo"
end
end
startproject
"ygopro"
startproject
"ygopro"
configurations
{
"Debug"
,
"Release"
}
configurations
{
"Debug"
,
"Release"
}
defines
{
"LUA_COMPAT_5_2"
}
defines
{
"LUA_COMPAT_5_2"
}
configuration
"windows"
configuration
"windows"
defines
{
"WIN32"
,
"_WIN32"
,
"WINVER=0x0501"
}
defines
{
"WIN32"
,
"_WIN32"
,
"WINVER=0x0501"
}
libdirs
{
"$(DXSDK_DIR)Lib/x86"
}
libdirs
{
"$(DXSDK_DIR)Lib/x86"
}
entrypoint
"mainCRTStartup"
entrypoint
"mainCRTStartup"
toolset
"v140_xp"
toolset
"v140_xp"
startproject
"ygopro"
startproject
"ygopro"
configuration
"bsd"
configuration
"bsd"
defines
{
"LUA_USE_POSIX"
}
defines
{
"LUA_USE_POSIX"
}
includedirs
{
"/usr/local/include"
}
includedirs
{
"/usr/local/include"
}
libdirs
{
"/usr/local/lib"
}
libdirs
{
"/usr/local/lib"
}
configuration
"macosx"
configuration
"macosx"
defines
{
"LUA_USE_MACOSX"
}
defines
{
"LUA_USE_MACOSX"
}
includedirs
{
"/usr/local/include"
,
"/usr/local/include/*"
}
includedirs
{
"/usr/local/include"
,
"/usr/local/include/*"
}
libdirs
{
"/usr/local/lib"
,
"/usr/X11/lib"
}
libdirs
{
"/usr/local/lib"
,
"/usr/X11/lib"
}
buildoptions
{
"-stdlib=libc++"
}
buildoptions
{
"-stdlib=libc++"
}
links
{
"OpenGL.framework"
,
"Cocoa.framework"
,
"IOKit.framework"
}
links
{
"OpenGL.framework"
,
"Cocoa.framework"
,
"IOKit.framework"
}
configuration
"linux"
configuration
"linux"
defines
{
"LUA_USE_LINUX"
}
defines
{
"LUA_USE_LINUX"
}
configuration
"Release"
configuration
"Release"
optimize
"Speed"
optimize
"Speed"
targetdir
"bin/release"
targetdir
"bin/release"
configuration
"Debug"
configuration
"Debug"
symbols
"On"
symbols
"On"
defines
"_DEBUG"
defines
"_DEBUG"
targetdir
"bin/debug"
targetdir
"bin/debug"
configuration
{
"Release"
,
"vs*"
}
configuration
{
"Release"
,
"vs*"
}
flags
{
"StaticRuntime"
,
"LinkTimeOptimization"
}
flags
{
"StaticRuntime"
,
"LinkTimeOptimization"
}
disablewarnings
{
"4244"
,
"4267"
,
"4838"
,
"4577"
,
"4819"
,
"4018"
,
"4996"
,
"4477"
}
disablewarnings
{
"4244"
,
"4267"
,
"4838"
,
"4577"
,
"4819"
,
"4018"
,
"4996"
,
"4477"
}
configuration
{
"Release"
,
"not vs*"
}
configuration
{
"Release"
,
"not vs*"
}
symbols
"On"
symbols
"On"
defines
"NDEBUG"
defines
"NDEBUG"
buildoptions
"-march=native"
buildoptions
"-march=native"
configuration
{
"Debug"
,
"vs*"
}
configuration
{
"Debug"
,
"vs*"
}
defines
{
"_ITERATOR_DEBUG_LEVEL=0"
}
defines
{
"_ITERATOR_DEBUG_LEVEL=0"
}
disablewarnings
{
"4819"
}
disablewarnings
{
"4819"
}
configuration
"vs*"
configuration
"vs*"
vectorextensions
"SSE2"
vectorextensions
"SSE2"
defines
{
"_CRT_SECURE_NO_WARNINGS"
}
defines
{
"_CRT_SECURE_NO_WARNINGS"
}
configuration
"not vs*"
configuration
"not vs*"
buildoptions
{
"-fno-strict-aliasing"
,
"-Wno-multichar"
}
buildoptions
{
"-fno-strict-aliasing"
,
"-Wno-multichar"
}
configuration
{
"not vs*"
,
"windows"
}
configuration
{
"not vs*"
,
"windows"
}
buildoptions
{
"-static-libgcc"
}
buildoptions
{
"-static-libgcc"
}
include
"ocgcore"
include
"ocgcore"
include
"gframe"
include
"gframe"
if
os
.
ishost
(
"windows"
)
then
if
os
.
ishost
(
"windows"
)
then
include
"event"
include
"event"
include
"freetype"
include
"freetype"
include
"irrlicht"
include
"irrlicht"
...
@@ -78,4 +78,4 @@ solution "ygo"
...
@@ -78,4 +78,4 @@ solution "ygo"
if
IRRKLANG_PRO
then
if
IRRKLANG_PRO
then
include
"ikpmp3"
include
"ikpmp3"
end
end
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