/* End PBXBuildFile section */
/* Begin PBXFileReference section */
- FB39D0D11200F0E300088E69 /* libangle.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libangle.a; sourceTree = BUILT_PRODUCTS_DIR; };
+ 5D7C59C51208C68B001C873E /* ANGLE.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ANGLE.xcconfig; sourceTree = "<group>"; };
+ 5D7C59C61208C68B001C873E /* Base.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Base.xcconfig; sourceTree = "<group>"; };
+ 5D7C59C71208C68B001C873E /* DebugRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = DebugRelease.xcconfig; sourceTree = "<group>"; };
+ FB39D0D11200F0E300088E69 /* libANGLE.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libANGLE.a; sourceTree = BUILT_PRODUCTS_DIR; };
FB39D1861200F26200088E69 /* BaseTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BaseTypes.h; sourceTree = "<group>"; };
FB39D1871200F26200088E69 /* CodeGenGLSL.cpp */ = {isa = PBXFileReference; fileEncoding = 4; includeInIndex = 0; lastKnownFileType = sourcecode.cpp.cpp; path = CodeGenGLSL.cpp; sourceTree = "<group>"; };
FB39D1881200F26200088E69 /* CodeGenHLSL.cpp */ = {isa = PBXFileReference; fileEncoding = 4; includeInIndex = 0; lastKnownFileType = sourcecode.cpp.cpp; path = CodeGenHLSL.cpp; sourceTree = "<group>"; };
FB39D26F1200F35A00088E69 /* unistd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = unistd.h; sourceTree = "<group>"; };
FB39D2BE1200F3E600088E69 /* ResourceLimits.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; fileEncoding = 4; path = ResourceLimits.h; sourceTree = "<group>"; };
FB39D2BF1200F3E600088E69 /* ShaderLang.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; fileEncoding = 4; path = ShaderLang.h; sourceTree = "<group>"; };
- FB39D7201201032000088E69 /* glslang.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = glslang.cpp; path = src/intermediate/glslang.cpp; sourceTree = "<group>"; };
- FB39D7211201032000088E69 /* glslang_tab.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = glslang_tab.h; path = src/intermediate/glslang_tab.h; sourceTree = "<group>"; };
- FB39D7221201032000088E69 /* glslang_tab.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = glslang_tab.cpp; path = src/intermediate/glslang_tab.cpp; sourceTree = "<group>"; };
+ FB39D7201201032000088E69 /* glslang.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = glslang.cpp; path = DerivedSources/ANGLE/glslang.cpp; sourceTree = BUILT_PRODUCTS_DIR; };
+ FB39D7211201032000088E69 /* glslang_tab.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = glslang_tab.h; path = DerivedSources/ANGLE/glslang_tab.h; sourceTree = BUILT_PRODUCTS_DIR; };
+ FB39D7221201032000088E69 /* glslang_tab.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = glslang_tab.cpp; path = DerivedSources/ANGLE/glslang_tab.cpp; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
+ 5D7C59C41208C68B001C873E /* Configurations */ = {
+ isa = PBXGroup;
+ children = (
+ 5D7C59C51208C68B001C873E /* ANGLE.xcconfig */,
+ 5D7C59C61208C68B001C873E /* Base.xcconfig */,
+ 5D7C59C71208C68B001C873E /* DebugRelease.xcconfig */,
+ );
+ path = Configurations;
+ sourceTree = "<group>";
+ };
FB39D06E1200ED9200088E69 = {
isa = PBXGroup;
children = (
FB39D2201200F35A00088E69 /* compiler */,
FB39D0841200EDEB00088E69 /* Source */,
FB39D0CB1200EF9400088E69 /* Intermediates */,
+ 5D7C59C41208C68B001C873E /* Configurations */,
FB39D0CC1200EF9B00088E69 /* Products */,
);
sourceTree = "<group>";
FB39D0CC1200EF9B00088E69 /* Products */ = {
isa = PBXGroup;
children = (
- FB39D0D11200F0E300088E69 /* libangle.a */,
+ FB39D0D11200F0E300088E69 /* libANGLE.a */,
);
name = Products;
sourceTree = "<group>";
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
- FB39D0D01200F0E300088E69 /* angle */ = {
+ FB39D0D01200F0E300088E69 /* ANGLE */ = {
isa = PBXNativeTarget;
- buildConfigurationList = FB39D0D61200F11E00088E69 /* Build configuration list for PBXNativeTarget "angle" */;
+ buildConfigurationList = FB39D0D61200F11E00088E69 /* Build configuration list for PBXNativeTarget "ANGLE" */;
buildPhases = (
FB39D77B1201110C00088E69 /* Headers */,
- FB39D0DE1200F19100088E69 /* Action "flex_glslang" */,
- FB39D31C1200F69200088E69 /* Action "bison_glslang" */,
+ FB39D0DE1200F19100088E69 /* Generate glslang lexer */,
+ FB39D31C1200F69200088E69 /* Generate glslang parser */,
FB39D0CE1200F0E300088E69 /* Sources */,
FB39D0CF1200F0E300088E69 /* Frameworks */,
);
);
dependencies = (
);
- name = angle;
+ name = ANGLE;
productName = angle;
- productReference = FB39D0D11200F0E300088E69 /* libangle.a */;
+ productReference = FB39D0D11200F0E300088E69 /* libANGLE.a */;
productType = "com.apple.product-type.library.static";
};
/* End PBXNativeTarget section */
isa = PBXProject;
buildConfigurationList = FB39D0731200ED9200088E69 /* Build configuration list for PBXProject "ANGLE" */;
compatibilityVersion = "Xcode 2.4";
- developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
English,
projectDirPath = "";
projectRoot = "";
targets = (
- FB39D0D01200F0E300088E69 /* angle */,
+ FB39D0D01200F0E300088E69 /* ANGLE */,
);
};
/* End PBXProject section */
/* Begin PBXShellScriptBuildPhase section */
- FB39D0DE1200F19100088E69 /* Action "flex_glslang" */ = {
+ FB39D0DE1200F19100088E69 /* Generate glslang lexer */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 12;
files = (
);
inputPaths = (
- compiler/glslang.l,
+ "$(SRCROOT)/src/compiler/glslang.l",
);
- name = "Action \"flex_glslang\"";
+ name = "Generate glslang lexer";
outputPaths = (
- "$(INTERMEDIATE_DIR)/glslang.cpp",
+ "$(BUILT_PRODUCTS_DIR)/DerivedSources/$(PROJECT_NAME)/glslang.cpp",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "echo note: \"Executing flex on compiler/glslang.l\"\necho note: ${INTERMEDIATE_DIR}\nexec flex --noline --nounistd \"--outfile=${INTERMEDIATE_DIR}/glslang.cpp\" src/compiler/glslang.l\nexit 1";
- showEnvVarsInLog = 0;
+ shellScript = "mkdir -p \"${BUILT_PRODUCTS_DIR}/DerivedSources/${PROJECT_NAME}\"\nflex --noline --nounistd \"--outfile=${BUILT_PRODUCTS_DIR}/DerivedSources/${PROJECT_NAME}/glslang.cpp\" \"${SRCROOT}/src/compiler/glslang.l\"\n";
};
- FB39D31C1200F69200088E69 /* Action "bison_glslang" */ = {
+ FB39D31C1200F69200088E69 /* Generate glslang parser */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
- compiler/glslang.y,
+ "$(SRCROOT)/src/compiler/glslang.y",
);
- name = "Action \"bison_glslang\"";
+ name = "Generate glslang parser";
outputPaths = (
- "$(INTERMEDIATE_DIR)/glslang_tab.cpp",
- "$(INTERMEDIATE_DIR)/glslang_tab.h",
+ "$(BUILT_PRODUCTS_DIR)/DerivedSources/$(PROJECT_NAME)/glslang_tab.cpp",
+ "$(BUILT_PRODUCTS_DIR)/DerivedSources/$(PROJECT_NAME)/glslang_tab.h",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "echo note: \"Executing bison on compiler/glslang.y\"\nexec bison --no-lines \"--defines=${INTERMEDIATE_DIR}/glslang_tab.h\" \"--skeleton=yacc.c\" \"--output=${INTERMEDIATE_DIR}/glslang_tab.cpp\" src/compiler/glslang.y\nexit 1\n";
- showEnvVarsInLog = 0;
+ shellScript = "mkdir -p \"${BUILT_PRODUCTS_DIR}/DerivedSources/${PROJECT_NAME}\"\nbison --no-lines \"--defines=${BUILT_PRODUCTS_DIR}/DerivedSources/${PROJECT_NAME}/glslang_tab.h\" \"--skeleton=yacc.c\" \"--output=${BUILT_PRODUCTS_DIR}/DerivedSources/${PROJECT_NAME}/glslang_tab.cpp\" \"${SRCROOT}/src/compiler/glslang.y\"\n";
};
/* End PBXShellScriptBuildPhase section */
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
+ 5D7C59DB1208C6C3001C873E /* Production */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 5D7C59C61208C68B001C873E /* Base.xcconfig */;
+ buildSettings = {
+ };
+ name = Production;
+ };
+ 5D7C59DC1208C6C3001C873E /* Production */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 5D7C59C51208C68B001C873E /* ANGLE.xcconfig */;
+ buildSettings = {
+ };
+ name = Production;
+ };
FB39D0711200ED9200088E69 /* Debug */ = {
isa = XCBuildConfiguration;
+ baseConfigurationReference = 5D7C59C71208C68B001C873E /* DebugRelease.xcconfig */;
buildSettings = {
- ARCHS = "$(ARCHS_STANDARD_64_BIT_PRE_XCODE_3_1)";
- ARCHS_STANDARD_64_BIT_PRE_XCODE_3_1 = x86_64;
- COPY_PHASE_STRIP = NO;
- HEADER_SEARCH_PATHS = (
- "$(SRCROOT)/include",
- "$(SRCROOT)/src",
- );
- INTERMEDIATE_DIR = src/intermediate;
- PUBLIC_HEADERS_FOLDER_PATH = /usr/local/include;
+ GCC_OPTIMIZATION_LEVEL = 0;
};
name = Debug;
};
FB39D0721200ED9200088E69 /* Release */ = {
isa = XCBuildConfiguration;
+ baseConfigurationReference = 5D7C59C71208C68B001C873E /* DebugRelease.xcconfig */;
buildSettings = {
- ARCHS = "$(ARCHS_STANDARD_64_BIT_PRE_XCODE_3_1)";
- ARCHS_STANDARD_64_BIT_PRE_XCODE_3_1 = x86_64;
- COPY_PHASE_STRIP = YES;
- HEADER_SEARCH_PATHS = (
- "$(SRCROOT)/include",
- "$(SRCROOT)/src",
- );
- INTERMEDIATE_DIR = src/intermediate;
- PUBLIC_HEADERS_FOLDER_PATH = /usr/local/include;
};
name = Release;
};
FB39D0D21200F0E400088E69 /* Debug */ = {
isa = XCBuildConfiguration;
+ baseConfigurationReference = 5D7C59C51208C68B001C873E /* ANGLE.xcconfig */;
buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- COPY_PHASE_STRIP = NO;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_ENABLE_FIX_AND_CONTINUE = YES;
- GCC_MODEL_TUNING = G5;
- GCC_OPTIMIZATION_LEVEL = 0;
- INSTALL_PATH = /usr/local/lib;
- PREBINDING = NO;
- PRODUCT_NAME = angle;
};
name = Debug;
};
FB39D0D31200F0E400088E69 /* Release */ = {
isa = XCBuildConfiguration;
+ baseConfigurationReference = 5D7C59C51208C68B001C873E /* ANGLE.xcconfig */;
buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- COPY_PHASE_STRIP = YES;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- GCC_ENABLE_FIX_AND_CONTINUE = NO;
- GCC_MODEL_TUNING = G5;
- INSTALL_PATH = /usr/local/lib;
- PREBINDING = NO;
- PRODUCT_NAME = angle;
- ZERO_LINK = NO;
};
name = Release;
};
buildConfigurations = (
FB39D0711200ED9200088E69 /* Debug */,
FB39D0721200ED9200088E69 /* Release */,
+ 5D7C59DB1208C6C3001C873E /* Production */,
);
defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
+ defaultConfigurationName = Production;
};
- FB39D0D61200F11E00088E69 /* Build configuration list for PBXNativeTarget "angle" */ = {
+ FB39D0D61200F11E00088E69 /* Build configuration list for PBXNativeTarget "ANGLE" */ = {
isa = XCConfigurationList;
buildConfigurations = (
FB39D0D21200F0E400088E69 /* Debug */,
FB39D0D31200F0E400088E69 /* Release */,
+ 5D7C59DC1208C6C3001C873E /* Production */,
);
defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
+ defaultConfigurationName = Production;
};
/* End XCConfigurationList section */
};
--- /dev/null
+DEAD_CODE_STRIPPING = YES;
+DEBUG_INFORMATION_FORMAT = dwarf;
+GCC_C_LANGUAGE_STANDARD = gnu99;
+GCC_DEBUGGING_SYMBOLS = default;
+GCC_ENABLE_CPP_EXCEPTIONS = NO;
+GCC_ENABLE_CPP_RTTI = NO;
+GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+GCC_ENABLE_OBJC_GC = supported;
+GCC_ENABLE_SYMBOL_SEPARATION = NO;
+GCC_FAST_OBJC_DISPATCH = YES;
+GCC_MODEL_TUNING = G5;
+GCC_OBJC_CALL_CXX_CDTORS = YES;
+GCC_OPTIMIZATION_LEVEL = s;
+GCC_PRECOMPILE_PREFIX_HEADER = NO;
+GCC_SYMBOLS_PRIVATE_EXTERN = YES;
+GCC_THREADSAFE_STATICS = NO;
+GCC_TREAT_WARNINGS_AS_ERRORS = NO;
+GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
+LINKER_DISPLAYS_MANGLED_NAMES = YES;
+PREBINDING = NO;
+STRIP_INSTALLED_PRODUCT = NO;
+
+
+TARGET_MAC_OS_X_VERSION_MAJOR = $(MAC_OS_X_VERSION_MAJOR);
+
+
+// Use GCC 4.2 with Xcode 3.1, which includes GCC 4.2 but defaults to GCC 4.0.
+// Note that Xcode versions as new as 3.1.2 use XCODE_VERSION_ACTUAL for the minor version
+// number. Newer versions of Xcode use XCODE_VERSION_MINOR for the minor version, and
+// XCODE_VERSION_ACTUAL for the full version number.
+TARGET_GCC_VERSION = $(TARGET_GCC_VERSION_$(TARGET_MAC_OS_X_VERSION_MAJOR));
+TARGET_GCC_VERSION_ = $(TARGET_GCC_VERSION_1040);
+TARGET_GCC_VERSION_1040 = GCC_40;
+TARGET_GCC_VERSION_1050 = $(TARGET_GCC_VERSION_1050_$(XCODE_VERSION_MINOR));
+TARGET_GCC_VERSION_1050_ = $(TARGET_GCC_VERSION_1050_$(XCODE_VERSION_ACTUAL));
+TARGET_GCC_VERSION_1050_0310 = GCC_42;
+TARGET_GCC_VERSION_1050_0320 = GCC_42;
+TARGET_GCC_VERSION_1060 = GCC_42;
+TARGET_GCC_VERSION_1070 = LLVM_GCC_42;
+
+GCC_VERSION = $(GCC_VERSION_$(TARGET_GCC_VERSION));
+GCC_VERSION_GCC_40 = 4.0;
+GCC_VERSION_GCC_42 = 4.2;
+GCC_VERSION_LLVM_GCC_42 = com.apple.compilers.llvmgcc42;
+
+// If the target Mac OS X version does not match the current Mac OS X version then we'll want to build using the target version's SDK.
+SDKROOT = $(SDKROOT_$(MAC_OS_X_VERSION_MAJOR)_$(TARGET_MAC_OS_X_VERSION_MAJOR));
+SDKROOT_1050_1040 = macosx10.4internal;
+SDKROOT_1060_1040 = macosx10.4internal;
+SDKROOT_1060_1050 = macosx10.5internal;
+SDKROOT_1070_1040 = macosx10.4internal;
+SDKROOT_1070_1050 = macosx10.5internal;
+SDKROOT_1070_1060 = macosx10.6internal;