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

38
thirdparty/build/newton.lua vendored Normal file
View File

@@ -0,0 +1,38 @@
LIBRARY.Name = "newton"
LIBRARY.Defines = {
"_CRT_SECURE_NO_WARNINGS",
"_NEWTON_STATIC_LIB",
}
LIBRARY.OsDefines.Windows = {
"_WINDOWS"
}
LIBRARY.Language = "C++"
LIBRARY.Files = {
"../thirdparty/include/newton/**.h",
"../thirdparty/src/newton/**.h",
"../thirdparty/src/newton/**.c",
"../thirdparty/src/newton/**.cpp",
}
LIBRARY.Includes = {
"../thirdparty/src/newton/dgCore",
"../thirdparty/src/newton/dgMeshUtil",
"../thirdparty/src/newton/dgPhysics",
"../thirdparty/src/newton/dgNewton",
"../thirdparty/src/newton/dContainers",
"../thirdparty/src/newton/dMath"
}
LIBRARY.Custom = function()
vectorextensions("SSE3")
filter({"architecture:x86_64", "system:linux"})
defines("_POSIX_VER_64")
filter({"architecture:x86", "system:linux"})
defines("_POSIX_VER")
end