mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-25 11:52:40 +01:00
cmake: reformat rwviewer/CMakeLists.txt
This commit is contained in:
parent
579a36cec7
commit
5b9658c03a
@ -4,34 +4,36 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|||||||
find_package(Qt5Core REQUIRED)
|
find_package(Qt5Core REQUIRED)
|
||||||
|
|
||||||
add_executable(rwviewer
|
add_executable(rwviewer
|
||||||
main.cpp
|
main.cpp
|
||||||
ViewerWindow.cpp
|
ViewerWindow.cpp
|
||||||
|
|
||||||
models/ObjectListModel.cpp
|
models/ObjectListModel.cpp
|
||||||
models/DFFFramesTreeModel.cpp
|
models/DFFFramesTreeModel.cpp
|
||||||
|
|
||||||
views/ViewerInterface.hpp
|
views/ViewerInterface.hpp
|
||||||
views/ObjectViewer.cpp
|
views/ObjectViewer.cpp
|
||||||
views/ModelViewer.cpp
|
views/ModelViewer.cpp
|
||||||
views/WorldViewer.cpp
|
views/WorldViewer.cpp
|
||||||
|
|
||||||
ViewerWidget.cpp
|
ViewerWidget.cpp
|
||||||
ItemListModel.cpp
|
ItemListModel.cpp
|
||||||
ItemListWidget.cpp
|
ItemListWidget.cpp
|
||||||
IMGArchiveModel.cpp
|
IMGArchiveModel.cpp
|
||||||
widgets/ModelFramesWidget.cpp
|
widgets/ModelFramesWidget.cpp
|
||||||
AnimationListModel.cpp
|
AnimationListModel.cpp
|
||||||
AnimationListWidget.cpp)
|
AnimationListWidget.cpp
|
||||||
|
)
|
||||||
|
|
||||||
target_include_directories(rwviewer
|
target_include_directories(rwviewer
|
||||||
SYSTEM
|
SYSTEM
|
||||||
PRIVATE
|
PRIVATE
|
||||||
${BULLET_INCLUDE_DIR})
|
${BULLET_INCLUDE_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
target_link_libraries(rwviewer
|
target_link_libraries(rwviewer
|
||||||
rwengine
|
rwengine
|
||||||
${OPENGL_LIBRARIES}
|
${OPENGL_LIBRARIES}
|
||||||
${BULLET_LIBRARIES})
|
${BULLET_LIBRARIES})
|
||||||
qt5_use_modules(rwviewer Widgets OpenGL)
|
qt5_use_modules(rwviewer Widgets OpenGL)
|
||||||
|
|
||||||
install(TARGETS rwviewer RUNTIME DESTINATION "${BIN_DIR}")
|
install(TARGETS rwviewer RUNTIME DESTINATION "${BIN_DIR}")
|
||||||
|
Loading…
Reference in New Issue
Block a user