aboutsummaryrefslogtreecommitdiff
path: root/src/build_settings.cpp
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2022-11-01 15:04:44 +0100
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2022-11-01 15:04:44 +0100
commit9eec9f57887a3b6d08488997a3a636a41494633f (patch)
tree2e5d8d6ba0ed4fdd29b972a3617fd57f79a1a821 /src/build_settings.cpp
parent4812601e78c10d656ab53ec80fa3fb496a8da5b2 (diff)
Add -minimum-os-version flag
Allow for Darwin targets to specify the minimum OS version: e.g. -minimum-os-version:12.0.0
Diffstat (limited to 'src/build_settings.cpp')
-rw-r--r--src/build_settings.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp
index 02de22ec4..97ee9f2a3 100644
--- a/src/build_settings.cpp
+++ b/src/build_settings.cpp
@@ -298,17 +298,17 @@ struct BuildContext {
bool ignore_microsoft_magic;
bool linker_map_file;
- bool use_separate_modules;
- bool threaded_checker;
+ bool use_separate_modules;
+ bool threaded_checker;
- bool show_debug_messages;
+ bool show_debug_messages;
- bool copy_file_contents;
+ bool copy_file_contents;
- bool disallow_rtti;
+ bool disallow_rtti;
RelocMode reloc_mode;
- bool disable_red_zone;
+ bool disable_red_zone;
u32 cmd_doc_flags;
@@ -326,7 +326,7 @@ struct BuildContext {
BlockingMutex target_features_mutex;
StringSet target_features_set;
String target_features_string;
-
+ String minimum_os_version_string;
};
gb_global BuildContext build_context = {0};