Saxum/extern/bullet/Extras/Serialize/ReadBulletSample/CMakeLists.txt

33 lines
838 B
CMake
Raw Normal View History

2014-10-24 09:42:47 +00:00
INCLUDE_DIRECTORIES(
${BULLET_PHYSICS_SOURCE_DIR}/src
)
LINK_LIBRARIES(
BulletFileLoader
)
IF (WIN32)
SET(ADDITIONAL_SRC
${BULLET_PHYSICS_SOURCE_DIR}/build/bullet.rc
)
ENDIF()
SET(READBULLET_SRC
main.cpp
BulletDataExtractor.cpp
BulletDataExtractor.h
${BULLET_PHYSICS_SOURCE_DIR}/src/LinearMath/btSerializer.cpp
${BULLET_PHYSICS_SOURCE_DIR}/src/LinearMath/btAlignedAllocator.cpp
)
ADD_EXECUTABLE(AppReadBulletSample
${READBULLET_SRC}
${ADDITIONAL_SRC}
)
IF (INTERNAL_ADD_POSTFIX_EXECUTABLE_NAMES)
SET_TARGET_PROPERTIES(AppReadBulletSample PROPERTIES DEBUG_POSTFIX "_Debug")
SET_TARGET_PROPERTIES(AppReadBulletSample PROPERTIES MINSIZEREL_POSTFIX "_MinsizeRel")
SET_TARGET_PROPERTIES(AppReadBulletSample PROPERTIES RELWITHDEBINFO_POSTFIX "_RelWithDebugInfo")
ENDIF(INTERNAL_ADD_POSTFIX_EXECUTABLE_NAMES)