From 29c6bd2069a8c2ed5f10e90eca50c9777dc4ffd7 Mon Sep 17 00:00:00 2001 From: Ilya Grechuhin Date: Tue, 25 Oct 2016 15:07:22 +0300 Subject: [PATCH] [ios] Updated xcode project for building lodepng library. --- .../lodepng/lodepng.xcodeproj/project.pbxproj | 77 ++----------------- 1 file changed, 6 insertions(+), 71 deletions(-) diff --git a/xcode/lodepng/lodepng.xcodeproj/project.pbxproj b/xcode/lodepng/lodepng.xcodeproj/project.pbxproj index 6e65814d26..b409083153 100644 --- a/xcode/lodepng/lodepng.xcodeproj/project.pbxproj +++ b/xcode/lodepng/lodepng.xcodeproj/project.pbxproj @@ -14,8 +14,9 @@ /* End PBXBuildFile section */ /* Begin PBXFileReference section */ + 34F5586C1DBF495000A4FC11 /* common-debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "common-debug.xcconfig"; path = "../common-debug.xcconfig"; sourceTree = ""; }; + 34F5586D1DBF495000A4FC11 /* common-release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "common-release.xcconfig"; path = "../common-release.xcconfig"; sourceTree = ""; }; 67E8DAF61BBC12560053C5BA /* liblodepng.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = liblodepng.a; sourceTree = BUILT_PRODUCTS_DIR; }; - 67E8DAFD1BBC12640053C5BA /* defaults.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = defaults.xcconfig; path = ../defaults.xcconfig; sourceTree = ""; }; 67E8DAFF1BBC13690053C5BA /* lodepng_io_private.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = lodepng_io_private.hpp; path = ../../3party/lodepng/lodepng_io_private.hpp; sourceTree = ""; }; 67E8DB001BBC13690053C5BA /* lodepng_io.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = lodepng_io.hpp; path = ../../3party/lodepng/lodepng_io.hpp; sourceTree = ""; }; 67E8DB011BBC13690053C5BA /* lodepng.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = lodepng.cpp; path = ../../3party/lodepng/lodepng.cpp; sourceTree = ""; }; @@ -36,7 +37,8 @@ 67E8DAED1BBC12560053C5BA = { isa = PBXGroup; children = ( - 67E8DAFD1BBC12640053C5BA /* defaults.xcconfig */, + 34F5586C1DBF495000A4FC11 /* common-debug.xcconfig */, + 34F5586D1DBF495000A4FC11 /* common-release.xcconfig */, 67E8DAFE1BBC13480053C5BA /* lodepng */, 67E8DAF71BBC12560053C5BA /* Products */, ); @@ -139,82 +141,15 @@ /* Begin XCBuildConfiguration section */ 67E8DAF81BBC12560053C5BA /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 67E8DAFD1BBC12640053C5BA /* defaults.xcconfig */; + baseConfigurationReference = 34F5586C1DBF495000A4FC11 /* common-debug.xcconfig */; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.10; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx"; }; name = Debug; }; 67E8DAF91BBC12560053C5BA /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 67E8DAFD1BBC12640053C5BA /* defaults.xcconfig */; + baseConfigurationReference = 34F5586D1DBF495000A4FC11 /* common-release.xcconfig */; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.10; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx"; }; name = Release; };