Skip to content

Allow compiling as a C++ module #217

@MagicCraftMaster

Description

@MagicCraftMaster

Is your feature request related to a problem? Please describe.
No, there is no problem related that I am aware of.

Describe the solution you'd like
I'd like to be able to compile godot-sqlite as an engine C++ module so I can avoid having an extra .so/.dll file beside my projects so I don't have to deal with people who fail to extract everything properly as often. Could also prevent unwanted "updates" from people thinking it'll "fix" something that isn't caused by versioning.

Describe alternatives you've considered
I have not considered alternatives. I'd just like to have the option to compile this into engine builds and export templates.

Additional context
There really is no further context for this.
I can note that I looked into doing it myself however it is far outside of what I know how to do.
It seems like it's possible to use #ifdef GDEXTENSION to check how a file is being compiled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions