2014-05-26 06:34:49 +02:00
|
|
|
add_executable(rwgame
|
|
|
|
main.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
|
2014-05-26 06:34:49 +02:00
|
|
|
)
|
2014-01-26 04:45:55 +01:00
|
|
|
|
2014-06-18 18:07:51 +02:00
|
|
|
include_directories("${CMAKE_SOURCE_DIR}/rwengine/include" ${BULLET_INCLUDE_DIRS})
|
2014-01-26 04:45:55 +01:00
|
|
|
|
2014-06-18 18:07:51 +02:00
|
|
|
target_link_libraries( rwgame rwengine sfml-graphics sfml-window sfml-system GL GLEW ${BULLET_LIBRARIES} )
|
2014-01-26 04:45:55 +01:00
|
|
|
|
|
|
|
install(TARGETS rwgame RUNTIME DESTINATION bin)
|