Minor fixes
This commit is contained in:
parent
19f6bdf7e0
commit
eb4629947e
|
|
@ -2,6 +2,8 @@
|
||||||
// This file is part of the "Nazara Engine - Core module"
|
// This file is part of the "Nazara Engine - Core module"
|
||||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||||
|
|
||||||
|
// no header guards
|
||||||
|
|
||||||
#ifndef _WINDOWS_
|
#ifndef _WINDOWS_
|
||||||
#error This header should only be included after including windows.h directly or indirectly in a .cpp
|
#error This header should only be included after including windows.h directly or indirectly in a .cpp
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,8 @@
|
||||||
// This file is part of the "Nazara Engine - Core module"
|
// This file is part of the "Nazara Engine - Core module"
|
||||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||||
|
|
||||||
|
// no header guards
|
||||||
|
|
||||||
#ifndef _X11_XLIB_H_
|
#ifndef _X11_XLIB_H_
|
||||||
#error This header should only be included after including X11/Xlib.h directly or indirectly in a .cpp
|
#error This header should only be included after including X11/Xlib.h directly or indirectly in a .cpp
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ local modules = {
|
||||||
},
|
},
|
||||||
Physics2D = {
|
Physics2D = {
|
||||||
Deps = {"NazaraUtility"},
|
Deps = {"NazaraUtility"},
|
||||||
Packages = {"chipmunk2d"}
|
Packages = {"entt", "chipmunk2d"}
|
||||||
},
|
},
|
||||||
Physics3D = {
|
Physics3D = {
|
||||||
Deps = {"NazaraUtility"},
|
Deps = {"NazaraUtility"},
|
||||||
|
|
@ -217,7 +217,7 @@ for name, module in pairs(modules) do
|
||||||
|
|
||||||
if has_config("unitybuild") then
|
if has_config("unitybuild") then
|
||||||
add_defines("NAZARA_UNITY_BUILD")
|
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
|
end
|
||||||
|
|
||||||
add_defines("NAZARA_BUILD")
|
add_defines("NAZARA_BUILD")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue