Initialize libbullet git in 2.0_beta.
[platform/upstream/libbullet.git] / Extras / RigidBodyGpuPipeline / opencl / broadphase_benchmark / Intel / premake4.lua
1         
2         hasCL = findOpenCL_Intel()
3         
4         if (hasCL) then
5
6                 project "OpenCL_broadphase_benchmark_Intel"
7
8                 initOpenCL_Intel()
9         
10                 language "C++"
11                                 
12                 kind "ConsoleApp"
13                 targetdir "../../../bin"
14
15                 initOpenGL()
16                 initGlut()
17                 initGlew()
18
19                         includedirs {
20                 "../../../rendering/BulletMath",
21                 "../../primitives",
22                 "../../../../../src"
23                 }
24                 
25                 files {
26                         "../main.cpp",
27                         "../findPairsOpenCL.cpp",
28                         "../findPairsOpenCL.h",
29                         "../btGridBroadphaseCL.cpp",
30                         "../btGridBroadphaseCL.h",
31                         "../../3dGridBroadphase/Shared/bt3dGridBroadphaseOCL.cpp",
32                         "../../3dGridBroadphase/Shared/bt3dGridBroadphaseOCL.h",
33                         "../../3dGridBroadphase/Shared/btGpu3DGridBroadphase.cpp",
34                         "../../3dGridBroadphase/Shared/btGpu3DGridBroadphase.h",
35                         "../../../../../src/LinearMath/btAlignedAllocator.cpp",
36                         "../../../../../src/LinearMath/btQuickprof.cpp",
37                         "../../../../../src/LinearMath/btQuickprof.h",
38                         "../../../../../src/BulletCollision/BroadphaseCollision/btBroadphaseProxy.cpp",
39                         "../../../../../src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.cpp",
40                         "../../../../../src/BulletCollision/BroadphaseCollision/btSimpleBroadphase.cpp",
41                         "../../basic_initialize/btOpenCLUtils.cpp",
42                         "../../basic_initialize/btOpenCLUtils.h",
43                         "../../opengl_interop/btOpenCLGLInteropBuffer.cpp",
44                         "../../opengl_interop/btOpenCLGLInteropBuffer.h",
45                         "../../opengl_interop/btStopwatch.cpp",
46                         "../../opengl_interop/btStopwatch.h"
47                 }
48                 
49         end