Minor fixes

This commit is contained in:
Jérôme Leclercq 2022-03-16 08:25:19 +01:00
parent 19f6bdf7e0
commit eb4629947e
3 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,8 @@
// This file is part of the "Nazara Engine - Core module"
// For conditions of distribution and use, see copyright notice in Config.hpp
// no header guards
#ifndef _WINDOWS_
#error This header should only be included after including windows.h directly or indirectly in a .cpp
#endif

View File

@ -2,6 +2,8 @@
// This file is part of the "Nazara Engine - Core module"
// For conditions of distribution and use, see copyright notice in Config.hpp
// no header guards
#ifndef _X11_XLIB_H_
#error This header should only be included after including X11/Xlib.h directly or indirectly in a .cpp
#endif

View File

@ -56,7 +56,7 @@ local modules = {
},
Physics2D = {
Deps = {"NazaraUtility"},
Packages = {"chipmunk2d"}
Packages = {"entt", "chipmunk2d"}
},
Physics3D = {
Deps = {"NazaraUtility"},
@ -217,7 +217,7 @@ for name, module in pairs(modules) do
if has_config("unitybuild") then
add_defines("NAZARA_UNITY_BUILD")
add_rules("c++.unity_build", {uniqueid = "NAZARA_UNITY_ID"})
add_rules("c++.unity_build", {uniqueid = "NAZARA_UNITY_ID", batchsize = 12})
end
add_defines("NAZARA_BUILD")