This may seem like a silly question but is it possible to make a gdextension basically a library?
Context: I am converting one of my chess-like board games into a godot project and separating the client and server code and have a git submodule for both projects that has the shared classes for the data of the game (currently written in gdscript). For performance reasons I am planning on migrating this to c++ and the documentation for GdExtension is clear on making a project but not a subproject and now I am wading through errors in the godot-cpp project that don't appear in my client or server projects.
So is there a way to make the basic library project I am hoping to use as a shared resource or is a different strategy needed?