Commit 2c90a81b authored by mercury233's avatar mercury233

update premake5

parent 6dc13147
...@@ -3,7 +3,7 @@ solution "ygo" ...@@ -3,7 +3,7 @@ solution "ygo"
language "C++" language "C++"
objdir "obj" objdir "obj"
configurations { "Release", "Debug" } configurations { "Debug", "Release" }
configuration "windows" configuration "windows"
defines { "WIN32", "_WIN32", "WINVER=0x0501" } defines { "WIN32", "_WIN32", "WINVER=0x0501" }
...@@ -18,7 +18,7 @@ solution "ygo" ...@@ -18,7 +18,7 @@ solution "ygo"
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" }
...@@ -50,6 +50,7 @@ solution "ygo" ...@@ -50,6 +50,7 @@ solution "ygo"
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" }
......
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