1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 11:22:45 +01:00
openrw/rwviewer/CMakeLists.txt

34 lines
658 B
CMake
Raw Normal View History

2014-02-10 13:41:05 +01:00
set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
find_package(Qt5Core REQUIRED)
add_executable(rwviewer
main.cpp
ViewerWindow.cpp
ObjectViewer.cpp
models/ObjectListModel.cpp
2014-02-10 16:34:09 +01:00
ViewerWidget.cpp
2014-06-08 02:58:49 +02:00
ItemListModel.cpp
ItemListWidget.cpp
2014-02-10 17:21:30 +01:00
IMGArchiveModel.cpp
2014-02-12 07:42:07 +01:00
DFFFramesTreeModel.cpp
2014-03-01 12:19:33 +01:00
ModelFramesWidget.cpp
AnimationListModel.cpp
AnimationListWidget.cpp)
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
target_link_libraries(rwviewer
rwengine
sfml-graphics
sfml-system
${OPENGL_LIBRARIES}
GLEW
${BULLET_LIBRARIES})
2014-02-10 13:41:05 +01:00
qt5_use_modules(rwviewer Widgets OpenGL)
2014-01-26 04:45:55 +01:00
install(TARGETS rwviewer RUNTIME DESTINATION bin)