1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Make build profile project detection also set build options

This commit is contained in:
Michael Alexsander
2025-03-06 15:42:10 -03:00
parent e45cc68092
commit 454e4f817c
28 changed files with 786 additions and 82 deletions

View File

@@ -118,6 +118,7 @@ public:
HashMap<StringName, MethodInfo> signal_map;
List<PropertyInfo> property_list;
HashMap<StringName, PropertyInfo> property_map;
#ifdef DEBUG_ENABLED
List<StringName> constant_order;
List<StringName> method_order;
@@ -127,6 +128,11 @@ public:
HashMap<StringName, Vector<Error>> method_error_values;
HashMap<StringName, List<StringName>> linked_properties;
#endif // DEBUG_ENABLED
#ifdef TOOLS_ENABLED
List<StringName> dependency_list;
#endif
HashMap<StringName, PropertySetGet> property_setget;
HashMap<StringName, Vector<uint32_t>> virtual_methods_compat;
@@ -499,6 +505,11 @@ public:
static bool is_class_reloadable(const StringName &p_class);
static bool is_class_runtime(const StringName &p_class);
#ifdef TOOLS_ENABLED
static void add_class_dependency(const StringName &p_class, const StringName &p_dependency);
static void get_class_dependencies(const StringName &p_class, List<StringName> *r_rependencies);
#endif
static void add_resource_base_extension(const StringName &p_extension, const StringName &p_class);
static void get_resource_base_extensions(List<String> *p_extensions);
static void get_extensions_for_type(const StringName &p_class, List<String> *p_extensions);