build system fixes

This commit is contained in:
Erwin Coumans
2017-05-13 13:50:35 -07:00
parent ef7a7f9004
commit e954374e56
3 changed files with 10 additions and 7 deletions

View File

@@ -193,6 +193,8 @@ SET(BulletExampleBrowser_SRCS
../SharedMemory/PhysicsServerCommandProcessor.h
../SharedMemory/SharedMemoryCommands.h
../SharedMemory/SharedMemoryPublic.h
../RobotSimulator/b3RobotSimulatorClientAPI.cpp
../RobotSimulator/b3RobotSimulatorClientAPI.h
../BasicDemo/BasicExample.cpp
../BasicDemo/BasicExample.h
../InverseDynamics/InverseDynamicsExample.cpp
@@ -254,8 +256,6 @@ SET(BulletExampleBrowser_SRCS
../RoboticsLearning/GripperGraspExample.cpp
../RoboticsLearning/GripperGraspExample.h
../RoboticsLearning/b3RobotSimAPI.cpp
../RoboticsLearning/b3RobotSimAPI.h
../RoboticsLearning/R2D2GraspExample.cpp
../RoboticsLearning/R2D2GraspExample.h
../RoboticsLearning/KukaGraspExample.cpp

View File

@@ -118,6 +118,8 @@ project "App_BulletExampleBrowser"
"../MultiThreading/b3ThreadSupportInterface.cpp",
"../InverseDynamics/InverseDynamicsExample.cpp",
"../InverseDynamics/InverseDynamicsExample.h",
"../RobotSimulator/b3RobotSimulatorClientAPI.cpp",
"../RobotSimulator/b3RobotSimulatorClientAPI.h",
"../BasicDemo/BasicExample.*",
"../Tutorial/*",
"../ExtendedTutorials/*",

View File

@@ -199,6 +199,7 @@ if not _OPTIONS["no-enet"] then
end
if _OPTIONS["serial"] then
project ("App_VRGloveHandSimulator")
@@ -248,11 +249,10 @@ project ("App_VRGloveHandSimulator")
}
defines {"B3_ENABLE_TINY_AUDIO"}
if _OPTIONS["serial"] then
defines{"B3_ENABLE_SERIAL"}
includedirs {"../../examples/ThirdPartyLibs/serial/include"}
links {"serial"}
end
defines{"B3_ENABLE_SERIAL"}
includedirs {"../../examples/ThirdPartyLibs/serial/include"}
links {"serial"}
if os.is("Windows") then
links {"winmm","Wsock32","dsound"}
@@ -280,3 +280,4 @@ project ("App_VRGloveHandSimulator")
if os.is("Linux") then
initX11()
end
end