sys: First attempt at reducing build times

This commit is contained in:
WerWolv
2021-08-29 14:18:45 +02:00
parent f60f9f9fc9
commit 02d31d2d2a
38 changed files with 2885 additions and 1535 deletions

View File

@@ -388,7 +388,9 @@ namespace hex {
currNodeOutput["attrs"] = json::array();
currNodeOutput["id"] = id;
currNodeOutput["data"] = node->store();
json nodeData;
node->store(nodeData);
currNodeOutput["data"] = nodeData;
u32 attrIndex = 0;
for (auto &attr : node->getAttributes()) {

View File

@@ -4,13 +4,15 @@
#include <hex/api/imhex_api.hpp>
#include <hex/helpers/crypto.hpp>
#include <GLFW/glfw3.h>
#include "providers/file_provider.hpp"
#include "helpers/patches.hpp"
#include "helpers/project_file_handler.hpp"
#include "helpers/loader_script_handler.hpp"
#include <GLFW/glfw3.h>
#include <nlohmann/json.hpp>
#undef __STRICT_ANSI__
#include <cstdio>

View File

@@ -6,6 +6,7 @@
#include <cstring>
#include <cmath>
#include <filesystem>
#include <numeric>
#include <span>
#include <thread>
#include <vector>

View File

@@ -8,6 +8,8 @@
#include <imgui_imhex_extensions.h>
#include <nlohmann/json.hpp>
namespace hex {
static const TextEditor::LanguageDefinition& PatternLanguage() {

View File

@@ -2,6 +2,8 @@
#include <hex/api/content_registry.hpp>
#include <nlohmann/json.hpp>
namespace hex {
ViewSettings::ViewSettings() : View("hex.view.settings.name") {