Merge branch 'master' into nazara-next

This commit is contained in:
Jérôme Leclercq
2020-09-17 20:28:11 +02:00
270 changed files with 106800 additions and 334 deletions

View File

@@ -126,6 +126,10 @@ function NazaraBuild:Execute()
end
filter({})
if (libTable.Custom) then
libTable.Custom()
end
self:PostconfigGenericProject()
end
@@ -186,6 +190,10 @@ function NazaraBuild:Execute()
end
filter({})
if (moduleTable.Custom) then
moduleTable.Custom()
end
if (not _OPTIONS["united"]) then
self:PostconfigNazaraProject()
@@ -267,6 +275,10 @@ function NazaraBuild:Execute()
filter({})
self:PostconfigNazaraProject()
if (toolTable.Custom) then
toolTable.Custom()
end
end
group("Examples")
@@ -321,6 +333,10 @@ function NazaraBuild:Execute()
filter({})
if (exampleTable.Custom) then
exampleTable.Custom()
end
self:PostconfigNazaraProject()
end
end

View File

@@ -1,10 +1,24 @@
MODULE.Name = "Physics3D"
MODULE.Defines = {
"_NEWTON_STATIC_LIB"
}
MODULE.OsDefines.Windows = {
"_WINDOWS"
}
MODULE.Libraries = {
"NazaraCore",
"Newton" -- Newton Game Dynamics
"newton" -- Newton Game Dynamics
}
MODULE.DynLib = {
"Newton"
}
MODULE.Custom = function()
vectorextensions("SSE3")
filter({"architecture:x86_64", "system:linux"})
defines("_POSIX_VER_64")
filter({"architecture:x86", "system:linux"})
defines("_POSIX_VER")
end