mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 03:12:36 +01:00
27 lines
405 B
CMake
27 lines
405 B
CMake
add_executable(rwgame
|
|
main.cpp
|
|
|
|
RWGame.cpp
|
|
|
|
State.cpp
|
|
|
|
loadingstate.cpp
|
|
ingamestate.cpp
|
|
pausestate.cpp
|
|
menustate.cpp
|
|
debugstate.cpp
|
|
)
|
|
|
|
include_directories("${CMAKE_SOURCE_DIR}/rwengine/include" ${BULLET_INCLUDE_DIR})
|
|
|
|
target_link_libraries( rwgame
|
|
rwengine
|
|
sfml-graphics
|
|
sfml-window
|
|
sfml-system
|
|
${OPENGL_LIBRARIES}
|
|
GLEW
|
|
${BULLET_LIBRARIES})
|
|
|
|
install(TARGETS rwgame RUNTIME DESTINATION bin)
|