mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 03:12:36 +01:00
7d92fbb9f2
+ Change to Object Viewer to list all object types
34 lines
658 B
CMake
34 lines
658 B
CMake
set(CMAKE_AUTOMOC ON)
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
find_package(Qt5Core REQUIRED)
|
|
|
|
add_executable(rwviewer
|
|
main.cpp
|
|
ViewerWindow.cpp
|
|
ObjectViewer.cpp
|
|
|
|
models/ObjectListModel.cpp
|
|
|
|
ViewerWidget.cpp
|
|
ItemListModel.cpp
|
|
ItemListWidget.cpp
|
|
IMGArchiveModel.cpp
|
|
DFFFramesTreeModel.cpp
|
|
ModelFramesWidget.cpp
|
|
AnimationListModel.cpp
|
|
AnimationListWidget.cpp)
|
|
|
|
include_directories("${CMAKE_SOURCE_DIR}/rwengine/include" ${BULLET_INCLUDE_DIR})
|
|
|
|
target_link_libraries(rwviewer
|
|
rwengine
|
|
sfml-graphics
|
|
sfml-system
|
|
${OPENGL_LIBRARIES}
|
|
GLEW
|
|
${BULLET_LIBRARIES})
|
|
qt5_use_modules(rwviewer Widgets OpenGL)
|
|
|
|
install(TARGETS rwviewer RUNTIME DESTINATION bin)
|