mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-30 04:28:44 +00:00
Restore backward compatibility for setup of custom SQLite builds
User only has to rename the `import` Swift statement
This commit is contained in:
1 parent
c9d95af646
commit
ccaad8d860
15 files changed
+123
-112
No files matched your search
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
// To compile SQLite with additional compilation options:
|
||||
// 1.) Add them to the "SQLiteLib-USER.xcconfig" in the SQLiteLib.xcodeproj
|
||||
// 2.) Add them to the CUSTOM_OTHER_SWIFT_FLAGS line below.
|
||||
// 3.) Optionally add them to "GRDBCustomSQLite-USER.h" to expose the appropriate SQLite APIs to framework consumers.
|
||||
//
|
||||
// See the README.md file for more details.
|
||||
//
|
||||
// How to Convert OTHER_CFLAGS to OTHER_SWIFT_FLAGS:
|
||||
// Add a space after the "-D"
|
||||
//
|
||||
// Example:
|
||||
// OTHER_CFLAGS = -DSQLITE_ENABLE_PREUPDATE_HOOK -DSQLITE_ENABLE_FTS5
|
||||
// becomes:
|
||||
// CUSTOM_OTHER_SWIFT_FLAGS = -D SQLITE_ENABLE_PREUPDATE_HOOK -D SQLITE_ENABLE_FTS5
|
||||
|
||||
CUSTOM_OTHER_SWIFT_FLAGS =
|
||||
|
||||
Reference in new issue
Block a user