diff --git a/build/scripts/common.lua b/build/scripts/common.lua index 9dc951451..ab8f36140 100644 --- a/build/scripts/common.lua +++ b/build/scripts/common.lua @@ -36,9 +36,7 @@ configuration "Debug*" configuration "Release*" flags { "EnableSSE", "EnableSSE2", "Optimize", "OptimizeSpeed", "NoFramePointer", "NoRTTI" } --- Activation du SSE côté GCC configuration { "Release*", "codeblocks or codelite or gmake or xcode3*" } - buildoptions "-mfpmath=sse" configuration "*Static" defines "NAZARA_STATIC" @@ -57,7 +55,8 @@ configuration "DebugDLL" targetsuffix "-d" configuration "codeblocks or codelite or gmake or xcode3*" - buildoptions "-std=c++11" + buildoptions "-mfpmath=sse" -- Activation de la vectorisation du code + buildoptions "-std=c++11" -- On compile en C++11 if (_OPTIONS["x64"]) then buildoptions "-m64" end @@ -67,5 +66,3 @@ configuration { "linux or bsd or macosx", "gmake" } configuration "vs*" defines "_CRT_SECURE_NO_WARNINGS" - -configuration {} -- Fin du filtre