summaryrefslogtreecommitdiff
path: root/ext/googletest/xcode/Config/DebugProject.xcconfig
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2017-11-22 18:05:33 -0800
committerGabe Black <gabeblack@google.com>2017-11-28 10:57:58 +0000
commit6ea5639a03e0ed11be8ba688a5e3d2352aef9c28 (patch)
tree5563eb91319d0d8ee69168ad13b5c802ffcc60af /ext/googletest/xcode/Config/DebugProject.xcconfig
parent3812ac349ff221d32a0b0378b40b317b6ff61277 (diff)
downloadgem5-6ea5639a03e0ed11be8ba688a5e3d2352aef9c28.tar.xz
tests: Import the googletest library, release version 1.8.0.
Change-Id: Ic6c1391a19238011ff5cc97f513dbdc020dc6144 Reviewed-on: https://gem5-review.googlesource.com/6082 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'ext/googletest/xcode/Config/DebugProject.xcconfig')
-rw-r--r--ext/googletest/xcode/Config/DebugProject.xcconfig30
1 files changed, 30 insertions, 0 deletions
diff --git a/ext/googletest/xcode/Config/DebugProject.xcconfig b/ext/googletest/xcode/Config/DebugProject.xcconfig
new file mode 100644
index 000000000..3d68157d5
--- /dev/null
+++ b/ext/googletest/xcode/Config/DebugProject.xcconfig
@@ -0,0 +1,30 @@
+//
+// DebugProject.xcconfig
+//
+// These are Debug Configuration project settings for the gtest framework and
+// examples. It is set in the "Based On:" dropdown in the "Project" info
+// dialog.
+// This file is based on the Xcode Configuration files in:
+// http://code.google.com/p/google-toolbox-for-mac/
+//
+
+#include "General.xcconfig"
+
+// No optimization
+GCC_OPTIMIZATION_LEVEL = 0
+
+// Deployment postprocessing is what triggers Xcode to strip, turn it off
+DEPLOYMENT_POSTPROCESSING = NO
+
+// Dead code stripping off
+DEAD_CODE_STRIPPING = NO
+
+// Debug symbols should be on obviously
+GCC_GENERATE_DEBUGGING_SYMBOLS = YES
+
+// Define the DEBUG macro in all debug builds
+OTHER_CFLAGS = $(OTHER_CFLAGS) -DDEBUG=1
+
+// These are turned off to avoid STL incompatibilities with client code
+// // Turns on special C++ STL checks to "encourage" good STL use
+// GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS) _GLIBCXX_DEBUG_PEDANTIC _GLIBCXX_DEBUG _GLIBCPP_CONCEPT_CHECKS