Skip to content

Commit 3d651f5

Browse files
More README formatting fixes
1 parent ecaad76 commit 3d651f5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ If you'd like to compile a newer (or older) version, the process is simple:
7474
> > 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**.
7575
7676
**Quick Guide to Using the Latest version of SQLite**:
77+
7778
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**.
7879
You'll want the file named "sqlite-src-*version*.zip".
7980
> 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,
130131
**but on iOS, SQLiteLib compiles with ENABLE_LOCKING_STYLE=0**.
131132

132133
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+
133135
To prevent this warning, SQLiteLib separately specifies `-Wno-#warnings` when building for iOS.
134136

135137
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
142144
The generated SQLite amalgamation files are copied to:
143145

144146
-"${BUILT_PRODUCTS_DIR}/sqlite3.c"
147+
145148
-"${PROJECT_DIR}/sqlite3.h"
146149

147150
#### Notes
148151

149152
##### "sqlite3.c" shows as red/missing in Xcode
150153

151154
Xcode (verified in Version 7.3.1 (7D1014)) will always show "sqlite3.c" as red/missing, even after a build.
155+
152156
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.
153157

154158

0 commit comments

Comments
 (0)