Build: Enable big object only on Windows
This commit is contained in:
parent
5d4595e9d6
commit
2f11529669
|
|
@ -747,9 +747,6 @@ end
|
||||||
function NazaraBuild:PrepareMainWorkspace()
|
function NazaraBuild:PrepareMainWorkspace()
|
||||||
self:PrepareGeneric()
|
self:PrepareGeneric()
|
||||||
|
|
||||||
filter(clangGccActions)
|
|
||||||
buildoptions("-Wa,-mbig-obj") -- big object
|
|
||||||
|
|
||||||
filter("action:vs*")
|
filter("action:vs*")
|
||||||
buildoptions({"/MP", "/bigobj"}) -- Multiprocessus build and big .obj
|
buildoptions({"/MP", "/bigobj"}) -- Multiprocessus build and big .obj
|
||||||
defines("_CRT_SECURE_NO_WARNINGS")
|
defines("_CRT_SECURE_NO_WARNINGS")
|
||||||
|
|
@ -767,6 +764,9 @@ function NazaraBuild:PrepareMainWorkspace()
|
||||||
filter("kind:*Lib")
|
filter("kind:*Lib")
|
||||||
defines("NAZARA_BUILD")
|
defines("NAZARA_BUILD")
|
||||||
|
|
||||||
|
filter({"system:Windows", clangGccActions})
|
||||||
|
buildoptions("-Wa,-mbig-obj") -- big object
|
||||||
|
|
||||||
filter({"system:not Windows", clangGccActions})
|
filter({"system:not Windows", clangGccActions})
|
||||||
buildoptions("-fvisibility=hidden")
|
buildoptions("-fvisibility=hidden")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue