mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-11-15 20:26:05 +00:00
primarily to distribute project files that work. CMake is still better supported in general (not all demos/libs have been ported) Revert a recent change about warnings: %zu doesn't work in printf, %d does
28 lines
463 B
Lua
28 lines
463 B
Lua
|
|
hasCL = findOpenCL_NVIDIA()
|
|
|
|
if (hasCL) then
|
|
|
|
project "BulletSoftBodySolvers_OpenCL_NVIDIA"
|
|
|
|
defines { "USE_NVIDIA_OPENCL","CL_PLATFORM_NVIDIA"}
|
|
|
|
initOpenCL_NVIDIA()
|
|
|
|
kind "StaticLib"
|
|
|
|
targetdir "../../../../../lib"
|
|
|
|
includedirs {
|
|
".",
|
|
"../../../..",
|
|
"../../../../../Glut"
|
|
}
|
|
files {
|
|
"../btSoftBodySolver_OpenCL.cpp",
|
|
"../btSoftBodySolver_OpenCLSIMDAware.cpp",
|
|
"../btSoftBodySolverOutputCLtoGL.cpp"
|
|
}
|
|
|
|
end
|