Forráskód Böngészése

Fix DEBUG Swift flag

Marcin Krzyżanowski 7 éve
szülő
commit
f532c5b9d4

+ 1 - 1
config/CryptoSwift-Debug.xcconfig

@@ -24,4 +24,4 @@ SWIFT_COMPILATION_MODE = wholemodule
 // 
 // Enforce exclusive access to memory
 
-SWIFT_ENFORCE_EXCLUSIVE_ACCESS = none
+SWIFT_ENFORCE_EXCLUSIVE_ACCESS = none

+ 2 - 2
config/CryptoSwift-Test.xcconfig

@@ -42,7 +42,7 @@ LLVM_LTO = YES
 // 
 // A list of additional flags to pass to the Swift compiler.
 
-OTHER_SWIFT_FLAGS = -Xfrontend -debug-time-function-bodies
+OTHER_SWIFT_FLAGS = $(inherited) -Xfrontend -debug-time-function-bodies
 
 
 
@@ -69,4 +69,4 @@ SWIFT_ENFORCE_EXCLUSIVE_ACCESS = compile-time
 // * *Optimize for Size:* [-Osize]
 // * *Whole Module Optimization:* [-O -whole-module-optimization]
 
-SWIFT_OPTIMIZATION_LEVEL = -Owholemodule
+SWIFT_OPTIMIZATION_LEVEL = -Owholemodule

+ 0 - 8
config/CryptoSwift-TestHostApp-Debug.xcconfig

@@ -102,14 +102,6 @@ ONLY_ACTIVE_ARCH = YES
 
 
 
-// Active Compilation Conditions
-// 
-// A list of compilation conditions to enable for conditional compilation expressions.
-
-SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG
-
-
-
 // Swift Optimization Level
 // 
 // * *None:* Compile without any optimization. [-Onone]

+ 4 - 0
config/Project-Debug.xcconfig

@@ -44,7 +44,11 @@ GCC_DYNAMIC_NO_PIC = NO
 
 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) DEBUG=1
 
+// Active Compilation Conditions
+//
+// A list of compilation conditions to enable for conditional compilation expressions.
 
+SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG
 
 METAL_ENABLE_DEBUG_INFO = YES
 

+ 6 - 0
config/Project-Test.xcconfig

@@ -81,6 +81,12 @@ GCC_OPTIMIZATION_LEVEL = fast
 
 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) DEBUG=1 CI=1
 
+// Active Compilation Conditions
+//
+// A list of compilation conditions to enable for conditional compilation expressions.
+
+SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG
+
 
 
 METAL_ENABLE_DEBUG_INFO = NO