Skip to content

Instantly share code, notes, and snippets.

@reklis
Created February 13, 2012 15:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reklis/1817668 to your computer and use it in GitHub Desktop.
Save reklis/1817668 to your computer and use it in GitHub Desktop.
Cinder full build on osx 10.7 Xcode 4.2.1
diff --git a/xcode/cinder.xcodeproj/project.pbxproj b/xcode/cinder.xcodeproj/project.pbxproj
index fad0215..e66892c 100644
--- a/xcode/cinder.xcodeproj/project.pbxproj
+++ b/xcode/cinder.xcodeproj/project.pbxproj
@@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
- objectVersion = 45;
+ objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
@@ -2043,8 +2043,11 @@
/* Begin PBXProject section */
0867D690FE84028FC02AAC07 /* Project object */ = {
isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0420;
+ };
buildConfigurationList = 1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "cinder" */;
- compatibilityVersion = "Xcode 3.1";
+ compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
@@ -2379,14 +2382,15 @@
CHECKED_STL = "-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC";
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
- GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = cinder_Prefix.pch;
+ GCC_VERSION = com.apple.compilers.llvmgcc42;
GENERATE_MASTER_OBJECT_FILE = YES;
INSTALL_PATH = /usr/local/lib;
- IPHONEOS_DEPLOYMENT_TARGET = 4.3;
+ IPHONEOS_DEPLOYMENT_TARGET = 3.2;
+ ONLY_ACTIVE_ARCH = NO;
OTHER_CPLUSPLUSFLAGS = "$(inherited)";
OTHER_LDFLAGS = (
../lib/ios/libboost_thread.a,
@@ -2415,9 +2419,11 @@
GCC_OPTIMIZATION_LEVEL = 3;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = cinder_Prefix.pch;
+ GCC_VERSION = com.apple.compilers.llvmgcc42;
GENERATE_MASTER_OBJECT_FILE = YES;
INSTALL_PATH = /usr/local/lib;
- IPHONEOS_DEPLOYMENT_TARGET = 4.3;
+ IPHONEOS_DEPLOYMENT_TARGET = 3.2;
+ ONLY_ACTIVE_ARCH = NO;
OTHER_CFLAGS = "";
OTHER_CPLUSPLUSFLAGS = "$(inherited)";
OTHER_LDFLAGS = (
@@ -2437,15 +2443,15 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
- ARCHS = i386;
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
CHECKED_STL = "-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC";
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
- GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = cinder_Prefix.pch;
+ GCC_VERSION = com.apple.compilers.llvmgcc42;
GENERATE_MASTER_OBJECT_FILE = YES;
INSTALL_PATH = /usr/local/lib;
IPHONEOS_DEPLOYMENT_TARGET = 4.3;
@@ -2459,7 +2465,7 @@
);
PRODUCT_NAME = "cinder-iphone-sim_d";
SDKROOT = iphoneos;
- VALID_ARCHS = i386;
+ VALID_ARCHS = "armv6 armv7";
};
name = Debug;
};
@@ -2467,7 +2473,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
- ARCHS = i386;
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
COPY_PHASE_STRIP = NO;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
@@ -2477,6 +2483,7 @@
GCC_OPTIMIZATION_LEVEL = 3;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = cinder_Prefix.pch;
+ GCC_VERSION = com.apple.compilers.llvmgcc42;
GENERATE_MASTER_OBJECT_FILE = YES;
INSTALL_PATH = /usr/local/lib;
IPHONEOS_DEPLOYMENT_TARGET = 4.3;
@@ -2491,7 +2498,7 @@
);
PRODUCT_NAME = "cinder-iphone-sim";
SDKROOT = iphoneos;
- VALID_ARCHS = i386;
+ VALID_ARCHS = "armv6 armv7";
};
name = Release;
};
@@ -2504,12 +2511,12 @@
COPY_PHASE_STRIP = NO;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_DYNAMIC_NO_PIC = NO;
- GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_ENABLE_OBJC_GC = unsupported;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = cinder_Prefix.pch;
+ GCC_VERSION = com.apple.compilers.llvmgcc42;
GENERATE_MASTER_OBJECT_FILE = YES;
INSTALL_PATH = /usr/local/lib;
MACOSX_DEPLOYMENT_TARGET = 10.5;
@@ -2525,7 +2532,7 @@
../lib/macosx/libz.a,
);
PRODUCT_NAME = cinder_d;
- SDKROOT = "";
+ SDKROOT = macosx10.6;
VALID_ARCHS = i386;
};
name = Debug;
@@ -2545,6 +2552,7 @@
GCC_OPTIMIZATION_LEVEL = 3;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = cinder_Prefix.pch;
+ GCC_VERSION = com.apple.compilers.llvmgcc42;
GENERATE_MASTER_OBJECT_FILE = YES;
INSTALL_PATH = /usr/local/lib;
MACOSX_DEPLOYMENT_TARGET = 10.5;
@@ -2561,7 +2569,7 @@
../lib/macosx/libz.a,
);
PRODUCT_NAME = cinder;
- SDKROOT = "";
+ SDKROOT = macosx10.6;
VALID_ARCHS = i386;
};
name = Release;
@@ -2583,7 +2591,6 @@
);
OBJROOT = build/;
OTHER_CPLUSPLUSFLAGS = "$(OTHER_CFLAGS)";
- PREBINDING = NO;
SYMROOT = ../lib;
USER_HEADER_SEARCH_PATHS = ../include;
};
@@ -2606,7 +2613,6 @@
);
OBJROOT = build/;
OTHER_CPLUSPLUSFLAGS = "$(OTHER_CFLAGS)";
- PREBINDING = NO;
SYMROOT = ../lib;
USER_HEADER_SEARCH_PATHS = ../include;
};
diff --git a/xcode/fullbuild.sh b/xcode/fullbuild.sh
index 09f2a0b..30ab760 100755
--- a/xcode/fullbuild.sh
+++ b/xcode/fullbuild.sh
@@ -1,6 +1,12 @@
-xcodebuild -project cinder.xcodeproj -target cinder -configuration Release
-xcodebuild -project cinder.xcodeproj -target cinder_iphone -configuration Release -sdk iphoneos
-xcodebuild -project cinder.xcodeproj -target cinder_iphone_sim -configuration Release -sdk iphonesimulator
-xcodebuild -project cinder.xcodeproj -target cinder -configuration Debug
-xcodebuild -project cinder.xcodeproj -target cinder_iphone -configuration Debug -sdk iphoneos
-xcodebuild -project cinder.xcodeproj -target cinder_iphone_sim -configuration Debug -sdk iphonesimulator
+for t in cinder cinder_iphone cinder_iphone_sim ; do
+ for c in Debug Release ; do
+ xcodebuild -project cinder.xcodeproj -target $t -configuration $c clean build
+ r=$?
+
+ if [ $r != 0 ] ; then
+ exit $r;
+ else
+ echo -e "\033[0;36m\t=== $t $c OK ===\033[0m"
+ fi
+ done
+done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment