fix Linux build

by default, only enable 64bit build when using ./premake4_linux64 and only 32bit build when using ./premake4_linux
remove some warning
This commit is contained in:
erwin.coumans@gmail.com
2013-10-22 18:10:45 +00:00
parent a21480c8ca
commit 23f612bbb5
3 changed files with 30 additions and 4 deletions

View File

@@ -54,8 +54,17 @@ solution "0BulletSolution"
flags { "Optimize", "EnableSSE", "StaticRuntime", "NoMinimalRebuild", "FloatFast"}
configuration "Debug"
flags { "Symbols", "StaticRuntime" , "NoMinimalRebuild", "NoEditAndContinue" ,"FloatFast"}
platforms {"x32", "x64"}
if os.is("Linux") then
if os.is64bit() then
platforms {"x64"}
else
platforms {"x32"}
end
else
platforms {"x32", "x64"}
end
--platforms {"x32"}
configuration {"Windows"}