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
+5-10Lines changed: 5 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -29,21 +29,18 @@ If you need a specific version of SQLite, or specific SQLite compilation options
29
29
30
30
That's it! (You'll probably also want to `#include "sqlite3.h"` somewhere. SQLiteLib copies this generated file to its project directory.)
31
31
32
-
==========
33
32
34
33
#### Using in Swift
35
34
36
35
You probably shouldn't be using the raw SQLite C API in Swift. There are a bunch of great libraries available that wrap it.
37
36
38
37
For example: ([GRDB.swift](https://github.com/groue/GRDB.swift)).
39
38
40
-
==========
41
39
42
40
## Customization:
43
41
44
42
By default, SQLiteLib builds SQLite with options that match the built-in system version of SQLite on OSX and iOS (as of OSX 10.11.5, iOS 9.3.2), [with one exception*](#additional-details).
@@ -82,15 +78,14 @@ If you'd like to compile a newer (or older) version, the process is simple:
82
78
> Setting compilation options using the SQLite amalgamation is not guaranteed to work:
83
79
> > 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**.
84
80
85
-
==========
86
81
87
-
**Quick Guide to Using the Latest version of SQLite**:
82
+
####**Quick Guide to Using the Latest version of SQLite**:
88
83
89
84
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**.
90
85
You'll want the file named "sqlite-src-*version*.zip".
91
86
> Do **NOT** use the file beginning with "sqlite-preprocessed" - it will not work properly.
92
87
93
-
==========
88
+
94
89
95
90
## Additional Details:
96
91
@@ -150,7 +145,7 @@ To prevent this warning, SQLiteLib separately specifies `-Wno-#warnings` when bu
150
145
All of these base settings are configured in the SQLiteLib.xcconfig file.
151
146
It is strongly recommended that you do not edit this file. If you'd like to specify additional compilation options, see [the instructions above](#specifying-additional-sqlite-compilation-options)
152
147
153
-
==========
148
+
154
149
155
150
#### Build Locations
156
151
@@ -162,9 +157,9 @@ The generated SQLite amalgamation files are copied to:
0 commit comments