bullet3/Demos/DX11ClothDemo/premake4.lua
2011-09-03 00:27:54 +00:00

41 lines
825 B
Lua

hasDX11 = findDirectX11()
if (hasDX11) then
project "App_DX11ClothDemo"
initDirectX11()
language "C++"
defines { "UNICODE","_UNICODE"}
kind "WindowedApp"
flags { "WinMain" }
targetdir "../.."
includedirs {
"../../src",
"DXUT/Core",
"DXUT/Optional"
}
links {
"LinearMath","BulletCollision","BulletDynamics", "BulletSoftBody", "BulletSoftBodyDX11Solvers"
}
files {
"DXUT/Core/DXUT.cpp",
"DXUT/Optional/DXUTcamera.cpp",
"DXUT/Core/DXUTDevice11.cpp",
"DXUT/Core/DXUTDevice9.cpp",
"DXUT/Optional/DXUTgui.cpp",
"DXUT/Core/DXUTmisc.cpp",
"DXUT/Optional/DXUTres.cpp",
"DXUT/Optional/DXUTsettingsdlg.cpp",
"DXUT/Optional/SDKmesh.cpp",
"DXUT/Optional/SDKmisc.cpp",
"cloth_renderer.cpp"
}
end