1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-25 11:52:40 +01:00
openrw/rwviewer/CMakeLists.txt
2014-02-12 06:42:07 +00:00

21 lines
527 B
CMake

set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
find_package(Qt5Core REQUIRED)
add_executable(rwviewer
main.cpp
ViewerWindow.cpp
ViewerWidget.cpp
IMGArchiveModel.cpp
ArchiveContentsWidget.cpp
DFFFramesTreeModel.cpp
ModelFramesWidget.cpp)
include_directories(../rwengine/include /usr/include/bullet)
target_link_libraries(rwviewer rwengine sfml-graphics sfml-system GL GLEW BulletDynamics BulletCollision LinearMath)
qt5_use_modules(rwviewer Widgets OpenGL)
install(TARGETS rwviewer RUNTIME DESTINATION bin)