Nazara will now build on 64bits target
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
This commit is contained in:
parent
44f1309836
commit
278a15de62
|
|
@ -21,11 +21,12 @@ includedirs
|
||||||
libdirs "../lib"
|
libdirs "../lib"
|
||||||
|
|
||||||
if (_OPTIONS["x64"]) then
|
if (_OPTIONS["x64"]) then
|
||||||
|
defines "NAZARA_PLATFORM_x64"
|
||||||
libdirs "../extlibs/lib/x64"
|
libdirs "../extlibs/lib/x64"
|
||||||
|
else
|
||||||
|
libdirs "../extlibs/lib/x86"
|
||||||
end
|
end
|
||||||
|
|
||||||
libdirs "../extlibs/lib/x86"
|
|
||||||
|
|
||||||
targetdir "../lib"
|
targetdir "../lib"
|
||||||
|
|
||||||
configuration "Debug*"
|
configuration "Debug*"
|
||||||
|
|
@ -57,6 +58,9 @@ configuration "DebugDLL"
|
||||||
|
|
||||||
configuration "codeblocks or codelite or gmake or xcode3*"
|
configuration "codeblocks or codelite or gmake or xcode3*"
|
||||||
buildoptions "-std=c++11"
|
buildoptions "-std=c++11"
|
||||||
|
if (_OPTIONS["x64"]) then
|
||||||
|
buildoptions "-m64"
|
||||||
|
end
|
||||||
|
|
||||||
configuration { "linux or bsd or macosx", "gmake" }
|
configuration { "linux or bsd or macosx", "gmake" }
|
||||||
buildoptions "-fvisibility=hidden"
|
buildoptions "-fvisibility=hidden"
|
||||||
|
|
|
||||||
|
|
@ -17,11 +17,12 @@ includedirs { "../include", "../extlibs/include" }
|
||||||
libdirs "../lib"
|
libdirs "../lib"
|
||||||
|
|
||||||
if (_OPTIONS["x64"]) then
|
if (_OPTIONS["x64"]) then
|
||||||
|
defines "NAZARA_PLATFORM_x64"
|
||||||
libdirs "../extlibs/lib/x64"
|
libdirs "../extlibs/lib/x64"
|
||||||
|
else
|
||||||
|
libdirs "../extlibs/lib/x86"
|
||||||
end
|
end
|
||||||
|
|
||||||
libdirs "../extlibs/lib/x86"
|
|
||||||
|
|
||||||
targetdir "../examples/bin"
|
targetdir "../examples/bin"
|
||||||
|
|
||||||
configuration "Debug*"
|
configuration "Debug*"
|
||||||
|
|
|
||||||
|
|
@ -24,3 +24,8 @@ configuration "Release"
|
||||||
-- Activation du SSE côté GCC
|
-- Activation du SSE côté GCC
|
||||||
configuration { "Release*", "codeblocks or codelite or gmake or xcode3*" }
|
configuration { "Release*", "codeblocks or codelite or gmake or xcode3*" }
|
||||||
buildoptions "-mfpmath=sse"
|
buildoptions "-mfpmath=sse"
|
||||||
|
|
||||||
|
if (_OPTIONS["x64"]) then
|
||||||
|
configuration "codeblocks or codelite or gmake or xcode3*"
|
||||||
|
buildoptions "-m64"
|
||||||
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue