Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support source code integration of sqlite3 for Unity IL2CPP #1104

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

heshuimu
Copy link

@heshuimu heshuimu commented Mar 1, 2022

This PR adds some preprocessor directives that enables integrating sqlite-net and and sqlite3 by source in Unity for IL2CPP-enabled build targets.

Because Unity supports compiling C/C++ sources for IL2CPP builds, importing both amalgamated SQLite.cs and sqlite3.c source files allows all IL2CPP build targets (iOS, Android, Windows, etc) to share the same version of SQLite statically linked with translated C# code in the same binary, and have better debugging experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant