Files
GRDB.swift/SQLiteCustom/GRDBCustomSQLite-Custom.xcconfig
T
swiftlyfalling 9f406c6725 Add GRDBCustomSQLite targets and schemes.
To support building GRDB with a built-in custom SQLite build/version.
2016-05-30 18:16:04 -04:00

17 lines
592 B
Plaintext
Executable File

// To compile SQLite with additional compilation options:
// 1.) Add them to the "SQLiteLib-Custom.xcconfig" in the SQLiteLib.xcodeproj
// 2.) Add them to the CUSTOM_OTHER_SWIFT_FLAGS line below.
// 3.) Optionally add them to "GRDBCustomSQLite.h" to expose the appropriate SQLite APIs to framework consumers.
//
// How to Convert OTHER_CFLAGS to OTHER_SWIFT_FLAGS:
// Add a space after the "-D"
//
// Example:
// OTHER_CFLAGS = -DSQLITE_ENABLE_PREUPDATE_HOOK
// becomes
// OTHER_SWIFT_FLAGS = -D SQLITE_ENABLE_PREUPDATE_HOOK
CUSTOM_OTHER_SWIFT_FLAGS = -D SQLITE_ENABLE_PREUPDATE_HOOK