project_files/HedgewarsMobile/Hedgewars.xcodeproj/project.pbxproj
branchios-revival
changeset 11108 28724483b051
parent 11095 59fdc1ea1a4d
child 11109 5ea358421a65
equal deleted inserted replaced
11107:553899c1ff78 11108:28724483b051
  1601 			outputPaths = (
  1601 			outputPaths = (
  1602 				"$(TARGET_BUILD_DIR)/libfpc.a",
  1602 				"$(TARGET_BUILD_DIR)/libfpc.a",
  1603 			);
  1603 			);
  1604 			runOnlyForDeploymentPostprocessing = 0;
  1604 			runOnlyForDeploymentPostprocessing = 0;
  1605 			shellPath = /bin/sh;
  1605 			shellPath = /bin/sh;
  1606 			shellScript = "# Build libfpc.a\n# 9 July 2006 (Jonas Maebe)\n#   * original version\n# 15 September 2006 (Erling Johansen)\n#   * simplified\n# 26 April 2007 (Jonas Maebe)\n#  * added support for ppc64/x86_64 (future proofing)\n# 4 August 2007 (Jonas Maebe)\n#  * call ranlib after ar so the toc of the library is up-to-date\n# 3 January 2009 (Jonas Maebe)\n#  * support for ARM\n# 24 October 2009 (Jonas Maebe)\n#  * don't hardcode version 2.3.1 anymore under certain circumstances\n#  * use the FPC_RTL_UNITS_BASE setting\n# 13 December 2009 (Jonas Maebe)\n#  * use new FPC_COMPILER_BINARY_DIR setting to make it easier to change the used FPC version\n\nrm -f \"$TARGET_TEMP_DIR\"/*.a\nnarch=\n\ntemparchs=`echo $ARCHS|sed -e 's/arm[^\\w]*/arm\\\n/'|sort -u`\necho $temparchs\nfor arch in $temparchs\ndo\n\ttargetos=darwin;\n\tcase $arch in\n        arm64) fpc_arch=rossa64; fpc_rtl=aarch64 ;;\n        armv7) fpc_arch=rossarm; fpc_rtl=arm ;;\n        x86_64) fpc_arch=x64; fpc_rtl=x86_64; targetos=iphonesim ;;\n#       ppc) fpc_arch=ppc; fpc_rtl=powerpc ;;\n#\t\ti386) fpc_arch=386; fpc_rtl=i386; targetos=iphonesim ;;\n#\t\tppc64) fpc_arch=ppc64; fpc_rtl=powerpc64 ;;\n#\t\tx86_64) fpc_arch=x64; fpc_rtl=x86_64 ;;\n#\t\tarm*) fpc_arch=arm; fpc_rtl=arm ;;\n\t\t*) continue\n\tesac\n\tif test -e \"${FPC_COMPILER_BINARY_DIR}\"/ppc${fpc_arch}\n\tthen\n\t\tupath=\"$FPC_RTL_UNITS_BASE\"/`\"${FPC_COMPILER_BINARY_DIR}\"/ppc${fpc_arch} -iV`/units/${fpc_rtl}-${targetos}\n\t\tar -q \"$TARGET_TEMP_DIR\"/libfpc${narch}.a `ls \"$upath\"/*/*.o | grep -v 'darwin/fv/'`\n\t\tranlib \"$TARGET_TEMP_DIR\"/libfpc${narch}.a\n\t\tnarch=${narch}x\n\telse\n\t\techo error: can\\'t build libfpc.a for $arch \\(${FPC_COMPILER_BINARY_DIR}/ppc${fpc_arch} not found, derived from FPC_COMPILER_BINARY_DIR project setting\\)\n\tfi\ndone\n\nif test ${#narch} -gt 1\nthen\n\tlipo -create \"$TARGET_TEMP_DIR\"/libfpc*.a -output \"$TARGET_BUILD_DIR\"/libfpc.a\n\trm -f \"$TARGET_TEMP_DIR\"/*.a\nelse\n\tmv \"$TARGET_TEMP_DIR\"/libfpc.a \"$TARGET_BUILD_DIR\"\nfi\n";
  1606 			shellScript = "# Build libfpc.a\n# 9 July 2006 (Jonas Maebe)\n#   * original version\n# 15 September 2006 (Erling Johansen)\n#   * simplified\n# 26 April 2007 (Jonas Maebe)\n#  * added support for ppc64/x86_64 (future proofing)\n# 4 August 2007 (Jonas Maebe)\n#  * call ranlib after ar so the toc of the library is up-to-date\n# 3 January 2009 (Jonas Maebe)\n#  * support for ARM\n# 24 October 2009 (Jonas Maebe)\n#  * don't hardcode version 2.3.1 anymore under certain circumstances\n#  * use the FPC_RTL_UNITS_BASE setting\n# 13 December 2009 (Jonas Maebe)\n#  * use new FPC_COMPILER_BINARY_DIR setting to make it easier to change the used FPC version\n\nrm -f \"$TARGET_TEMP_DIR\"/*.a\nnarch=\n\n#temparchs=`echo $ARCHS|sed -e 's/arm[^\\w]*/arm\\\n#/'|sort -u`\ntemparchs=($ARCHS)\necho $temparchs\nfor arch in $temparchs\ndo\n\ttargetos=darwin;\n\tcase $arch in\n        arm64) fpc_arch=rossa64; fpc_rtl=aarch64 ;;\n        armv7) fpc_arch=rossarm; fpc_rtl=arm ;;\n        x86_64) fpc_arch=x64; fpc_rtl=x86_64; targetos=iphonesim ;;\n#       ppc) fpc_arch=ppc; fpc_rtl=powerpc ;;\n#\t\ti386) fpc_arch=386; fpc_rtl=i386; targetos=iphonesim ;;\n#\t\tppc64) fpc_arch=ppc64; fpc_rtl=powerpc64 ;;\n#\t\tx86_64) fpc_arch=x64; fpc_rtl=x86_64 ;;\n#\t\tarm*) fpc_arch=arm; fpc_rtl=arm ;;\n\t\t*) continue\n\tesac\n\tif test -e \"${FPC_COMPILER_BINARY_DIR}\"/ppc${fpc_arch}\n\tthen\n\t\tupath=\"$FPC_RTL_UNITS_BASE\"/`\"${FPC_COMPILER_BINARY_DIR}\"/ppc${fpc_arch} -iV`/units/${fpc_rtl}-${targetos}\n\t\tar -q \"$TARGET_TEMP_DIR\"/libfpc${narch}.a `ls \"$upath\"/*/*.o | grep -v 'darwin/fv/'`\n\t\tranlib \"$TARGET_TEMP_DIR\"/libfpc${narch}.a\n\t\tnarch=${narch}x\n\telse\n\t\techo error: can\\'t build libfpc.a for $arch \\(${FPC_COMPILER_BINARY_DIR}/ppc${fpc_arch} not found, derived from FPC_COMPILER_BINARY_DIR project setting\\)\n\tfi\ndone\n\nif test ${#narch} -gt 1\nthen\n\tlipo -create \"$TARGET_TEMP_DIR\"/libfpc*.a -output \"$TARGET_BUILD_DIR\"/libfpc.a\n\trm -f \"$TARGET_TEMP_DIR\"/*.a\nelse\n\tmv \"$TARGET_TEMP_DIR\"/libfpc.a \"$TARGET_BUILD_DIR\"\nfi\n";
  1607 		};
  1607 		};
  1608 		928301560F10E04C00CC5A3C /* Compile Pascal Sources */ = {
  1608 		928301560F10E04C00CC5A3C /* Compile Pascal Sources */ = {
  1609 			isa = PBXShellScriptBuildPhase;
  1609 			isa = PBXShellScriptBuildPhase;
  1610 			buildActionMask = 2147483647;
  1610 			buildActionMask = 2147483647;
  1611 			comments = "This run script compiles (all) pascal sources into assembler by calling FPC with the main program (only) as argument. FPC will in turn compile dependent units as necessary. The Compile Sources build phase will detect the outdated .o files and assemble the modified sources (because the Pascal source files rule states that output from pascal compilation is assembler files in derived source folders).   ";
  1611 			comments = "This run script compiles (all) pascal sources into assembler by calling FPC with the main program (only) as argument. FPC will in turn compile dependent units as necessary. The Compile Sources build phase will detect the outdated .o files and assemble the modified sources (because the Pascal source files rule states that output from pascal compilation is assembler files in derived source folders).   ";
  1943 				PROVISIONING_PROFILE = "";
  1943 				PROVISIONING_PROFILE = "";
  1944 				"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
  1944 				"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
  1945 				SDKROOT = iphoneos;
  1945 				SDKROOT = iphoneos;
  1946 				TARGETED_DEVICE_FAMILY = "1,2";
  1946 				TARGETED_DEVICE_FAMILY = "1,2";
  1947 				VALIDATE_PRODUCT = YES;
  1947 				VALIDATE_PRODUCT = YES;
  1948 				VALID_ARCHS = "armv7 armv6 arm64 x86_64";
  1948 				VALID_ARCHS = "armv7 x86_64";
  1949 				WARNING_CFLAGS = (
  1949 				WARNING_CFLAGS = (
  1950 					"-Wall",
  1950 					"-Wall",
  1951 					"-Wbad-function-cast",
  1951 					"-Wbad-function-cast",
  1952 					"-Wmissing-declarations",
  1952 					"-Wmissing-declarations",
  1953 					"-Wnested-externs",
  1953 					"-Wnested-externs",
  2056 				PROVISIONING_PROFILE = "";
  2056 				PROVISIONING_PROFILE = "";
  2057 				"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
  2057 				"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
  2058 				SDKROOT = iphoneos;
  2058 				SDKROOT = iphoneos;
  2059 				TARGETED_DEVICE_FAMILY = "1,2";
  2059 				TARGETED_DEVICE_FAMILY = "1,2";
  2060 				VALIDATE_PRODUCT = YES;
  2060 				VALIDATE_PRODUCT = YES;
  2061 				VALID_ARCHS = "armv7 armv6 arm64 x86_64";
  2061 				VALID_ARCHS = "armv7 x86_64";
  2062 				WARNING_CFLAGS = (
  2062 				WARNING_CFLAGS = (
  2063 					"-Wall",
  2063 					"-Wall",
  2064 					"-Wbad-function-cast",
  2064 					"-Wbad-function-cast",
  2065 					"-Wmissing-declarations",
  2065 					"-Wmissing-declarations",
  2066 					"-Wnested-externs",
  2066 					"-Wnested-externs",
  2212 				PROVISIONING_PROFILE = "";
  2212 				PROVISIONING_PROFILE = "";
  2213 				"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
  2213 				"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
  2214 				SDKROOT = iphoneos;
  2214 				SDKROOT = iphoneos;
  2215 				TARGETED_DEVICE_FAMILY = "1,2";
  2215 				TARGETED_DEVICE_FAMILY = "1,2";
  2216 				VALIDATE_PRODUCT = NO;
  2216 				VALIDATE_PRODUCT = NO;
  2217 				VALID_ARCHS = "armv7 armv6 arm64 x86_64";
  2217 				VALID_ARCHS = "armv7 x86_64";
  2218 				WARNING_CFLAGS = (
  2218 				WARNING_CFLAGS = (
  2219 					"-Wall",
  2219 					"-Wall",
  2220 					"-Wbad-function-cast",
  2220 					"-Wbad-function-cast",
  2221 					"-Wmissing-declarations",
  2221 					"-Wmissing-declarations",
  2222 					"-Wnested-externs",
  2222 					"-Wnested-externs",
  2243 				ENABLE_STRICT_OBJC_MSGSEND = YES;
  2243 				ENABLE_STRICT_OBJC_MSGSEND = YES;
  2244 				FPC_COMMON_OPTIONS = "-l- -dIPHONEOS -Cs2000000 -B  -vwi -Sgix -Fi${PROJECT_DIR}";
  2244 				FPC_COMMON_OPTIONS = "-l- -dIPHONEOS -Cs2000000 -B  -vwi -Sgix -Fi${PROJECT_DIR}";
  2245 				FPC_COMPILER_BINARY_DIR = /usr/local/lib/fpc/3.1.1;
  2245 				FPC_COMPILER_BINARY_DIR = /usr/local/lib/fpc/3.1.1;
  2246 				FPC_MAIN_FILE = "$(PROJECT_DIR)/../../hedgewars/hwLibrary.pas";
  2246 				FPC_MAIN_FILE = "$(PROJECT_DIR)/../../hedgewars/hwLibrary.pas";
  2247 				FPC_RTL_UNITS_BASE = /usr/local/lib/fpc;
  2247 				FPC_RTL_UNITS_BASE = /usr/local/lib/fpc;
  2248 				FPC_SPECIFIC_OPTIONS = "-Ci- -Cr- -Co- -Os -Xs  -Cfvfpv3 -dDEBUGFILE";
  2248 				FPC_SPECIFIC_OPTIONS = "-Ci- -Cr- -Co- -Os -Xs -dDEBUGFILE";
  2249 				FPC_UNITS_PATH = "-Fu\"$(PROJECT_DIR)\"";
  2249 				FPC_UNITS_PATH = "-Fu\"$(PROJECT_DIR)\"";
  2250 				GCC_C_LANGUAGE_STANDARD = c99;
  2250 				GCC_C_LANGUAGE_STANDARD = c99;
  2251 				GCC_DEBUGGING_SYMBOLS = default;
  2251 				GCC_DEBUGGING_SYMBOLS = default;
  2252 				GCC_DYNAMIC_NO_PIC = YES;
  2252 				GCC_DYNAMIC_NO_PIC = YES;
  2253 				GCC_FAST_MATH = YES;
  2253 				GCC_FAST_MATH = YES;
  2292 				PROVISIONING_PROFILE = "";
  2292 				PROVISIONING_PROFILE = "";
  2293 				"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
  2293 				"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
  2294 				SDKROOT = iphoneos;
  2294 				SDKROOT = iphoneos;
  2295 				TARGETED_DEVICE_FAMILY = "1,2";
  2295 				TARGETED_DEVICE_FAMILY = "1,2";
  2296 				VALIDATE_PRODUCT = NO;
  2296 				VALIDATE_PRODUCT = NO;
  2297 				VALID_ARCHS = "armv7 armv6 arm64 x86_64";
  2297 				VALID_ARCHS = "armv7 x86_64";
  2298 				WARNING_CFLAGS = (
  2298 				WARNING_CFLAGS = (
  2299 					"-Wall",
  2299 					"-Wall",
  2300 					"-Wbad-function-cast",
  2300 					"-Wbad-function-cast",
  2301 					"-Wmissing-declarations",
  2301 					"-Wmissing-declarations",
  2302 					"-Wnested-externs",
  2302 					"-Wnested-externs",