Commit 1d615fa1 authored by mercury233's avatar mercury233

update premake

parent ffbcbaab
......@@ -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/*" }
includedirs { "/usr/local/include", "/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 "EnableSSE2"
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.ishost("windows") then
include "event"
include "freetype"
include "irrlicht"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment