diff --git a/Support/GRDB.xcconfig b/Support/GRDB.xcconfig index e6cedc256..a8c91b9d3 100644 --- a/Support/GRDB.xcconfig +++ b/Support/GRDB.xcconfig @@ -6,3 +6,8 @@ MODULEMAP_FILE = $(SRCROOT)/Support/module.modulemap // Slow compilation hunt: // OTHER_SWIFT_FLAGS = $(inherited) -Xfrontend -warn-long-expression-type-checking=100 -Xfrontend -warn-long-function-bodies=100 + +// Compile with Swift 5 and all opt-in APIs +//SWIFT_VERSION = 5.0 +//GCC_PREPROCESSOR_DEFINITIONS = $(inherited) GRDB_SQLITE_ENABLE_PREUPDATE_HOOK=1 +//OTHER_SWIFT_FLAGS = $(inherited) -D SQLITE_ENABLE_FTS5 -D SQLITE_ENABLE_PREUPDATE_HOOK