diff Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj @ 3401:244ca085c026

iPhone/Xcode for 1.3 Eric Wing to Sam Here's another patch for Xcode-iPhone for 1.3. This has been sitting for awhile too, so you may want to test. Contains mostly small changes, but tries to unify how I do some of the script stages with the Mac version.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 17 Oct 2009 07:38:14 +0000
parents 20326ba2bda2
children 45ad54b4d9d6
line wrap: on
line diff
--- a/Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj	Sat Oct 17 07:36:45 2009 +0000
+++ b/Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj	Sat Oct 17 07:38:14 2009 +0000
@@ -7,6 +7,18 @@
 	objects = {
 
 /* Begin PBXAggregateTarget section */
+		0064653F107E3D7400183915 /* Generate Header Files */ = {
+			isa = PBXAggregateTarget;
+			buildConfigurationList = 0064655A107E3E0400183915 /* Build configuration list for PBXAggregateTarget "Generate Header Files" */;
+			buildPhases = (
+				00646544107E3D8300183915 /* Run Script to Create SDL_config.h */,
+				00646546107E3DB200183915 /* Run Script to Create SDL_revision.h */,
+			);
+			dependencies = (
+			);
+			name = "Generate Header Files";
+			productName = "Generate Header Files";
+		};
 		FDB043B30E2689CC00F5B3F9 /* Template */ = {
 			isa = PBXAggregateTarget;
 			buildConfigurationList = FDB043C20E268A0D00F5B3F9 /* Build configuration list for PBXAggregateTarget "Template" */;
@@ -344,6 +356,13 @@
 /* End PBXBuildFile section */
 
 /* Begin PBXContainerItemProxy section */
+		00646547107E3DE800183915 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = 0064653F107E3D7400183915 /* Generate Header Files */;
+			remoteInfo = "Generate Header Files";
+		};
 		FDB043B70E2689DD00F5B3F9 /* PBXContainerItemProxy */ = {
 			isa = PBXContainerItemProxy;
 			containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */;
@@ -1173,13 +1192,13 @@
 			isa = PBXNativeTarget;
 			buildConfigurationList = FD6526990DE8FD14002AD96B /* Build configuration list for PBXNativeTarget "StaticLibiPhoneOS" */;
 			buildPhases = (
-				FDB0439F0E26877100F5B3F9 /* Run Script to Create SDL_config.h */,
 				FD65265F0DE8FCCB002AD96B /* Headers */,
 				FD6526600DE8FCCB002AD96B /* Sources */,
 			);
 			buildRules = (
 			);
 			dependencies = (
+				00646548107E3DE800183915 /* PBXTargetDependency */,
 			);
 			name = StaticLibiPhoneOS;
 			productName = iPhoneSDLStaticLib;
@@ -1217,26 +1236,46 @@
 			targets = (
 				FD6526620DE8FCCB002AD96B /* StaticLibiPhoneOS */,
 				FDBB64820E159B23003B3114 /* StaticLibSimulator */,
+				0064653F107E3D7400183915 /* Generate Header Files */,
 				FDB043B30E2689CC00F5B3F9 /* Template */,
 			);
 		};
 /* End PBXProject section */
 
 /* Begin PBXShellScriptBuildPhase section */
-		FDB0439F0E26877100F5B3F9 /* Run Script to Create SDL_config.h */ = {
+		00646544107E3D8300183915 /* Run Script to Create SDL_config.h */ = {
 			isa = PBXShellScriptBuildPhase;
 			buildActionMask = 2147483647;
 			files = (
 			);
 			inputPaths = (
+				"$(SRCROOT)/../../include/SDL_config.h.default",
 			);
 			name = "Run Script to Create SDL_config.h";
 			outputPaths = (
+				"$(SRCROOT)/../../include/SDL_config.h",
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 			shellPath = /bin/sh;
 			shellScript = "# Make sure that include/SDL_config.h is a symlink to SDL_config.h.default.\n# If it exists and is not a symlink, it was probably generated by configure and\n# we move it aside.\nif [ ! -L ../../include/SDL_config.h ]; then\n        if [ -e ../../include/SDL_config.h ]; then\n                mv ../../include/SDL_config.h ../../include/SDL_config.h.generated\n        fi\n        ln -s SDL_config.h.default ../../include/SDL_config.h\nfi\n";
 		};
+		00646546107E3DB200183915 /* Run Script to Create SDL_revision.h */ = {
+			isa = PBXShellScriptBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			inputPaths = (
+				"$(SRCROOT)/../../build-scripts/showrev.sh",
+				"$(SRCROOT)/../../build-scripts/updaterev.sh",
+			);
+			name = "Run Script to Create SDL_revision.h";
+			outputPaths = (
+				"$(SRCROOT)/../../include/SDL_revision.h",
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+			shellPath = /bin/sh;
+			shellScript = "sh ../../build-scripts/updaterev.sh";
+		};
 		FDB043A10E2687A100F5B3F9 /* Run Script to Create SDL_config.h */ = {
 			isa = PBXShellScriptBuildPhase;
 			buildActionMask = 2147483647;
@@ -1452,6 +1491,11 @@
 /* End PBXSourcesBuildPhase section */
 
 /* Begin PBXTargetDependency section */
+		00646548107E3DE800183915 /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			target = 0064653F107E3D7400183915 /* Generate Header Files */;
+			targetProxy = 00646547107E3DE800183915 /* PBXContainerItemProxy */;
+		};
 		FDB043B80E2689DD00F5B3F9 /* PBXTargetDependency */ = {
 			isa = PBXTargetDependency;
 			target = FDBB64820E159B23003B3114 /* StaticLibSimulator */;
@@ -1465,6 +1509,27 @@
 /* End PBXTargetDependency section */
 
 /* Begin XCBuildConfiguration section */
+		00646540107E3D7500183915 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				COPY_PHASE_STRIP = NO;
+				GCC_DYNAMIC_NO_PIC = NO;
+				GCC_OPTIMIZATION_LEVEL = 0;
+				PRODUCT_NAME = "Generate Header Files";
+			};
+			name = Debug;
+		};
+		00646541107E3D7500183915 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				COPY_PHASE_STRIP = YES;
+				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+				GCC_ENABLE_FIX_AND_CONTINUE = NO;
+				PRODUCT_NAME = "Generate Header Files";
+				ZERO_LINK = NO;
+			};
+			name = Release;
+		};
 		C01FCF4F08A954540054247B /* Debug */ = {
 			isa = XCBuildConfiguration;
 			buildSettings = {
@@ -1579,6 +1644,15 @@
 /* End XCBuildConfiguration section */
 
 /* Begin XCConfigurationList section */
+		0064655A107E3E0400183915 /* Build configuration list for PBXAggregateTarget "Generate Header Files" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				00646540107E3D7500183915 /* Debug */,
+				00646541107E3D7500183915 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
 		C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SDLiPhoneOS" */ = {
 			isa = XCConfigurationList;
 			buildConfigurations = (