Godot Version
4.3
Question
I want to add a third party C++ .lib library to my GDExtension plugin, how can I do that?
4.3
I want to add a third party C++ .lib library to my GDExtension plugin, how can I do that?
You could look in the asset store for how other projects do this.
There are several examples that use third party C libraries, for example GitHub - 2shady4u/godot-sqlite: GDExtension wrapper for SQLite (Godot 4.x+)
This repository contains only source files (cpp,c,h) there are no lib libraries there
I would like to know how to do this using the Godot build tools as well.
Currently, what I found is an example in this project: GitHub - vorlac/godot-roguelite: Godot 4.3 GDExtension C++ game prototype. The problem is that this project uses CMake as its build tool, which is not native to Godot.
Yes, I also searched for this for SCons and Windows, but I didn’t find anything.