From 5b9658c03a3051da3fd95c877977bae92ca9b873 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Thu, 26 Oct 2017 01:09:47 +0200 Subject: [PATCH] cmake: reformat rwviewer/CMakeLists.txt --- rwviewer/CMakeLists.txt | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/rwviewer/CMakeLists.txt b/rwviewer/CMakeLists.txt index 42c8173c..3c26be97 100644 --- a/rwviewer/CMakeLists.txt +++ b/rwviewer/CMakeLists.txt @@ -4,34 +4,36 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) find_package(Qt5Core REQUIRED) add_executable(rwviewer - main.cpp - ViewerWindow.cpp + main.cpp + ViewerWindow.cpp - models/ObjectListModel.cpp - models/DFFFramesTreeModel.cpp + models/ObjectListModel.cpp + models/DFFFramesTreeModel.cpp - views/ViewerInterface.hpp - views/ObjectViewer.cpp - views/ModelViewer.cpp - views/WorldViewer.cpp + views/ViewerInterface.hpp + views/ObjectViewer.cpp + views/ModelViewer.cpp + views/WorldViewer.cpp - ViewerWidget.cpp - ItemListModel.cpp - ItemListWidget.cpp - IMGArchiveModel.cpp - widgets/ModelFramesWidget.cpp - AnimationListModel.cpp - AnimationListWidget.cpp) + ViewerWidget.cpp + ItemListModel.cpp + ItemListWidget.cpp + IMGArchiveModel.cpp + widgets/ModelFramesWidget.cpp + AnimationListModel.cpp + AnimationListWidget.cpp + ) target_include_directories(rwviewer SYSTEM PRIVATE - ${BULLET_INCLUDE_DIR}) + ${BULLET_INCLUDE_DIR} + ) target_link_libraries(rwviewer - rwengine - ${OPENGL_LIBRARIES} - ${BULLET_LIBRARIES}) + rwengine + ${OPENGL_LIBRARIES} + ${BULLET_LIBRARIES}) qt5_use_modules(rwviewer Widgets OpenGL) install(TARGETS rwviewer RUNTIME DESTINATION "${BIN_DIR}")