2014-05-26 06:34:49 +02:00
|
|
|
add_executable(rwgame
|
|
|
|
main.cpp
|
2014-08-12 22:15:26 +02:00
|
|
|
|
2014-09-16 20:22:43 +02:00
|
|
|
RWGame.cpp
|
|
|
|
|
2014-08-12 22:15:26 +02:00
|
|
|
State.cpp
|
|
|
|
|
2014-06-06 13:18:32 +02:00
|
|
|
loadingstate.cpp
|
2014-05-26 06:34:49 +02:00
|
|
|
ingamestate.cpp
|
|
|
|
pausestate.cpp
|
|
|
|
menustate.cpp
|
2014-05-31 09:18:50 +02:00
|
|
|
debugstate.cpp
|
2015-02-15 13:41:51 +01:00
|
|
|
|
|
|
|
DrawUI.cpp
|
2015-04-19 22:33:33 +02:00
|
|
|
|
|
|
|
debug/HttpServer.cpp
|
2014-05-26 06:34:49 +02:00
|
|
|
)
|
2014-01-26 04:45:55 +01:00
|
|
|
|
2014-08-15 23:49:58 +02:00
|
|
|
include_directories("${CMAKE_SOURCE_DIR}/rwengine/include" ${BULLET_INCLUDE_DIR})
|
2014-01-26 04:45:55 +01:00
|
|
|
|
2014-08-17 00:02:34 +02:00
|
|
|
target_link_libraries( rwgame
|
|
|
|
rwengine
|
|
|
|
sfml-graphics
|
|
|
|
sfml-window
|
2015-04-19 22:33:33 +02:00
|
|
|
sfml-network
|
2014-08-17 00:02:34 +02:00
|
|
|
sfml-system
|
|
|
|
${OPENGL_LIBRARIES}
|
|
|
|
GLEW
|
|
|
|
${BULLET_LIBRARIES})
|
2014-01-26 04:45:55 +01:00
|
|
|
|
|
|
|
install(TARGETS rwgame RUNTIME DESTINATION bin)
|