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
18 lines
227 B
CMake
18 lines
227 B
CMake
INCLUDE_DIRECTORIES(
|
|
${BULLET_PHYSICS_SOURCE_DIR}/src
|
|
)
|
|
|
|
ADD_LIBRARY(
|
|
BulletFileLoader
|
|
bChunk.cpp
|
|
bChunk.h
|
|
bCommon.h
|
|
bDefines.h
|
|
bDNA.cpp
|
|
bDNA.h
|
|
bFile.cpp
|
|
bFile.h
|
|
btBulletFile.cpp
|
|
btBulletFile.h
|
|
)
|