Xcode 3.2.x (10.6) is now officially required to build Warzone.

The 10.5 sdk supplied with Xcode 3.1.x generates build errors when used, which is the main reason for this change.

Xcode 4 is not yet officially supported as it does not supply a 10.5 sdk.
master
dak180 2011-04-03 21:29:10 -04:00
parent 8fd1247bf6
commit 01f5b99027
5 changed files with 9 additions and 12 deletions

View File

@ -1,13 +1,13 @@
The minimum requirements to build Warzone are System 10.5 and Xcode 3.1.
If you do not have Xcode 3.1 you can get it for free at Apple's website.
The minimum requirements to build Warzone are System 10.6 and Xcode 3.2.x.
If you do not have Xcode 3.2.x you can get it for free at Apple's website.
http://developer.apple.com/technology/xcode.html
You will need a free ADC Membership to download Xcode.
This directory contains support files for the Mac OS X port of Warzone 2100.
Since April, 2007, The Mac OS X port has been built using an Xcode project
that automatically downloads and builds all necessary external libraries.
Also, since that time, the Mac OS X port has produced a universal binary
and has required Mac OS X 10.4 "Tiger" to run.
The Mac OS X port produces a 32 bit universal binary and requires Mac OS X
10.5 to run.
To build the game, just run the following command:
xcodebuild -project Warzone.xcodeproj -target Warzone -configuration Release

View File

@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 45;
objectVersion = 46;
objects = {
/* Begin PBXAggregateTarget section */
@ -3347,7 +3347,7 @@
ORGANIZATIONNAME = net.wz2100.;
};
buildConfigurationList = 02356D670BD3BB2600E9A019 /* Build configuration list for PBXProject "Warzone" */;
compatibilityVersion = "Xcode 3.1";
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
@ -4366,7 +4366,6 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 43025DFE1120A4CA006C49B1 /* Project-All.xcconfig */;
buildSettings = {
SDKROOT = macosx10.6;
};
name = Debug;
};
@ -4374,7 +4373,6 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 43025DFE1120A4CA006C49B1 /* Project-All.xcconfig */;
buildSettings = {
SDKROOT = macosx10.6;
};
name = Release;
};
@ -4501,7 +4499,6 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 43025DFE1120A4CA006C49B1 /* Project-All.xcconfig */;
buildSettings = {
SDKROOT = macosx10.6;
};
name = StaticAnalyzer;
};

View File

@ -6,7 +6,7 @@ SDKROOT = macosx10.5
SDKROOT[arch=x86_64] = macosx10.6
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
GCC_VERSION = com.apple.compilers.llvmgcc42
MACOSX_DEPLOYMENT_TARGET = 10.4
MACOSX_DEPLOYMENT_TARGET = 10.5
MACOSX_DEPLOYMENT_TARGET[sdk=macosx10.6] = 10.6
COPY_PHASE_STRIP = NO
DEAD_CODE_STRIPPING = YES

View File

@ -9,7 +9,7 @@ GCC_OPTIMIZATION_LEVEL = 0
GCC_PREPROCESSOR_DEFINITIONS = DEBUG $(inherited)
// Additional build flags for both c and c++ files
BuildDependentFlagsForCandCpp = -Werror // -fstack-protector // Needs 10.6 min for build before being used
BuildDependentFlagsForCandCpp = -Werror -fstack-protector-all
// Build setting dependent warnings
WarnForCandCppDep = -Wno-error=unused-parameter -Wno-error=format-security -Wno-sign-compare // -Wno-error=sign-compare // FIXME: For some reason these will be errors anyway, so off for now

View File

@ -6,7 +6,7 @@
GCC_OPTIMIZATION_LEVEL = 2
GCC_PREPROCESSOR_DEFINITIONS = $(inherited)
BuildDependentFlagsForCandCpp = // -fstack-protector // Needs 10.6 min for build before being used
BuildDependentFlagsForCandCpp = -fstack-protector
// Build setting dependent warnings
WarnForCandCppDep = -Wno-unused-parameter -Wno-format-security -Wno-sign-compare