aboutsummaryrefslogtreecommitdiff
path: root/src/build_settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/build_settings.cpp')
-rw-r--r--src/build_settings.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp
index c8c83422f..28ca0f088 100644
--- a/src/build_settings.cpp
+++ b/src/build_settings.cpp
@@ -326,7 +326,17 @@ enum SanitizerFlags : u32 {
SanitizerFlag_Thread = 1u<<2,
};
+struct BuildCacheData {
+ u64 crc;
+ String cache_dir;
+ // manifests
+ String files_path;
+ String args_path;
+ String env_path;
+
+ bool copy_already_done;
+};
// This stores the information for the specify architecture of this build
struct BuildContext {
@@ -427,6 +437,9 @@ struct BuildContext {
bool use_separate_modules;
bool module_per_file;
+ bool cached;
+ BuildCacheData build_cache_data;
+
bool no_threaded_checker;
bool show_debug_messages;