123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291 |
- project "App_SharedMemoryPhysics"
- if _OPTIONS["ios"] then
- kind "WindowedApp"
- else
- kind "ConsoleApp"
- end
- includedirs {".","../../src", "../ThirdPartyLibs",}
- links {
- "Bullet3Common","BulletInverseDynamicsUtils", "BulletInverseDynamics", "BulletDynamics","BulletCollision", "LinearMath", "BussIK"
- }
- language "C++"
- myfiles =
- {
- "IKTrajectoryHelper.cpp",
- "IKTrajectoryHelper.h",
- "PhysicsClient.cpp",
- "PhysicsClientSharedMemory.cpp",
- "PhysicsClientExample.cpp",
- "PhysicsServerExample.cpp",
- "PhysicsServerSharedMemory.cpp",
- "PhysicsServerSharedMemory.h",
- "PhysicsServer.cpp",
- "PhysicsServer.h",
- "PhysicsClientC_API.cpp",
- "SharedMemoryCommands.h",
- "SharedMemoryPublic.h",
- "PhysicsServer.cpp",
- "PosixSharedMemory.cpp",
- "Win32SharedMemory.cpp",
- "InProcessMemory.cpp",
- "PhysicsDirect.cpp",
- "PhysicsDirect.h",
- "PhysicsDirectC_API.cpp",
- "PhysicsDirectC_API.h",
- "PhysicsLoopBack.cpp",
- "PhysicsLoopBack.h",
- "PhysicsLoopBackC_API.cpp",
- "PhysicsLoopBackC_API.h",
- "PhysicsServerCommandProcessor.cpp",
- "PhysicsServerCommandProcessor.h",
- "TinyRendererVisualShapeConverter.cpp",
- "TinyRendererVisualShapeConverter.h",
- "../TinyRenderer/geometry.cpp",
- "../TinyRenderer/model.cpp",
- "../TinyRenderer/tgaimage.cpp",
- "../TinyRenderer/our_gl.cpp",
- "../TinyRenderer/TinyRenderer.cpp",
- "../OpenGLWindow/SimpleCamera.cpp",
- "../OpenGLWindow/SimpleCamera.h",
- "../Importers/ImportURDFDemo/ConvertRigidBodies2MultiBody.h",
- "../Importers/ImportURDFDemo/MultiBodyCreationInterface.h",
- "../Importers/ImportURDFDemo/MyMultiBodyCreator.cpp",
- "../Importers/ImportURDFDemo/MyMultiBodyCreator.h",
- "../Importers/ImportURDFDemo/BulletUrdfImporter.cpp",
- "../Importers/ImportURDFDemo/BulletUrdfImporter.h",
- "../Importers/ImportURDFDemo/UrdfParser.cpp",
- "../Importers/ImportURDFDemo/urdfStringSplit.cpp",
- "../Importers/ImportURDFDemo/UrdfParser.cpp",
- "../Importers/ImportURDFDemo/UrdfParser.h",
- "../Importers/ImportURDFDemo/URDF2Bullet.cpp",
- "../Importers/ImportURDFDemo/URDF2Bullet.h",
- "../Utils/b3ResourcePath.cpp",
- "../Utils/b3Clock.cpp",
- "../../Extras/Serialize/BulletWorldImporter/*",
- "../../Extras/Serialize/BulletFileLoader/*",
- "../Importers/ImportURDFDemo/URDFImporterInterface.h",
- "../Importers/ImportURDFDemo/URDFJointTypes.h",
- "../Importers/ImportObjDemo/Wavefront2GLInstanceGraphicsShape.cpp",
- "../Importers/ImportObjDemo/LoadMeshFromObj.cpp",
- "../Importers/ImportSTLDemo/ImportSTLSetup.h",
- "../Importers/ImportSTLDemo/LoadMeshFromSTL.h",
- "../Importers/ImportColladaDemo/LoadMeshFromCollada.cpp",
- "../Importers/ImportColladaDemo/ColladaGraphicsInstance.h",
- "../ThirdPartyLibs/Wavefront/tiny_obj_loader.cpp",
- "../ThirdPartyLibs/tinyxml/tinystr.cpp",
- "../ThirdPartyLibs/tinyxml/tinyxml.cpp",
- "../ThirdPartyLibs/tinyxml/tinyxmlerror.cpp",
- "../ThirdPartyLibs/tinyxml/tinyxmlparser.cpp",
- "../Importers/ImportMeshUtility/b3ImportMeshUtility.cpp",
- "../ThirdPartyLibs/stb_image/stb_image.cpp",
- }
- files {
- myfiles,
- "main.cpp",
- }
- files {
- "../MultiThreading/b3ThreadSupportInterface.cpp",
- "../MultiThreading/b3ThreadSupportInterface.h"
- }
- if os.is("Windows") then
- files {
- "../MultiThreading/b3Win32ThreadSupport.cpp",
- "../MultiThreading/b3Win32ThreadSupport.h"
- }
- --links {"winmm"}
- --defines {"__WINDOWS_MM__", "WIN32"}
- end
- if os.is("Linux") then
- files {
- "../MultiThreading/b3PosixThreadSupport.cpp",
- "../MultiThreading/b3PosixThreadSupport.h"
- }
- links {"pthread"}
- end
- if os.is("MacOSX") then
- files {
- "../MultiThreading/b3PosixThreadSupport.cpp",
- "../MultiThreading/b3PosixThreadSupport.h"
- }
- links {"pthread"}
- --links{"CoreAudio.framework", "coreMIDI.framework", "Cocoa.framework"}
- --defines {"__MACOSX_CORE__"}
- end
- project "App_SharedMemoryPhysics_GUI"
- if _OPTIONS["ios"] then
- kind "WindowedApp"
- else
- kind "ConsoleApp"
- end
- defines {"B3_USE_STANDALONE_EXAMPLE"}
- includedirs {"../../src", "../ThirdPartyLibs"}
- links {
- "BulletInverseDynamicsUtils", "BulletInverseDynamics", "BulletDynamics","BulletCollision", "LinearMath", "OpenGL_Window","Bullet3Common","BussIK"
- }
- initOpenGL()
- initGlew()
- language "C++"
- files {
- myfiles,
- "../StandaloneMain/main_opengl_single_example.cpp",
- "../ExampleBrowser/OpenGLGuiHelper.cpp",
- "../ExampleBrowser/GL_ShapeDrawer.cpp",
- "../ExampleBrowser/CollisionShape2TriangleMesh.cpp",
- }
- if os.is("Linux") then initX11() end
- if os.is("MacOSX") then
- links{"Cocoa.framework"}
- end
- files {
- "../MultiThreading/b3ThreadSupportInterface.cpp",
- "../MultiThreading/b3ThreadSupportInterface.h"
- }
- if os.is("Windows") then
- files {
- "../MultiThreading/b3Win32ThreadSupport.cpp",
- "../MultiThreading/b3Win32ThreadSupport.h"
- }
- --links {"winmm"}
- --defines {"__WINDOWS_MM__", "WIN32"}
- end
- if os.is("Linux") then
- files {
- "../MultiThreading/b3PosixThreadSupport.cpp",
- "../MultiThreading/b3PosixThreadSupport.h"
- }
- links {"pthread"}
- end
- if os.is("MacOSX") then
- files {
- "../MultiThreading/b3PosixThreadSupport.cpp",
- "../MultiThreading/b3PosixThreadSupport.h"
- }
- links {"pthread"}
- --links{"CoreAudio.framework", "coreMIDI.framework", "Cocoa.framework"}
- --defines {"__MACOSX_CORE__"}
- end
- if os.is("Windows") then
- project "App_SharedMemoryPhysics_VR"
- --for now, only enable VR under Windows, until compilation issues are resolved on Mac/Linux
- defines {"B3_USE_STANDALONE_EXAMPLE","BT_ENABLE_VR"}
-
- if _OPTIONS["ios"] then
- kind "WindowedApp"
- else
- kind "ConsoleApp"
- end
-
- includedirs {
- ".","../../src", "../ThirdPartyLibs",
- "../ThirdPartyLibs/openvr/headers",
- "../ThirdPartyLibs/openvr/samples/shared"
- }
-
- links {
- "BulletInverseDynamicsUtils", "BulletInverseDynamics","Bullet3Common", "BulletDynamics","BulletCollision", "LinearMath","OpenGL_Window","openvr_api","BussIK"
- }
-
-
- language "C++"
-
-
- initOpenGL()
- initGlew()
-
-
- files
- {
- myfiles,
- "../StandaloneMain/hellovr_opengl_main.cpp",
- "../ExampleBrowser/OpenGLGuiHelper.cpp",
- "../ExampleBrowser/GL_ShapeDrawer.cpp",
- "../ExampleBrowser/CollisionShape2TriangleMesh.cpp",
- "../RenderingExamples/TinyVRGui.cpp",
- "../RenderingExamples/TimeSeriesCanvas.cpp",
- "../RenderingExamples/TimeSeriesFontData.cpp",
- "../ThirdPartyLibs/openvr/samples/shared/lodepng.cpp",
- "../ThirdPartyLibs/openvr/samples/shared/lodepng.h",
- "../ThirdPartyLibs/openvr/samples/shared/Matrices.cpp",
- "../ThirdPartyLibs/openvr/samples/shared/Matrices.h",
- "../ThirdPartyLibs/openvr/samples/shared/pathtools.cpp",
- "../ThirdPartyLibs/openvr/samples/shared/pathtools.h",
- "../ThirdPartyLibs/openvr/samples/shared/Vectors.h",
- }
- if os.is("Windows") then
- libdirs {"../ThirdPartyLibs/openvr/lib/win32"}
- end
-
- if os.is("Linux") then initX11() end
-
- if os.is("MacOSX") then
- links{"Cocoa.framework"}
- end
-
-
- files {
- "../MultiThreading/b3ThreadSupportInterface.cpp",
- "../MultiThreading/b3ThreadSupportInterface.h"
- }
- if os.is("Windows") then
-
- files {
- "../MultiThreading/b3Win32ThreadSupport.cpp",
- "../MultiThreading/b3Win32ThreadSupport.h"
- }
- --links {"winmm"}
- --defines {"__WINDOWS_MM__", "WIN32"}
- end
-
- if os.is("Linux") then
- files {
- "../MultiThreading/b3PosixThreadSupport.cpp",
- "../MultiThreading/b3PosixThreadSupport.h"
- }
-
- links {"pthread"}
- end
-
- if os.is("MacOSX") then
- files {
- "../MultiThreading/b3PosixThreadSupport.cpp",
- "../MultiThreading/b3PosixThreadSupport.h"
- }
-
- links {"pthread"}
- --links{"CoreAudio.framework", "coreMIDI.framework", "Cocoa.framework"}
- --defines {"__MACOSX_CORE__"}
- end
- end
|