mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 10:22:52 +01:00
37 lines
505 B
CMake
37 lines
505 B
CMake
add_executable(rwgame
|
|
main.cpp
|
|
|
|
RWGame.cpp
|
|
|
|
State.cpp
|
|
|
|
loadingstate.cpp
|
|
ingamestate.cpp
|
|
pausestate.cpp
|
|
menustate.cpp
|
|
debugstate.cpp
|
|
benchmarkstate.cpp
|
|
|
|
DrawUI.cpp
|
|
|
|
debug/HttpServer.cpp
|
|
)
|
|
|
|
include_directories(SYSTEM
|
|
${BULLET_INCLUDE_DIR}
|
|
)
|
|
include_directories(
|
|
"${CMAKE_SOURCE_DIR}/rwengine/include"
|
|
)
|
|
|
|
target_link_libraries( rwgame
|
|
rwengine
|
|
sfml-graphics
|
|
sfml-window
|
|
sfml-network
|
|
sfml-system
|
|
${OPENGL_LIBRARIES}
|
|
${BULLET_LIBRARIES})
|
|
|
|
install(TARGETS rwgame RUNTIME DESTINATION bin)
|