Build: Enabled multi-processor building on VS
Former-commit-id: c62e66a548b36e81a3816bff9457691f203a1f73
This commit is contained in:
@@ -35,6 +35,9 @@ function NazaraBuild:Execute()
|
|||||||
libdirs("../extlibs/lib/mingw/x64")
|
libdirs("../extlibs/lib/mingw/x64")
|
||||||
targetdir("../extlibs/lib/mingw/x64")
|
targetdir("../extlibs/lib/mingw/x64")
|
||||||
|
|
||||||
|
configuration("vs*")
|
||||||
|
buildoptions("/MP")
|
||||||
|
|
||||||
configuration({"vs*", "x32"})
|
configuration({"vs*", "x32"})
|
||||||
libdirs("../extlibs/lib/msvc/x86")
|
libdirs("../extlibs/lib/msvc/x86")
|
||||||
targetdir("../extlibs/lib/msvc/x86")
|
targetdir("../extlibs/lib/msvc/x86")
|
||||||
@@ -131,9 +134,11 @@ function NazaraBuild:Execute()
|
|||||||
buildoptions("-fvisibility=hidden")
|
buildoptions("-fvisibility=hidden")
|
||||||
|
|
||||||
configuration("vs*")
|
configuration("vs*")
|
||||||
|
buildoptions("/MP")
|
||||||
defines("_CRT_SECURE_NO_WARNINGS")
|
defines("_CRT_SECURE_NO_WARNINGS")
|
||||||
defines("_SCL_SECURE_NO_WARNINGS")
|
defines("_SCL_SECURE_NO_WARNINGS")
|
||||||
|
|
||||||
|
|
||||||
-- Spécification des modules
|
-- Spécification des modules
|
||||||
if (_OPTIONS["united"]) then
|
if (_OPTIONS["united"]) then
|
||||||
project("NazaraEngine")
|
project("NazaraEngine")
|
||||||
|
|||||||
Reference in New Issue
Block a user