Upgrade to Newton 3.14 and make it a thirdparty lib

This commit is contained in:
Jérôme Leclercq
2020-09-06 17:09:19 +02:00
parent 8913d5c1d1
commit 67b0d70b7c
240 changed files with 103390 additions and 311 deletions

View File

@@ -122,6 +122,10 @@ function NazaraBuild:Execute()
end
filter({})
if (libTable.Custom) then
libTable.Custom()
end
end
end
@@ -180,6 +184,10 @@ function NazaraBuild:Execute()
end
filter({})
if (moduleTable.Custom) then
moduleTable.Custom()
end
end
-- Tools
@@ -251,6 +259,10 @@ function NazaraBuild:Execute()
end
filter({})
if (toolTable.Custom) then
toolTable.Custom()
end
end
group("Examples")
@@ -301,6 +313,10 @@ function NazaraBuild:Execute()
end
filter({})
if (exampleTable.Custom) then
exampleTable.Custom()
end
end
end
end

View File

@@ -1,6 +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.Custom = function()
vectorextensions("SSE3")
filter({"architecture:x86_64", "system:linux"})
defines("_POSIX_VER_64")
filter({"architecture:x86", "system:linux"})
defines("_POSIX_VER")
end