diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2023-07-11 15:11:51 -0500 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2023-07-17 11:35:38 -0500 |
commit | 897334a366baf7beb80f02f771e17e35e4050312 (patch) | |
tree | 73a3e731bd5f82aac73913e0a051ad4855c665b9 /platform/uwp/export/export_plugin.cpp | |
parent | 23318e877890029f35856036b9c4e0bfa09cacc6 (diff) | |
download | redot-engine-897334a366baf7beb80f02f771e17e35e4050312.tar.gz |
Allow MSVC dev_mode builds to succeed with dotnet
• Added #else section to mono #ifdef checks in relevant export_plugin scripts
Diffstat (limited to 'platform/uwp/export/export_plugin.cpp')
-rw-r--r-- | platform/uwp/export/export_plugin.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/platform/uwp/export/export_plugin.cpp b/platform/uwp/export/export_plugin.cpp index 7f01e6389d..73e9f1b1d8 100644 --- a/platform/uwp/export/export_plugin.cpp +++ b/platform/uwp/export/export_plugin.cpp @@ -135,7 +135,7 @@ bool EditorExportPlatformUWP::has_valid_export_configuration(const Ref<EditorExp // contributors can still test the pipeline if/when we can build it again. r_error = "The UWP platform is currently not supported in Godot 4.\n"; return false; -#endif +#else String err; bool valid = false; @@ -175,6 +175,7 @@ bool EditorExportPlatformUWP::has_valid_export_configuration(const Ref<EditorExp } return valid; +#endif // DEV_ENABLED } bool EditorExportPlatformUWP::has_valid_project_configuration(const Ref<EditorExportPreset> &p_preset, String &r_error) const { @@ -184,7 +185,7 @@ bool EditorExportPlatformUWP::has_valid_project_configuration(const Ref<EditorEx // contributors can still test the pipeline if/when we can build it again. r_error = "The UWP platform is currently not supported in Godot 4.\n"; return false; -#endif +#else String err; bool valid = true; @@ -258,6 +259,7 @@ bool EditorExportPlatformUWP::has_valid_project_configuration(const Ref<EditorEx r_error = err; return valid; +#endif // DEV_ENABLED } Error EditorExportPlatformUWP::export_project(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, int p_flags) { |