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

68 lines
1.4 KiB
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(Qt5OpenGL REQUIRED)
find_package(Qt5Widgets REQUIRED)
2014-02-10 13:41:05 +01:00
add_executable(rwviewer
main.cpp
2017-09-07 19:03:18 +02:00
ViewerWindow.hpp
ViewerWindow.cpp
2018-08-30 03:00:39 +02:00
models/AnimationListModel.hpp
models/AnimationListModel.cpp
2017-09-07 19:03:18 +02:00
models/ObjectListModel.hpp
models/ObjectListModel.cpp
2017-09-07 19:03:18 +02:00
models/DFFFramesTreeModel.hpp
models/DFFFramesTreeModel.cpp
2018-08-30 03:00:39 +02:00
models/IMGArchiveModel.hpp
models/IMGArchiveModel.cpp
models/ItemListModel.hpp
models/ItemListModel.cpp
2017-09-07 19:03:18 +02:00
models/TextModel.hpp
models/TextModel.cpp
2017-09-07 19:03:18 +02:00
views/ObjectViewer.hpp
views/ObjectViewer.cpp
2017-09-07 19:03:18 +02:00
views/ModelViewer.hpp
views/ModelViewer.cpp
2017-09-07 19:03:18 +02:00
views/TextViewer.hpp
views/TextViewer.cpp
views/WorldViewer.hpp
views/WorldViewer.cpp
2017-09-07 19:03:18 +02:00
views/ViewerInterface.hpp
views/ViewerInterface.cpp
2018-08-30 03:00:39 +02:00
QOpenGLContextWrapper.hpp
QOpenGLContextWrapper.cpp
2017-09-07 19:03:18 +02:00
ViewerWidget.hpp
2018-08-30 03:00:39 +02:00
ViewerWidget.cpp
widgets/AnimationListWidget.hpp
widgets/AnimationListWidget.cpp
widgets/ItemListWidget.hpp
widgets/ItemListWidget.cpp
2017-09-07 19:03:18 +02:00
widgets/ModelFramesWidget.hpp
widgets/ModelFramesWidget.cpp
)
2014-01-26 04:45:55 +01:00
target_link_libraries(rwviewer
PRIVATE
rwengine
Qt5::OpenGL
Qt5::Widgets
2017-10-26 03:40:05 +02:00
)
2018-09-01 18:23:10 +02:00
openrw_target_apply_options(
TARGET rwviewer
CORE
COVERAGE
2018-09-01 18:23:10 +02:00
INSTALL INSTALL_PDB
)
if(USE_CONAN)
set(QT5_ROOT "${CONAN_QT_ROOT}")
configure_file(qt.conf.in qt.conf)
endif()