mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-09 00:50:17 +00:00
68 lines
1.2 KiB
Lua
68 lines
1.2 KiB
Lua
|
|
hasCL = findOpenCL_Intel()
|
|
|
|
if (hasCL) then
|
|
|
|
project "AppOpenCLClothDemo_Intel"
|
|
|
|
defines { "USE_INTEL_OPENCL","CL_PLATFORM_INTEL"}
|
|
|
|
initOpenCL_Intel()
|
|
|
|
language "C++"
|
|
|
|
kind "ConsoleApp"
|
|
targetdir "../../.."
|
|
|
|
libdirs {"../../../Glut"}
|
|
|
|
links {
|
|
"LinearMath",
|
|
"BulletCollision",
|
|
"BulletDynamics",
|
|
"BulletSoftBody",
|
|
"BulletSoftBodySolvers_OpenCL_Intel",
|
|
"opengl32"
|
|
}
|
|
|
|
configuration { "Windows" }
|
|
defines { "GLEW_STATIC"}
|
|
|
|
|
|
configuration "x64"
|
|
links {
|
|
"glut64",
|
|
"glew64s"
|
|
}
|
|
configuration "x32"
|
|
links {
|
|
"glut32",
|
|
"glew32s"
|
|
}
|
|
|
|
configuration{}
|
|
|
|
|
|
includedirs {
|
|
"../../../src",
|
|
"../../../Glut",
|
|
"../../SharedOpenCL",
|
|
"../../OpenGL"
|
|
}
|
|
|
|
files {
|
|
"../cl_cloth_demo.cpp",
|
|
"../../SharedOpenCL/btOpenCLUtils.cpp",
|
|
"../../SharedOpenCL/btOpenCLUtils.h",
|
|
"../../SharedOpenCL/btOpenCLInclude.h",
|
|
"../../OpenGL/GLDebugDrawer.cpp",
|
|
"../../OpenGL/stb_image.cpp",
|
|
"../../OpenGL/stb_image.h",
|
|
"../gl_win.cpp",
|
|
"../clstuff.cpp",
|
|
"../clstuff.h",
|
|
"../gl_win.h",
|
|
"../cloth.h"
|
|
}
|
|
|
|
end |