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
|
|
|
|
|
2016-05-20 03:09:22 +02:00
|
|
|
GameConfig.hpp
|
|
|
|
GameConfig.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
|
2016-04-18 03:31:52 +02:00
|
|
|
benchmarkstate.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
|
|
|
|
2016-04-28 01:54:42 +02:00
|
|
|
include_directories(SYSTEM
|
|
|
|
${BULLET_INCLUDE_DIR}
|
2016-05-19 23:28:12 +02:00
|
|
|
${SFML_INCLUDE_DIR}
|
2016-04-28 01:54:42 +02:00
|
|
|
)
|
|
|
|
include_directories(
|
|
|
|
"${CMAKE_SOURCE_DIR}/rwengine/include"
|
|
|
|
)
|
2014-01-26 04:45:55 +01:00
|
|
|
|
2014-08-17 00:02:34 +02:00
|
|
|
target_link_libraries( rwgame
|
|
|
|
rwengine
|
2016-05-20 03:09:22 +02:00
|
|
|
inih
|
2016-05-19 23:28:12 +02:00
|
|
|
${SFML_LIBRARIES}
|
2014-08-17 00:02:34 +02:00
|
|
|
${OPENGL_LIBRARIES}
|
|
|
|
${BULLET_LIBRARIES})
|
2014-01-26 04:45:55 +01:00
|
|
|
|
|
|
|
install(TARGETS rwgame RUNTIME DESTINATION bin)
|