You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,7 @@ If you'd like to compile a newer (or older) version, the process is simple:
74
74
> > The versions of the SQLite amalgamation that are supplied on the download page are normally adequate for most users. However, some projects may want or need to build their own amalgamations. A common reason for building a custom amalgamation is in order to use certain compile-time options to customize the SQLite library. Recall that the SQLite amalgamation contains a lot of C-code that is generated by auxiliary programs and scripts. Many of the compile-time options effect this generated code and **must be supplied to the code generators before the amalgamation is assembled**.
75
75
76
76
**Quick Guide to Using the Latest version of SQLite**:
77
+
77
78
The snapshop of the complete (raw) source tree for the *current* version of SQLite is available on the ([SQLite Download Page](https://www.sqlite.org/download.html#old)) under: **Alternative Source Code Formats**.
78
79
You'll want the file named "sqlite-src-*version*.zip".
79
80
> Do **NOT** use the file beginning with "sqlite-preprocessed" - it will not work properly.
@@ -130,6 +131,7 @@ Thus, SQLiteLib uses SQLITE_ENABLE_LOCKING_STYLE=1 on OSX,
130
131
**but on iOS, SQLiteLib compiles with ENABLE_LOCKING_STYLE=0**.
131
132
132
133
This removes the code that uses the deprecated function, but doesn't get rid of the warning that "`gethostuuid() is disabled`" (as of 3.13.0).
134
+
133
135
To prevent this warning, SQLiteLib separately specifies `-Wno-#warnings` when building for iOS.
134
136
135
137
All of these base settings are configured in the SQLiteLib.xcconfig file.
@@ -142,13 +144,15 @@ SQLiteLib generates intermediate files in [${DERIVED_SOURCES_DIR}](https://devel
142
144
The generated SQLite amalgamation files are copied to:
143
145
144
146
-"${BUILT_PRODUCTS_DIR}/sqlite3.c"
147
+
145
148
-"${PROJECT_DIR}/sqlite3.h"
146
149
147
150
#### Notes
148
151
149
152
##### "sqlite3.c" shows as red/missing in Xcode
150
153
151
154
Xcode (verified in Version 7.3.1 (7D1014)) will always show "sqlite3.c" as red/missing, even after a build.
155
+
152
156
This is a UI issue in Xcode - the path is properly set in the project.pbxproj file to be "Relative to Build Products", and the build should succeed.
0 commit comments