add the 'extras' and Bullet 2 tests, to make it easier to create a new intermediate release
This commit is contained in:
33
Extras/Serialize/ReadBulletSample/CMakeLists.txt
Normal file
33
Extras/Serialize/ReadBulletSample/CMakeLists.txt
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
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)
|
||||
Reference in New Issue
Block a user