Upgrade to Newton 3.14 and make it a thirdparty lib
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user