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

Make GDNative DLLs work on UWP

This commit is contained in:
George Marques
2018-01-01 13:59:13 -02:00
parent abf416f922
commit 2a023a425d
5 changed files with 65 additions and 2 deletions

View File

@@ -1024,6 +1024,17 @@ public:
virtual void get_preset_features(const Ref<EditorExportPreset> &p_preset, List<String> *r_features) {
r_features->push_back("s3tc");
r_features->push_back("etc");
switch ((int)p_preset->get("architecture/target")) {
case EditorExportUWP::ARM: {
r_features->push_back("arm");
} break;
case EditorExportUWP::X86: {
r_features->push_back("32");
} break;
case EditorExportUWP::X64: {
r_features->push_back("64");
} break;
}
}
virtual void get_export_options(List<ExportOption> *r_options) {