1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-25 20:02:40 +01:00
openrw/rwgame/CMakeLists.txt
Daniel Evans 2ee4a6e533 Add configuration file to replace OPENRW_GAME_PATH env var
This will permit the storage of other user settings like language and
video settings.
2016-05-20 02:10:11 +01:00

39 lines
529 B
CMake

add_executable(rwgame
main.cpp
RWGame.cpp
GameConfig.hpp
GameConfig.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}
${SFML_INCLUDE_DIR}
)
include_directories(
"${CMAKE_SOURCE_DIR}/rwengine/include"
)
target_link_libraries( rwgame
rwengine
inih
${SFML_LIBRARIES}
${OPENGL_LIBRARIES}
${BULLET_LIBRARIES})
install(TARGETS rwgame RUNTIME DESTINATION bin)