Skip to content

Godot Foreigner addon (libffi/Foreign Function Interface) example project. || An (infrequently updated) mirror of: https://gitlab.com/RancidBacon/godot-foreigner-export-demo

License

Notifications You must be signed in to change notification settings

follower/godot-foreigner-export-demo

Repository files navigation

Example of Godot Foreigner (FFI library) project & export setup

Foreigner is a Foreign Function Interface (FFI) addon/plugin for the Godot game engine. It wraps the libffi FFI library and makes the functionality available to applications built with Godot.

This repository contains an example of how to set up a project to use Foreigner and successfully export applications (along with their supporting dynamic/shared libraries) to run on three different platforms (without additional compilation steps--assuming the shared libraries you're using are supplied as binaries):

  • Linux

  • Mac

  • Win64

How to use

Open/import the example project via the Godot Project Manager or export binaries via the Godot command line feature.

Licenses

The statically linked Foreigner shared library binaries may also contain items covered by other licenses, see the source and/or build configuration for details.