Files
GRDB.swift/SQLiteCustom/GRDBCustomSQLite-USER.xcconfig.example
T
swiftlyfalling cb8331f213 Renamed customizable files to <file>-USER, added .example files, preserve user customizations.
Added .example files.
Added build phase script to copy .example files if user configuration
files are not already present.
2016-05-30 21:16:36 -04:00

17 lines
604 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-USER.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
// CUSTOM_OTHER_SWIFT_FLAGS = -D SQLITE_ENABLE_PREUPDATE_HOOK
CUSTOM_OTHER_SWIFT_FLAGS = -D SQLITE_ENABLE_PREUPDATE_HOOK