more improvements, copy testFile.bullet to target binary directory (cmake), fix some warnings
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -107,7 +107,7 @@ void GLDebugDrawer::draw3dText(const btVector3& location,const char* textString)
|
||||
|
||||
void GLDebugDrawer::reportErrorWarning(const char* warningString)
|
||||
{
|
||||
printf(warningString);
|
||||
printf("%s\n",warningString);
|
||||
}
|
||||
|
||||
void GLDebugDrawer::drawContactPoint(const btVector3& pointOnB,const btVector3& normalOnB,btScalar distance,int lifeTime,const btVector3& color)
|
||||
|
||||
@@ -61,3 +61,10 @@ ELSE (USE_GLUT)
|
||||
SerializeDemo.h
|
||||
)
|
||||
ENDIF (USE_GLUT)
|
||||
|
||||
ADD_CUSTOM_COMMAND(
|
||||
TARGET AppSerializeDemo
|
||||
POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} ARGS -E copy_if_different ${BULLET_PHYSICS_SOURCE_DIR}/Demos/SerializeDemo/testFile.bullet ${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
|
||||
BIN
Demos/SerializeDemo/testFile.bullet
Normal file
BIN
Demos/SerializeDemo/testFile.bullet
Normal file
Binary file not shown.
Reference in New Issue
Block a user