mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 18:32:44 +01:00
6f9c3db52e
- Shared ViewerWidget has been removed. Now multiple instances exist
40 lines
780 B
CMake
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}"
|
|
)
|