Note that BulletFileLoader is has no dependencies on BulletDynamics/BulletCollision. Also added a custom build step to copy asset (.bullet and .obj file) into the executable folder Made a few 'char*' 'const char*' to avoid compiler warnings
11 lines
221 B
CMake
11 lines
221 B
CMake
INCLUDE_DIRECTORIES(
|
|
${BULLET_PHYSICS_SOURCE_DIR}/src
|
|
${BULLET_PHYSICS_SOURCE_DIR}/Extras/Serialize/BulletFileLoader
|
|
)
|
|
|
|
ADD_LIBRARY(
|
|
BulletWorldImporter
|
|
btBulletWorldImporter.cpp
|
|
btBulletWorldImporter.h
|
|
)
|