tweak cmake, add option BUILD_PYBULLET
This commit is contained in:
@@ -191,6 +191,7 @@ IF (APPLE)
|
||||
ENDIF()
|
||||
|
||||
OPTION(BUILD_BULLET3 "Set when you want to build Bullet 3" ON)
|
||||
OPTION(BUILD_PYBULLET "Set when you want to build pybullet (experimental Python bindings for Bullet)" OFF)
|
||||
|
||||
IF(BUILD_BULLET3)
|
||||
IF(APPLE)
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
SUBDIRS( HelloWorld BasicDemo )
|
||||
IF(BUILD_BULLET3)
|
||||
SUBDIRS( ExampleBrowser ThirdPartyLibs/Gwen OpenGLWindow pybullet)
|
||||
SUBDIRS( ExampleBrowser ThirdPartyLibs/Gwen OpenGLWindow )
|
||||
ENDIF()
|
||||
|
||||
IF(BUILD_PYBULLET)
|
||||
SUBDIRS(pybullet)
|
||||
ENDIF(BUILD_PYBULLET)
|
||||
|
||||
Reference in New Issue
Block a user