From c5949c2e6f272e06d68e64fc23273a69fe22a720 Mon Sep 17 00:00:00 2001 From: Mikkel Krautz Date: Mon, 12 Mar 2012 01:12:06 +0100 Subject: Use xcconfigs for Mumble. --- BuildConfig/AppStore.xcconfig | 7 +++++++ BuildConfig/Base.xcconfig | 36 ++++++++++++++++++++++++++++++++++++ BuildConfig/BetaDist.xcconfig | 7 +++++++ BuildConfig/Debug.xcconfig | 9 +++++++++ BuildConfig/Release.xcconfig | 13 +++++++++++++ 5 files changed, 72 insertions(+) create mode 100644 BuildConfig/AppStore.xcconfig create mode 100644 BuildConfig/Base.xcconfig create mode 100644 BuildConfig/BetaDist.xcconfig create mode 100644 BuildConfig/Debug.xcconfig create mode 100644 BuildConfig/Release.xcconfig (limited to 'BuildConfig') diff --git a/BuildConfig/AppStore.xcconfig b/BuildConfig/AppStore.xcconfig new file mode 100644 index 0000000..08caa8f --- /dev/null +++ b/BuildConfig/AppStore.xcconfig @@ -0,0 +1,7 @@ +// Copyright 2012 The Mumble for iOS Developers. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +#include "Release.xcconfig" + +GCC_PREPROCESSOR_DEFINITIONS = MUMBLE_APP_STORE=1 diff --git a/BuildConfig/Base.xcconfig b/BuildConfig/Base.xcconfig new file mode 100644 index 0000000..6ce0c2d --- /dev/null +++ b/BuildConfig/Base.xcconfig @@ -0,0 +1,36 @@ +// Copyright 2012 The Mumble for iOS Developers. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +ARCHS = $(ARCHS_STANDARD_32_BIT) +SDKROOT = iphoneos + +MACOSX_DEPLOYMENT_TARGET = 10.7 +IPHONEOS_DEPLOYMENT_TARGET = 5.0 + +CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer + +IPHONEOS_DEPLOYMENT_TARGET = 5.0 + +TARGETED_DEVICE_FAMILY = 1 // iPhone + +ALWAYS_SEARCH_USER_PATHS = NO +USER_HEADER_SEARCH_PATHS = +HEADER_SEARCH_PATHS = ${PROJECT_DIR}/MumbleKit/src/ ${PROJECT_DIR}/Dependencies/fmdb/src/ ${PROJECT_DIR}/Dependencies/gtm/ ${PROJECT_DIR}/Dependencies/MKNumberBadgeView/ ${PROJECT_DIR}/Dependencies/plcrashreporter +FRAMEWORK_SEARCH_PATHS = + +OTHER_CFLAGS = -DNS_BLOCK_ASSERTIONS=1 + +GCC_WARN_ABOUT_RETURN_TYPE = YES +GCC_WARN_UNUSED_VARIABLE = YES + +INFOPLIST_FILE = Source/Info.plist + +GCC_PRECOMPILE_PREFIX_HEADER = YES +GCC_PREFIX_HEADER = Source/Mumble.pch + +VALIDATE_PRODUCT = YES + +OTHER_LDFLAGS = -all_load -ObjC + +PRODUCT_NAME = Mumble \ No newline at end of file diff --git a/BuildConfig/BetaDist.xcconfig b/BuildConfig/BetaDist.xcconfig new file mode 100644 index 0000000..0c0ffbd --- /dev/null +++ b/BuildConfig/BetaDist.xcconfig @@ -0,0 +1,7 @@ +// Copyright 2012 The Mumble for iOS Developers. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +#include "Release.xcconfig" + +GCC_PREPROCESSOR_DEFINITIONS = MUMBLE_BETA_DIST=1 \ No newline at end of file diff --git a/BuildConfig/Debug.xcconfig b/BuildConfig/Debug.xcconfig new file mode 100644 index 0000000..5da77b8 --- /dev/null +++ b/BuildConfig/Debug.xcconfig @@ -0,0 +1,9 @@ +// Copyright 2012 The Mumble for iOS Developers. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +#include "Base.xcconfig" + +COPY_PHASE_STRIP = NO + +GCC_OPTIMIZATION_LEVEL = 0 \ No newline at end of file diff --git a/BuildConfig/Release.xcconfig b/BuildConfig/Release.xcconfig new file mode 100644 index 0000000..202e041 --- /dev/null +++ b/BuildConfig/Release.xcconfig @@ -0,0 +1,13 @@ +// Copyright 2012 The Mumble for iOS Developers. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +#include "Base.xcconfig" + +COPY_PHASE_STRIP = YES + +CODE_SIGN_IDENTITY = iPhone Distribution: Mikkel Krautz + +GCC_FAST_MATH = YES +GCC_UNROLL_LOOPS = YES +GCC_OPTIMIZATION_LEVEL = 3 \ No newline at end of file -- cgit v1.2.3