A bit more work on the cmake build system, copy glut32.dll or glut64.dll into binary directory for out-of-source builds.
Include .rc resource file (to add icon) for WIN32 cmake.
This commit is contained in:
@@ -8,7 +8,14 @@ LINK_LIBRARIES(
|
||||
BulletDynamics BulletCollision LinearMath
|
||||
)
|
||||
|
||||
ADD_EXECUTABLE(AppHelloWorld
|
||||
HelloWorld.cpp
|
||||
)
|
||||
IF (WIN32)
|
||||
ADD_EXECUTABLE(AppHelloWorld
|
||||
HelloWorld.cpp
|
||||
${BULLET_PHYSICS_SOURCE_DIR}/msvc/bullet.rc
|
||||
)
|
||||
ELSE()
|
||||
ADD_EXECUTABLE(AppHelloWorld
|
||||
HelloWorld.cpp
|
||||
)
|
||||
ENDIF()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user