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.
This commit is contained in:
swiftlyfalling committed 2016-05-30 21:16:36 -04:00
1 parent ffa2858d82
commit cb8331f213
7 files changed
+86 -8

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
// 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