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

66 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 WIN32
main.cpp
2017-09-07 19:03:18 +02:00
OpenGLCompat.h
ViewerWindow.hpp
ViewerWindow.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
2017-09-07 19:03:18 +02:00
models/TextModel.hpp
models/TextModel.cpp
views/ViewerInterface.hpp
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
ViewerWidget.cpp
2017-09-07 19:03:18 +02:00
ViewerWidget.hpp
ItemListModel.hpp
ItemListModel.cpp
2017-09-07 19:03:18 +02:00
ItemListWidget.hpp
ItemListWidget.cpp
2017-09-07 19:03:18 +02:00
IMGArchiveModel.hpp
IMGArchiveModel.cpp
2017-09-07 19:03:18 +02:00
widgets/ModelFramesWidget.hpp
widgets/ModelFramesWidget.cpp
2017-09-07 19:03:18 +02:00
AnimationListModel.hpp
AnimationListModel.cpp
2017-09-07 19:03:18 +02:00
AnimationListWidget.hpp
AnimationListWidget.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
)
openrw_target_apply_options(TARGET rwviewer)
install(TARGETS rwviewer
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
)
if(USE_CONAN)
set(QT5_ROOT "${CONAN_QT_ROOT}")
configure_file(qt.conf.in qt.conf)
endif()