Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble-iphoneos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2012-03-12 04:12:06 +0400
committerMikkel Krautz <mikkel@krautz.dk>2012-03-12 04:12:06 +0400
commitc5949c2e6f272e06d68e64fc23273a69fe22a720 (patch)
tree4675dcaf2a7664832a717fb5f05364d80991140f /BuildConfig
parent3a51a848367d7592d8d5658dcabc19e879cebb6b (diff)
Use xcconfigs for Mumble.
Diffstat (limited to 'BuildConfig')
-rw-r--r--BuildConfig/AppStore.xcconfig7
-rw-r--r--BuildConfig/Base.xcconfig36
-rw-r--r--BuildConfig/BetaDist.xcconfig7
-rw-r--r--BuildConfig/Debug.xcconfig9
-rw-r--r--BuildConfig/Release.xcconfig13
5 files changed, 72 insertions, 0 deletions
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