mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 13:17:49 +00:00
28 lines
436 B
Lua
28 lines
436 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
|