Skip to content

Support source code integration of sqlite3 for Unity IL2CPP#1104

Open
heshuimu wants to merge 2 commits intopraeclarum:masterfrom
heshuimu:master
Open

Support source code integration of sqlite3 for Unity IL2CPP#1104
heshuimu wants to merge 2 commits intopraeclarum:masterfrom
heshuimu:master

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