scripts: XCode fixes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@508 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
face963aab
commit
c74fe071dd
@ -1,3 +1,6 @@
|
|||||||
|
-- Reset RNG seed to get consistent results across runs (i.e. XCode)
|
||||||
|
math.randomseed(12345)
|
||||||
|
|
||||||
local action = premake.action.current()
|
local action = premake.action.current()
|
||||||
|
|
||||||
if string.startswith(_ACTION, "vs") then
|
if string.startswith(_ACTION, "vs") then
|
||||||
@ -49,6 +52,10 @@ if string.startswith(_ACTION, "vs") then
|
|||||||
configuration "ReleaseStatic" targetsuffix "_s"
|
configuration "ReleaseStatic" targetsuffix "_s"
|
||||||
configuration "Debug" targetsuffix "_d"
|
configuration "Debug" targetsuffix "_d"
|
||||||
else
|
else
|
||||||
|
if _ACTION == "xcode3" then
|
||||||
|
platforms "universal"
|
||||||
|
end
|
||||||
|
|
||||||
configurations { "Debug", "Release" }
|
configurations { "Debug", "Release" }
|
||||||
|
|
||||||
configuration "Debug" targetsuffix "_d"
|
configuration "Debug" targetsuffix "_d"
|
||||||
|
|||||||
@ -7,20 +7,20 @@
|
|||||||
objects = {
|
objects = {
|
||||||
|
|
||||||
/* Begin PBXBuildFile section */
|
/* Begin PBXBuildFile section */
|
||||||
7B7157781F0E001276187980 /* pugixml.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5798321A608F001276187980 /* pugixml.cpp */; };
|
5314084032B5001276189718 /* pugixml.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0E0405306C15001276189718 /* pugixml.cpp */; };
|
||||||
512576A93004001276187980 /* pugixpath.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 759C4F2F1EA5001276187980 /* pugixpath.cpp */; };
|
6ED63AE23641001276189718 /* pugixpath.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 19E0517F3CF2001276189718 /* pugixpath.cpp */; };
|
||||||
/* End PBXBuildFile section */
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
/* Begin PBXFileReference section */
|
||||||
48FD751D6AE1001276187980 /* pugiconfig.hpp */ = {isa = PBXFileReference; lastKnownFileType = text; name = "pugiconfig.hpp"; path = "pugiconfig.hpp"; sourceTree = "<group>"; };
|
0A4C28F55399001276189718 /* pugiconfig.hpp */ = {isa = PBXFileReference; lastKnownFileType = text; name = "pugiconfig.hpp"; path = "pugiconfig.hpp"; sourceTree = "<group>"; };
|
||||||
5798321A608F001276187980 /* pugixml.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "pugixml.cpp"; path = "pugixml.cpp"; sourceTree = "<group>"; };
|
0E0405306C15001276189718 /* pugixml.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "pugixml.cpp"; path = "pugixml.cpp"; sourceTree = "<group>"; };
|
||||||
503D140A3505001276187980 /* pugixml.hpp */ = {isa = PBXFileReference; lastKnownFileType = text; name = "pugixml.hpp"; path = "pugixml.hpp"; sourceTree = "<group>"; };
|
7C1A11945858001276189718 /* pugixml.hpp */ = {isa = PBXFileReference; lastKnownFileType = text; name = "pugixml.hpp"; path = "pugixml.hpp"; sourceTree = "<group>"; };
|
||||||
759C4F2F1EA5001276187980 /* pugixpath.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "pugixpath.cpp"; path = "pugixpath.cpp"; sourceTree = "<group>"; };
|
19E0517F3CF2001276189718 /* pugixpath.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "pugixpath.cpp"; path = "pugixpath.cpp"; sourceTree = "<group>"; };
|
||||||
657F5E385C32001276187980 /* libpugixml_d.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libpugixml_d.a"; path = "libpugixml_d.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
1DA04ADC64C3001276189718 /* libpugixml_d.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libpugixml_d.a"; path = "libpugixml_d.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
/* End PBXFileReference section */
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
/* Begin PBXFrameworksBuildPhase section */
|
||||||
6C6F20C769C4001276187980 /* Frameworks */ = {
|
47481C4F0E03001276189718 /* Frameworks */ = {
|
||||||
isa = PBXFrameworksBuildPhase;
|
isa = PBXFrameworksBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
@ -30,31 +30,31 @@
|
|||||||
/* End PBXFrameworksBuildPhase section */
|
/* End PBXFrameworksBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXGroup section */
|
/* Begin PBXGroup section */
|
||||||
0EC333EF6EA3001276187980 /* pugixml */ = {
|
65DB0F6D27EA001276189718 /* pugixml */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
39D538816523001276187980 /* src */,
|
20852B6E3BB4001276189718 /* src */,
|
||||||
2370531E2CEF001276187980 /* Products */,
|
578963B4309E001276189718 /* Products */,
|
||||||
);
|
);
|
||||||
name = pugixml;
|
name = pugixml;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
39D538816523001276187980 /* src */ = {
|
20852B6E3BB4001276189718 /* src */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
48FD751D6AE1001276187980 /* pugiconfig.hpp */,
|
0A4C28F55399001276189718 /* pugiconfig.hpp */,
|
||||||
5798321A608F001276187980 /* pugixml.cpp */,
|
0E0405306C15001276189718 /* pugixml.cpp */,
|
||||||
503D140A3505001276187980 /* pugixml.hpp */,
|
7C1A11945858001276189718 /* pugixml.hpp */,
|
||||||
759C4F2F1EA5001276187980 /* pugixpath.cpp */,
|
19E0517F3CF2001276189718 /* pugixpath.cpp */,
|
||||||
);
|
);
|
||||||
name = src;
|
name = src;
|
||||||
path = ../src;
|
path = ../src;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
2370531E2CEF001276187980 /* Products */ = {
|
578963B4309E001276189718 /* Products */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
657F5E385C32001276187980 /* libpugixml_d.a */,
|
1DA04ADC64C3001276189718 /* libpugixml_d.a */,
|
||||||
);
|
);
|
||||||
name = Products;
|
name = Products;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@ -62,13 +62,13 @@
|
|||||||
/* End PBXGroup section */
|
/* End PBXGroup section */
|
||||||
|
|
||||||
/* Begin PBXNativeTarget section */
|
/* Begin PBXNativeTarget section */
|
||||||
444856A82D91001276187980 /* pugixml */ = {
|
566D16C45B6D001276189718 /* pugixml */ = {
|
||||||
isa = PBXNativeTarget;
|
isa = PBXNativeTarget;
|
||||||
buildConfigurationList = 10DC4D226B9E001276187980 /* Build configuration list for PBXNativeTarget "pugixml" */;
|
buildConfigurationList = 714F05E01D71001276189718 /* Build configuration list for PBXNativeTarget "pugixml" */;
|
||||||
buildPhases = (
|
buildPhases = (
|
||||||
33F65676078B001276187980 /* Resources */,
|
0B66463C5F89001276189718 /* Resources */,
|
||||||
48FE6B406296001276187980 /* Sources */,
|
6E6449051D38001276189718 /* Sources */,
|
||||||
6C6F20C769C4001276187980 /* Frameworks */,
|
47481C4F0E03001276189718 /* Frameworks */,
|
||||||
);
|
);
|
||||||
buildRules = (
|
buildRules = (
|
||||||
);
|
);
|
||||||
@ -76,7 +76,7 @@
|
|||||||
);
|
);
|
||||||
name = pugixml;
|
name = pugixml;
|
||||||
productName = pugixml;
|
productName = pugixml;
|
||||||
productReference = 657F5E385C32001276187980 /* libpugixml_d.a */;
|
productReference = 1DA04ADC64C3001276189718 /* libpugixml_d.a */;
|
||||||
productType = "com.apple.product-type.library.static";
|
productType = "com.apple.product-type.library.static";
|
||||||
};
|
};
|
||||||
/* End PBXNativeTarget section */
|
/* End PBXNativeTarget section */
|
||||||
@ -87,17 +87,17 @@
|
|||||||
buildConfigurationList = 1DEB928908733DD80010E9CD /* Build configuration list for PBXProject "pugixml" */;
|
buildConfigurationList = 1DEB928908733DD80010E9CD /* Build configuration list for PBXProject "pugixml" */;
|
||||||
compatibilityVersion = "Xcode 3.1";
|
compatibilityVersion = "Xcode 3.1";
|
||||||
hasScannedForEncodings = 1;
|
hasScannedForEncodings = 1;
|
||||||
mainGroup = 0EC333EF6EA3001276187980 /* pugixml */;
|
mainGroup = 65DB0F6D27EA001276189718 /* pugixml */;
|
||||||
projectDirPath = "";
|
projectDirPath = "";
|
||||||
projectRoot = "";
|
projectRoot = "";
|
||||||
targets = (
|
targets = (
|
||||||
444856A82D91001276187980 /* libpugixml_d.a */,
|
566D16C45B6D001276189718 /* libpugixml_d.a */,
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
/* End PBXProject section */
|
/* End PBXProject section */
|
||||||
|
|
||||||
/* Begin PBXResourcesBuildPhase section */
|
/* Begin PBXResourcesBuildPhase section */
|
||||||
33F65676078B001276187980 /* Resources */ = {
|
0B66463C5F89001276189718 /* Resources */ = {
|
||||||
isa = PBXResourcesBuildPhase;
|
isa = PBXResourcesBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
@ -107,12 +107,12 @@
|
|||||||
/* End PBXResourcesBuildPhase section */
|
/* End PBXResourcesBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
/* Begin PBXSourcesBuildPhase section */
|
||||||
48FE6B406296001276187980 /* Sources */ = {
|
6E6449051D38001276189718 /* Sources */ = {
|
||||||
isa = PBXSourcesBuildPhase;
|
isa = PBXSourcesBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
7B7157781F0E001276187980 /* pugixml.cpp in Sources */,
|
5314084032B5001276189718 /* pugixml.cpp in Sources */,
|
||||||
512576A93004001276187980 /* pugixpath.cpp in Sources */,
|
6ED63AE23641001276189718 /* pugixpath.cpp in Sources */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
@ -122,7 +122,7 @@
|
|||||||
/* End PBXVariantGroup section */
|
/* End PBXVariantGroup section */
|
||||||
|
|
||||||
/* Begin XCBuildConfiguration section */
|
/* Begin XCBuildConfiguration section */
|
||||||
74ED18006B05001276187980 /* Debug */ = {
|
6B5515257190001276189718 /* Debug */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
@ -134,7 +134,7 @@
|
|||||||
};
|
};
|
||||||
name = "Debug";
|
name = "Debug";
|
||||||
};
|
};
|
||||||
0452792C7ED4001276187980 /* Release */ = {
|
4FDB54E4253E001276189718 /* Release */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
@ -147,10 +147,10 @@
|
|||||||
};
|
};
|
||||||
name = "Release";
|
name = "Release";
|
||||||
};
|
};
|
||||||
062C5D426ED4001276187980 /* Debug */ = {
|
5B6C3A6F39D0001276189718 /* Debug */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ARCHS = "$(NATIVE_ARCH_ACTUAL)";
|
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
|
||||||
CONFIGURATION_BUILD_DIR = "$(SYMROOT)";
|
CONFIGURATION_BUILD_DIR = "$(SYMROOT)";
|
||||||
CONFIGURATION_TEMP_DIR = "$(OBJROOT)";
|
CONFIGURATION_TEMP_DIR = "$(OBJROOT)";
|
||||||
COPY_PHASE_STRIP = NO;
|
COPY_PHASE_STRIP = NO;
|
||||||
@ -162,17 +162,17 @@
|
|||||||
);
|
);
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||||
OBJROOT = "xcode3/Debug";
|
OBJROOT = "xcode3/Universal/Debug";
|
||||||
ONLY_ACTIVE_ARCH = NO;
|
ONLY_ACTIVE_ARCH = NO;
|
||||||
PREBINDING = NO;
|
PREBINDING = NO;
|
||||||
SYMROOT = "xcode3";
|
SYMROOT = "xcode3";
|
||||||
};
|
};
|
||||||
name = "Debug";
|
name = "Debug";
|
||||||
};
|
};
|
||||||
74A924703036001276187980 /* Release */ = {
|
36FC55CE27E8001276189718 /* Release */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ARCHS = "$(NATIVE_ARCH_ACTUAL)";
|
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
|
||||||
CONFIGURATION_BUILD_DIR = "$(SYMROOT)";
|
CONFIGURATION_BUILD_DIR = "$(SYMROOT)";
|
||||||
CONFIGURATION_TEMP_DIR = "$(OBJROOT)";
|
CONFIGURATION_TEMP_DIR = "$(OBJROOT)";
|
||||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||||
@ -182,7 +182,7 @@
|
|||||||
);
|
);
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||||
OBJROOT = "xcode3/Release";
|
OBJROOT = "xcode3/Universal/Release";
|
||||||
ONLY_ACTIVE_ARCH = NO;
|
ONLY_ACTIVE_ARCH = NO;
|
||||||
PREBINDING = NO;
|
PREBINDING = NO;
|
||||||
SYMROOT = "xcode3";
|
SYMROOT = "xcode3";
|
||||||
@ -192,11 +192,11 @@
|
|||||||
/* End XCBuildConfiguration section */
|
/* End XCBuildConfiguration section */
|
||||||
|
|
||||||
/* Begin XCConfigurationList section */
|
/* Begin XCConfigurationList section */
|
||||||
10DC4D226B9E001276187980 /* Build configuration list for PBXNativeTarget "libpugixml_d.a" */ = {
|
714F05E01D71001276189718 /* Build configuration list for PBXNativeTarget "libpugixml_d.a" */ = {
|
||||||
isa = XCConfigurationList;
|
isa = XCConfigurationList;
|
||||||
buildConfigurations = (
|
buildConfigurations = (
|
||||||
74ED18006B05001276187980 /* Debug */,
|
6B5515257190001276189718 /* Debug */,
|
||||||
0452792C7ED4001276187980 /* Release */,
|
4FDB54E4253E001276189718 /* Release */,
|
||||||
);
|
);
|
||||||
defaultConfigurationIsVisible = 0;
|
defaultConfigurationIsVisible = 0;
|
||||||
defaultConfigurationName = "Debug";
|
defaultConfigurationName = "Debug";
|
||||||
@ -204,8 +204,8 @@
|
|||||||
1DEB928908733DD80010E9CD /* Build configuration list for PBXProject "pugixml" */ = {
|
1DEB928908733DD80010E9CD /* Build configuration list for PBXProject "pugixml" */ = {
|
||||||
isa = XCConfigurationList;
|
isa = XCConfigurationList;
|
||||||
buildConfigurations = (
|
buildConfigurations = (
|
||||||
062C5D426ED4001276187980 /* Debug */,
|
5B6C3A6F39D0001276189718 /* Debug */,
|
||||||
74A924703036001276187980 /* Release */,
|
36FC55CE27E8001276189718 /* Release */,
|
||||||
);
|
);
|
||||||
defaultConfigurationIsVisible = 0;
|
defaultConfigurationIsVisible = 0;
|
||||||
defaultConfigurationName = "Debug";
|
defaultConfigurationName = "Debug";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user