1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 18:32:44 +01:00
openrw/rwviewer/CMakeLists.txt
Daniel Evans 6f9c3db52e Overahaul of rwviewer to simplify the code and improve usability
- Shared ViewerWidget has been removed. Now multiple instances exist
2018-01-27 21:44:18 +00:00

40 lines
780 B
CMake

set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
find_package(Qt5OpenGL REQUIRED)
find_package(Qt5Widgets REQUIRED)
add_executable(rwviewer WIN32
main.cpp
ViewerWindow.cpp
models/ObjectListModel.cpp
models/DFFFramesTreeModel.cpp
views/ViewerInterface.hpp
views/ObjectViewer.cpp
views/ModelViewer.cpp
views/WorldViewer.cpp
views/ViewerInterface.cpp
ViewerWidget.cpp
ItemListModel.cpp
ItemListWidget.cpp
IMGArchiveModel.cpp
widgets/ModelFramesWidget.cpp
AnimationListModel.cpp
AnimationListWidget.cpp
)
target_link_libraries(rwviewer
rwengine
Qt5::OpenGL
Qt5::Widgets
)
openrw_target_apply_options(TARGET rwviewer)
install(TARGETS rwviewer
RUNTIME DESTINATION "${BIN_DIR}"
)