swiftlyfalling / SQLiteLib

Easily build a custom SQLite static library for use in macOS and iOS frameworks and apps.
MIT License
64 stars 23 forks source link

Include SQLite-SEE if present in project #40

Closed barnettben closed 5 years ago

barnettben commented 5 years ago

This is a replacement for #39.

I have amended the amalgamation building script to look for environmental variables pointing the the files required for the SQLite Encryption Extension. If these are present, the files are merged into the built amalgamation. If they are not present or don't point to files, the build behaviour is not changed.

The readme has been updated to document this change.

There's also a third commit which is not related to the extension, but I hope you find useful. In 0d5be31f516544947968ff8dc6f24ac7d5b40aee, I have moved the build scripts out of the Xcode project file and into their own files.

This allows for easier editing as you can open the files in any editor, and also allows for more clear diffs since the scripts are packed into a single line in the .xcodeproj file.

I hope this pull request is ok as it will be very helpful for integrating with GRDB: groue/GRDB.swift#509

Thank you.

swiftlyfalling commented 5 years ago

Sorry for the delay - looks good!