mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 19:32:49 +01:00
9eb4c62a04
+ Add names for some styles to reduce confusion + Move some HUD drawing into a seperate file
29 lines
419 B
CMake
29 lines
419 B
CMake
add_executable(rwgame
|
|
main.cpp
|
|
|
|
RWGame.cpp
|
|
|
|
State.cpp
|
|
|
|
loadingstate.cpp
|
|
ingamestate.cpp
|
|
pausestate.cpp
|
|
menustate.cpp
|
|
debugstate.cpp
|
|
|
|
DrawUI.cpp
|
|
)
|
|
|
|
include_directories("${CMAKE_SOURCE_DIR}/rwengine/include" ${BULLET_INCLUDE_DIR})
|
|
|
|
target_link_libraries( rwgame
|
|
rwengine
|
|
sfml-graphics
|
|
sfml-window
|
|
sfml-system
|
|
${OPENGL_LIBRARIES}
|
|
GLEW
|
|
${BULLET_LIBRARIES})
|
|
|
|
install(TARGETS rwgame RUNTIME DESTINATION bin)
|