Skip to content

Commit

Permalink
remove json
Browse files Browse the repository at this point in the history
  • Loading branch information
yangfengzzz committed Jan 22, 2024
1 parent 67f5330 commit c7a2186
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 360 deletions.
3 changes: 0 additions & 3 deletions vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@
}, {
"name" : "vcpkg-cmake",
"version>=" : "2023-05-04"
}, {
"name" : "nlohmann-json",
"version>=" : "3.11.3"
} ]
}
5 changes: 0 additions & 5 deletions viewport/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ cmake_minimum_required(VERSION 3.16)

project(viewport LANGUAGES C CXX)

find_package(nlohmann_json CONFIG REQUIRED)

set(COMMON_FILES
swapchain.h
swapchain.cpp
Expand All @@ -30,8 +28,6 @@ set(COMMON_FILES
selection_data_model.cpp
view_settings_data_model.h
view_settings_data_model.cpp
settings.h
settings.cpp
custom_attributes.h
custom_attributes.cpp
)
Expand All @@ -53,7 +49,6 @@ target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} .
target_link_libraries(${PROJECT_NAME} PRIVATE
Qt::Core
Qt::Widgets
nlohmann_json::nlohmann_json
fmt::fmt
spdlog::spdlog
metal-cpp
Expand Down
93 changes: 0 additions & 93 deletions viewport/settings.cpp

This file was deleted.

139 changes: 0 additions & 139 deletions viewport/settings.h

This file was deleted.

2 changes: 1 addition & 1 deletion viewport/stage_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class StageView : public QWidget {
struct DefaultDataModel : public RootDataModel {
DefaultDataModel()
: _selectionDataModel(*this),
_viewSettingsDataModel(*this, nullptr) {}
_viewSettingsDataModel(*this) {}

inline SelectionDataModel &selection() {
return _selectionDataModel;
Expand Down
Loading

0 comments on commit c7a2186

Please sign in to comment.