summaryrefslogtreecommitdiffstats
path: root/build/debug.xcconfig
diff options
context:
space:
mode:
Diffstat (limited to 'build/debug.xcconfig')
-rw-r--r--build/debug.xcconfig7
1 files changed, 6 insertions, 1 deletions
diff --git a/build/debug.xcconfig b/build/debug.xcconfig
index 0fd2c21..8a22ce8 100644
--- a/build/debug.xcconfig
+++ b/build/debug.xcconfig
@@ -30,5 +30,10 @@
#include "common.xcconfig"
COPY_PHASE_STRIP = NO
+GCC_GENERATE_TEST_COVERAGE_FILES = YES
+GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES
GCC_OPTIMIZATION_LEVEL = 0
-GCC_PREPROCESSOR_DEFINITIONS = DEBUG
+GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS) DEBUG _GLIBCXX_CONCEPT_CHECKS _GLIBCXX_DEBUG _GLIBCXX_DEBUG_PEDANTIC
+OTHER_CFLAGS = $(OTHER_CFLAGS) -fstack-protector -fstack-protector-all
+
+CODECOVERAGE_OTHER_LDFLAGS = -lgcov