Imported Upstream version 2.81
[platform/upstream/libbullet.git] / src / BulletMultiThreaded / GpuSoftBodySolvers / OpenCL / NVidia / premake4.lua
1         \r
2 hasCL = findOpenCL_NVIDIA()\r
3         \r
4 if (hasCL) then\r
5         \r
6         project "BulletSoftBodySolvers_OpenCL_NVIDIA"\r
7                 \r
8         defines { "USE_NVIDIA_OPENCL","CL_PLATFORM_NVIDIA"}\r
9 \r
10         initOpenCL_NVIDIA()\r
11         \r
12         kind "StaticLib"\r
13         \r
14         targetdir "../../../../../lib"\r
15         \r
16         includedirs {\r
17                 ".",\r
18                 "../../../..",\r
19                 "../../../../../Glut"\r
20         }\r
21         files {\r
22                 "../btSoftBodySolver_OpenCL.cpp",\r
23                 "../btSoftBodySolver_OpenCLSIMDAware.cpp",\r
24                 "../btSoftBodySolverOutputCLtoGL.cpp"\r
25         }\r
26 \r
27 end\r