mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
[HTML5] GDNative support via SIDE_MODULE.
Working with emscripten >= 2.0.10
This commit is contained in:
parent
1167ab96e9
commit
ca34b5e57a
8 changed files with 109 additions and 33 deletions
|
|
@ -308,11 +308,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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue