mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
[HTML5] GDNative support via SIDE_MODULE.
Working, with emscripten > 2.0.9 Yes, the unreleased version. 2.0.9 works, but throws and error due to a bug in emscripten with the thirdparty ENet library. The issue is fixed upstream so newer releases will work.
This commit is contained in:
@@ -333,11 +333,11 @@ GDNativeLibraryEditor::GDNativeLibraryEditor() {
|
||||
platform_android.library_extension = "*.so";
|
||||
platforms["Android"] = platform_android;
|
||||
|
||||
// TODO: Javascript platform is not supported yet
|
||||
// NativePlatformConfig platform_html5;
|
||||
// platform_html5.name = "HTML5";
|
||||
// platform_html5.library_extension = "*.wasm";
|
||||
// platforms["Javascript"] = platform_html5;
|
||||
NativePlatformConfig platform_html5;
|
||||
platform_html5.name = "HTML5";
|
||||
platform_html5.entries.push_back("web");
|
||||
platform_html5.library_extension = "*.wasm";
|
||||
platforms["HTML5"] = platform_html5;
|
||||
|
||||
NativePlatformConfig platform_ios;
|
||||
platform_ios.name = "iOS";
|
||||
|
||||
Reference in New Issue
Block a user