1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-20 01:11:46 +02:00
openrw/rwgame/CMakeLists.txt
orbea 27c6334cb1 CMake: Add BIN_DIR and DOC_DIR (#165)
* CMake: Add BIN_DIR and DOC_DIR

* CMake: Fix typo
2016-06-29 22:19:03 +01:00

40 lines
537 B
CMake

add_executable(rwgame
main.cpp
RWGame.cpp
GameConfig.cpp
GameWindow.cpp
State.cpp
loadingstate.cpp
ingamestate.cpp
pausestate.cpp
menustate.cpp
debugstate.cpp
benchmarkstate.cpp
DrawUI.cpp
debug/HttpServer.cpp
debug/TcpSocket.cpp
)
include_directories(SYSTEM
${BULLET_INCLUDE_DIR}
)
include_directories(
"${CMAKE_SOURCE_DIR}/rwengine/include"
)
target_link_libraries(rwgame
rwengine
inih
${OPENGL_LIBRARIES}
${BULLET_LIBRARIES}
${SDL2_LIBRARY}
)
install(TARGETS rwgame RUNTIME DESTINATION "${BIN_DIR}")