Explorar el Código

DEBUG=1 for Tests

Marcin Krzyżanowski hace 7 años
padre
commit
4a51bec5ba

+ 2 - 2
config/CryptoSwift-TestHostApp-Debug.xcconfig

@@ -82,7 +82,7 @@ GCC_OPTIMIZATION_LEVEL = 0
 // 
 // Space-separated list of preprocessor macros of the form `foo` or `foo=bar`.
 
-GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited)
+GCC_PREPROCESSOR_DEFINITIONS = $(inherited) DEBUG=1
 
 
 
@@ -117,4 +117,4 @@ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG
 // * *Optimize for Size:* [-Osize]
 // * *Whole Module Optimization:* [-O -whole-module-optimization]
 
-SWIFT_OPTIMIZATION_LEVEL = -Onone
+SWIFT_OPTIMIZATION_LEVEL = -Onone

+ 2 - 2
config/Project-Debug.xcconfig

@@ -42,7 +42,7 @@ GCC_DYNAMIC_NO_PIC = NO
 // 
 // Space-separated list of preprocessor macros of the form `foo` or `foo=bar`.
 
-GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited)
+GCC_PREPROCESSOR_DEFINITIONS = $(inherited) DEBUG=1
 
 
 
@@ -54,4 +54,4 @@ METAL_ENABLE_DEBUG_INFO = YES
 // 
 // If enabled, only the active architecture is built.
 
-ONLY_ACTIVE_ARCH = YES
+ONLY_ACTIVE_ARCH = YES

+ 2 - 2
config/Project-Test.xcconfig

@@ -79,7 +79,7 @@ GCC_OPTIMIZATION_LEVEL = fast
 // 
 // Space-separated list of preprocessor macros of the form `foo` or `foo=bar`.
 
-GCC_PREPROCESSOR_DEFINITIONS = CI=1
+GCC_PREPROCESSOR_DEFINITIONS = $(inherited) DEBUG=1 CI=1
 
 
 
@@ -99,4 +99,4 @@ ONLY_ACTIVE_ARCH = YES
 // 
 // If enabled, perform validation checks on the product as part of the build process.
 
-VALIDATE_PRODUCT = YES
+VALIDATE_PRODUCT = YES