xcode project tweaks for building archives

git-svn-id: https://zxing.googlecode.com/svn/trunk@2074 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
smparkes@smparkes.net 2011-12-09 15:44:16 +00:00
parent 5ef08d7719
commit 3c4caa3170
2 changed files with 196 additions and 0 deletions

View file

@ -376,6 +376,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
OTHER_LDFLAGS = "-ObjC";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
WARNING_CFLAGS = (
"-Wno-unused-parameter",
"-Werror",
@ -402,6 +403,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
OTHER_LDFLAGS = "-ObjC";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
WARNING_CFLAGS = (
"-Wno-unused-parameter",
"-Werror",
@ -411,6 +413,102 @@
};
name = Release;
};
3B6E55431491B89E00C0C401 /* Ad Hoc Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = (
armv7,
armv6,
);
GCC_C_LANGUAGE_STANDARD = c99;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
GCC_VERSION = com.apple.compilers.llvmgcc42;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = core/src;
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
OTHER_LDFLAGS = "-ObjC";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
WARNING_CFLAGS = (
"-Wno-unused-parameter",
"-Werror",
"-Wextra",
"-Wall",
);
};
name = "Ad Hoc Debug";
};
3B6E55441491B89E00C0C401 /* Ad Hoc Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
COPY_PHASE_STRIP = NO;
DSTROOT = /tmp/zxing.dst;
GCC_DYNAMIC_NO_PIC = NO;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = ios_Prefix.pch;
INSTALL_PATH = /usr/local/lib;
PRODUCT_NAME = zxing;
WARNING_CFLAGS = (
"-Werror",
"-Wextra",
"-Wall",
"-Wno-unused-parameter",
);
};
name = "Ad Hoc Debug";
};
3B6E55451491B8A600C0C401 /* Ad Hoc Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = (
armv7,
armv6,
);
GCC_C_LANGUAGE_STANDARD = c99;
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
GCC_VERSION = com.apple.compilers.llvmgcc42;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = core/src;
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
OTHER_LDFLAGS = "-ObjC";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
WARNING_CFLAGS = (
"-Wno-unused-parameter",
"-Werror",
"-Wextra",
"-Wall",
);
};
name = "Ad Hoc Release";
};
3B6E55461491B8A600C0C401 /* Ad Hoc Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
DSTROOT = /tmp/zxing.dst;
GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = ios_Prefix.pch;
INSTALL_PATH = /usr/local/lib;
PRODUCT_NAME = zxing;
WARNING_CFLAGS = (
"-Werror",
"-Wextra",
"-Wall",
"-Wno-unused-parameter",
);
};
name = "Ad Hoc Release";
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
@ -418,7 +516,9 @@
isa = XCConfigurationList;
buildConfigurations = (
1DEB921F08733DC00010E9CD /* Debug */,
3B6E55441491B89E00C0C401 /* Ad Hoc Debug */,
1DEB922008733DC00010E9CD /* Release */,
3B6E55461491B8A600C0C401 /* Ad Hoc Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
@ -427,7 +527,9 @@
isa = XCConfigurationList;
buildConfigurations = (
1DEB922308733DC00010E9CD /* Debug */,
3B6E55431491B89E00C0C401 /* Ad Hoc Debug */,
1DEB922408733DC00010E9CD /* Release */,
3B6E55451491B8A600C0C401 /* Ad Hoc Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;

View file

@ -246,6 +246,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
OTHER_LDFLAGS = "-ObjC";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
WARNING_CFLAGS = (
"-Wextra",
"-Werror",
@ -274,6 +275,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
OTHER_LDFLAGS = "-ObjC";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
WARNING_CFLAGS = (
"-Wextra",
"-Werror",
@ -283,6 +285,94 @@
};
name = Release;
};
3B6E553F1491B88400C0C401 /* Ad Hoc Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = (
armv6,
armv7,
);
GCC_C_LANGUAGE_STANDARD = c99;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_VERSION = com.apple.compilers.llvmgcc42;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
../cpp/core/src,
src,
);
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
OTHER_LDFLAGS = "-ObjC";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
WARNING_CFLAGS = (
"-Wextra",
"-Werror",
"-Wall",
"-Wno-unused-parameter",
);
};
name = "Ad Hoc Debug";
};
3B6E55401491B88400C0C401 /* Ad Hoc Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
COPY_PHASE_STRIP = NO;
DSTROOT = /tmp/zxingmm.dst;
GCC_DYNAMIC_NO_PIC = NO;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = ios_Prefix.pch;
INSTALL_PATH = /usr/local/lib;
PRODUCT_NAME = zxingmm;
};
name = "Ad Hoc Debug";
};
3B6E55411491B88C00C0C401 /* Ad Hoc Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = (
armv6,
armv7,
);
GCC_C_LANGUAGE_STANDARD = c99;
GCC_VERSION = com.apple.compilers.llvmgcc42;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
../cpp/core/src,
src,
);
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
OTHER_LDFLAGS = "-ObjC";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
WARNING_CFLAGS = (
"-Wextra",
"-Werror",
"-Wall",
"-Wno-unused-parameter",
);
};
name = "Ad Hoc Release";
};
3B6E55421491B88C00C0C401 /* Ad Hoc Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
DSTROOT = /tmp/zxingmm.dst;
GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = ios_Prefix.pch;
INSTALL_PATH = /usr/local/lib;
PRODUCT_NAME = zxingmm;
};
name = "Ad Hoc Release";
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
@ -290,7 +380,9 @@
isa = XCConfigurationList;
buildConfigurations = (
1DEB921F08733DC00010E9CD /* Debug */,
3B6E55401491B88400C0C401 /* Ad Hoc Debug */,
1DEB922008733DC00010E9CD /* Release */,
3B6E55421491B88C00C0C401 /* Ad Hoc Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
@ -299,7 +391,9 @@
isa = XCConfigurationList;
buildConfigurations = (
1DEB922308733DC00010E9CD /* Debug */,
3B6E553F1491B88400C0C401 /* Ad Hoc Debug */,
1DEB922408733DC00010E9CD /* Release */,
3B6E55411491B88C00C0C401 /* Ad Hoc Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;