Help compiling GRDB with SWIFT_VERSION 5.0 and all opt-in APIs

This commit is contained in:
Gwendal Roué committed 2019-10-27 19:20:21 +01:00
1 parent 89bc509170
commit a78f3699eb
1 file changed
+5
+5
View File
@@ -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