mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-04 12:14:24 +02:00
Add support for Windows 64-bit
Tested on NixOS, Ubuntu and Arch Linux. Not yet able to compile for Windows 32-bit on NixOS or on Windows itself. Part of #5
This commit is contained in:
parent
fc60c366e6
commit
630e0104d5
10 changed files with 328 additions and 110 deletions
|
@ -1,5 +1,7 @@
|
|||
#include "terminal.h"
|
||||
#if defined(PLATFORM_LINUX) || defined(PLATFORM_OSX)
|
||||
#include "pseudoterminal.h"
|
||||
#endif
|
||||
|
||||
extern "C" void GDN_EXPORT godot_gdnative_init(godot_gdnative_init_options *o)
|
||||
{
|
||||
|
@ -16,6 +18,7 @@ extern "C" void GDN_EXPORT godot_nativescript_init(void *handle)
|
|||
godot::Godot::nativescript_init(handle);
|
||||
|
||||
godot::register_tool_class<godot::Terminal>();
|
||||
|
||||
#if defined(PLATFORM_LINUX) || defined(PLATFORM_OSX)
|
||||
godot::register_class<godot::Pseudoterminal>();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue