I used a new MinGW package to build these. If your doesn't work, use : 64bits: http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.0/64-bit/threads-win32/seh/ 32bits: http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.0/32-bit/threads-win32/dwarf/ Former-commit-id: 406181e292648f3bcd7431617c4db55eab7d918f
32 lines
666 B
Lua
32 lines
666 B
Lua
-- Configuration générale
|
|
configurations
|
|
{
|
|
"Debug",
|
|
"Release"
|
|
}
|
|
|
|
location("../extlibs/build/" .. _ACTION)
|
|
includedirs "../extlibs/include"
|
|
|
|
if (_OPTIONS["x64"]) then
|
|
targetdir "../extlibs/lib/x64"
|
|
else
|
|
targetdir "../extlibs/lib/x86"
|
|
end
|
|
|
|
configuration "Debug"
|
|
flags "Symbols"
|
|
targetsuffix "-d"
|
|
|
|
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"
|
|
|
|
if (_OPTIONS["x64"]) then
|
|
configuration "codeblocks or codelite or gmake or xcode3*"
|
|
buildoptions "-m64"
|
|
end
|