From 6392b61a98b34481ade8b5b7a21b80f8789fa5c3 Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Tue, 20 Dec 2011 20:50:03 +0000 Subject: [PATCH] add a missing file, duh --- Demos/SoftDemo/AMD/premake4.lua | 59 +++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 Demos/SoftDemo/AMD/premake4.lua diff --git a/Demos/SoftDemo/AMD/premake4.lua b/Demos/SoftDemo/AMD/premake4.lua new file mode 100644 index 000000000..2e3d16cbe --- /dev/null +++ b/Demos/SoftDemo/AMD/premake4.lua @@ -0,0 +1,59 @@ + + hasCL = findOpenCL_AMD() + + if (hasCL) then + + project "AppSoftBodyDemo_AMD" + + defines { "USE_AMD_OPENCL","CL_PLATFORM_AMD"} + + initOpenCL_AMD() + + language "C++" + + kind "ConsoleApp" + targetdir "../../.." + + libdirs {"../../../Glut"} + + links { + "LinearMath", + "BulletCollision", + "BulletDynamics", + "BulletSoftBody", + "BulletSoftBodySolvers_OpenCL_AMD", + "OpenGLSupport", + "opengl32" + } + + configuration "x64" + links { + "glut64", + "glew64" + } + configuration "x32" + links { + "glut32", + "glew32" + } + + configuration{} + + + includedirs { + "../../SharedOpenCL", + "../../../src", + "../../../Glut", + "../../OpenGL" + } + + files { + "../SoftDemo.cpp", + "../SoftDemo.h", + "../main.cpp", + "../../SharedOpenCL/btOpenCLUtils.cpp", + "../../SharedOpenCL/btOpenCLUtils.h", + "../../SharedOpenCL/btOpenCLInclude.h" + } + + end \ No newline at end of file