From 2526315929de99fa5762583621fb52b626a62ef9 Mon Sep 17 00:00:00 2001 From: "mmentovai@google.com" Date: Tue, 12 Aug 2008 16:04:17 +0000 Subject: Eliminate symbol visibility warnings produced when linking a unit test target against libgtest. Make a few other changes to gtest.xcodeproj to bring it in line with the rest of our project files. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@715 0039d316-1c4b-4281-b951-d872f2087c98 --- testing/gtest.xcodeproj/project.pbxproj | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) (limited to 'testing/gtest.xcodeproj') diff --git a/testing/gtest.xcodeproj/project.pbxproj b/testing/gtest.xcodeproj/project.pbxproj index 30c6657..3301606 100644 --- a/testing/gtest.xcodeproj/project.pbxproj +++ b/testing/gtest.xcodeproj/project.pbxproj @@ -135,15 +135,12 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = NO; - GCC_DYNAMIC_NO_PIC = NO; - GCC_ENABLE_FIX_AND_CONTINUE = YES; - GCC_MODEL_TUNING = G5; + GCC_DYNAMIC_NO_PIC = YES; GCC_OPTIMIZATION_LEVEL = 0; HEADER_SEARCH_PATHS = ( gtest/include, gtest, ); - INSTALL_PATH = /usr/local/lib; PRODUCT_NAME = gtest; }; name = Debug; @@ -153,12 +150,11 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_MODEL_TUNING = G5; + GCC_DYNAMIC_NO_PIC = YES; HEADER_SEARCH_PATHS = ( gtest/include, gtest, ); - INSTALL_PATH = /usr/local/lib; PRODUCT_NAME = gtest; }; name = Release; @@ -166,26 +162,24 @@ 1DEB91F008733DB70010E9CD /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_BIT)"; - GCC_C_LANGUAGE_STANDARD = c99; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - ONLY_ACTIVE_ARCH = YES; + GCC_CW_ASM_SYNTAX = NO; + GCC_ENABLE_PASCAL_STRINGS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = YES; + GCC_SYMBOLS_PRIVATE_EXTERN = YES; PREBINDING = NO; - SDKROOT = macosx10.5; + WARNING_CFLAGS = "-Wall"; }; name = Debug; }; 1DEB91F108733DB70010E9CD /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_BIT)"; - GCC_C_LANGUAGE_STANDARD = c99; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; + GCC_CW_ASM_SYNTAX = NO; + GCC_ENABLE_PASCAL_STRINGS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = YES; + GCC_SYMBOLS_PRIVATE_EXTERN = YES; PREBINDING = NO; - SDKROOT = macosx10.5; + WARNING_CFLAGS = "-Wall"; }; name = Release; }; -- cgit v1.1