From 45e5333c2c64d922d0ee9ba6ac094e1d01e4c8e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Fri, 5 Jun 2020 08:30:53 +0200 Subject: [PATCH] Test optimized SQLCipher --- Tests/CocoaPods/SQLCipher3/Podfile | 8 ++++++++ Tests/CocoaPods/SQLCipher4/Podfile | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/Tests/CocoaPods/SQLCipher3/Podfile b/Tests/CocoaPods/SQLCipher3/Podfile index 3b9db341d..9d45a0d3e 100644 --- a/Tests/CocoaPods/SQLCipher3/Podfile +++ b/Tests/CocoaPods/SQLCipher3/Podfile @@ -13,3 +13,11 @@ end target 'GRDBTestsEncrypted' do common end + +post_install do |installer| + installer.pods_project.targets.each do |target| + target.build_configurations.each do |config| + config.build_settings['GCC_OPTIMIZATION_LEVEL'] = '3' + end + end +end diff --git a/Tests/CocoaPods/SQLCipher4/Podfile b/Tests/CocoaPods/SQLCipher4/Podfile index a4b3447f0..d0124a874 100644 --- a/Tests/CocoaPods/SQLCipher4/Podfile +++ b/Tests/CocoaPods/SQLCipher4/Podfile @@ -13,3 +13,11 @@ end target 'GRDBTestsEncrypted' do common end + +post_install do |installer| + installer.pods_project.targets.each do |target| + target.build_configurations.each do |config| + config.build_settings['GCC_OPTIMIZATION_LEVEL'] = '3' + end + end +end