diff --git a/Demos3/AllBullet2Demos/premake4.lua b/Demos3/AllBullet2Demos/premake4.lua index ff371d317..23c40e6a8 100644 --- a/Demos3/AllBullet2Demos/premake4.lua +++ b/Demos3/AllBullet2Demos/premake4.lua @@ -26,6 +26,8 @@ "../bullet2/FeatherstoneMultiBodyDemo/BulletMultiBodyDemos.h", "../bullet2/BasicDemo/BasicDemo.cpp", "../bullet2/BasicDemo/BasicDemo.h", + "../bullet2/RagdollDemo/RagdollDemo.cpp", + "../bullet2/RagdollDemo/RagdollDemo.h", "../../src/Bullet3Common/**.cpp", "../../src/Bullet3Common/**.h", "../../btgui/Timing/b3Clock.cpp", @@ -34,6 +36,7 @@ "../GpuDemos/gwenUserInterface.h" } +if os.is("Linux") then links{"X11"} end if os.is("MacOSX") then links{"Cocoa.framework"} end diff --git a/Demos3/SimpleOpenGL3/premake4.lua b/Demos3/SimpleOpenGL3/premake4.lua index bb5b27f56..679ca3a10 100644 --- a/Demos3/SimpleOpenGL3/premake4.lua +++ b/Demos3/SimpleOpenGL3/premake4.lua @@ -26,6 +26,7 @@ "../../btgui/Timing/b3Clock.h" } +if os.is("Linux") then links {"X11"} end if os.is("MacOSX") then links{"Cocoa.framework"} diff --git a/demos3/bullet2/BasicDemo/Bullet2RigidBodyDemo.cpp b/Demos3/bullet2/BasicDemo/Bullet2RigidBodyDemo.cpp similarity index 100% rename from demos3/bullet2/BasicDemo/Bullet2RigidBodyDemo.cpp rename to Demos3/bullet2/BasicDemo/Bullet2RigidBodyDemo.cpp diff --git a/demos3/bullet2/BasicDemo/Bullet2RigidBodyDemo.h b/Demos3/bullet2/BasicDemo/Bullet2RigidBodyDemo.h similarity index 100% rename from demos3/bullet2/BasicDemo/Bullet2RigidBodyDemo.h rename to Demos3/bullet2/BasicDemo/Bullet2RigidBodyDemo.h