SQLite is available as
A complete VSIX package with an extension SDK and all other components needed to use SQLite for application development with Visual Studio 2012 targeting Windows Phone 8.0.
But I need to do some modification in source code. Tim Heuer in his blog described how to build sqlite for WinRT.
The main part I guess:
Build the DLL: nmake -f makefile.msc sqlite3.dll FOR_WINRT=1 If building for ARM: nmake -f makefile.msc sqlite3.dll FOR_WINRT=1 OPTS=/DWINAPI_FAMILY=WINAPI_PARTITION_APP
What options should be specified to build for Windows Phone 8?
Update:
I've tried
nmake -f makefile.msc sqlite3.dll FOR_WINRT=1 OPTS=-DWINAPI_FAMILY=WINAPI_PARTITION_PHONE
Result:
Also I've tried
nmake -f makefile.msc sqlite3.dll FOR_WINRT=1 OPTS=-DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP
Result: