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

38 lines
750 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
models/ObjectListModel.cpp
2015-04-13 02:48:29 +02:00
models/DFFFramesTreeModel.cpp
views/ViewerInterface.hpp
2015-04-13 02:48:29 +02:00
views/ObjectViewer.cpp
views/ModelViewer.cpp
views/WorldViewer.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
2015-04-13 02:48:29 +02:00
widgets/ModelFramesWidget.cpp
2014-03-01 12:19:33 +01:00
AnimationListModel.cpp
AnimationListWidget.cpp)
2014-01-26 04:45:55 +01:00
include_directories(
"${CMAKE_SOURCE_DIR}/rwengine/include")
include_directories(SYSTEM
${BULLET_INCLUDE_DIR})
2014-01-26 04:45:55 +01:00
target_link_libraries(rwviewer
rwengine
${OPENGL_LIBRARIES}
${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)