diff options
| author | ruki <[email protected]> | 2021-08-22 19:20:21 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-08-22 19:20:21 +0800 |
| commit | 0b3a790a6e1e81b25ff4e2d7a53c73bc42b47e26 (patch) | |
| tree | 69a495dd29015e91313c7416aaf82f62f6a41175 /tests/projects/objc/metal_app/HelloTriangle.xcodeproj | |
| parent | 0c7df1fe002288cf91601a941d02988428e2c6d0 (diff) | |
add metal app test
Diffstat (limited to 'tests/projects/objc/metal_app/HelloTriangle.xcodeproj')
3 files changed, 694 insertions, 0 deletions
diff --git a/tests/projects/objc/metal_app/HelloTriangle.xcodeproj/.xcodesamplecode.plist b/tests/projects/objc/metal_app/HelloTriangle.xcodeproj/.xcodesamplecode.plist new file mode 100644 index 000000000..5dd5da85f --- /dev/null +++ b/tests/projects/objc/metal_app/HelloTriangle.xcodeproj/.xcodesamplecode.plist @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<array/> +</plist> diff --git a/tests/projects/objc/metal_app/HelloTriangle.xcodeproj/project.pbxproj b/tests/projects/objc/metal_app/HelloTriangle.xcodeproj/project.pbxproj new file mode 100644 index 000000000..f1820eccc --- /dev/null +++ b/tests/projects/objc/metal_app/HelloTriangle.xcodeproj/project.pbxproj @@ -0,0 +1,681 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 3A05CBE01F731ABB00CA21B1 /* MetalKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A1F1B411F0338CF001622B3 /* MetalKit.framework */; }; + 3A05CBE11F731AC000CA21B1 /* MetalKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A05CBDE1F731AB800CA21B1 /* MetalKit.framework */; }; + 3A1F1B391F033765001622B3 /* AAPLViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A35329C1E99974500C194AD /* AAPLViewController.m */; }; + 3A1F1B3D1F033827001622B3 /* AAPLViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A35329C1E99974500C194AD /* AAPLViewController.m */; }; + 3A1F1B3E1F033846001622B3 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A3532931E99974500C194AD /* main.m */; }; + 3A1F1B3F1F033846001622B3 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A3532931E99974500C194AD /* main.m */; }; + 3A1F1B441F033EF3001622B3 /* AAPLAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 3ACD21341EAE60D2000D1DED /* AAPLAppDelegate.m */; }; + 3A3532941E99974500C194AD /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A3532931E99974500C194AD /* main.m */; }; + 3A35329D1E99974500C194AD /* AAPLViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A35329C1E99974500C194AD /* AAPLViewController.m */; }; + 3A3532A01E99974500C194AD /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3A35329E1E99974500C194AD /* Main.storyboard */; }; + 3A3532A31E99974500C194AD /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3A3532A11E99974500C194AD /* LaunchScreen.storyboard */; }; + 3A3532B91E99974500C194AD /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3A3532B71E99974500C194AD /* Main.storyboard */; }; + 3A3532CC1E99974500C194AD /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3A3532CA1E99974500C194AD /* Main.storyboard */; }; + 3A3532CE1E99974500C194AD /* AAPLRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A3532851E99974500C194AD /* AAPLRenderer.m */; }; + 3A3532CF1E99974500C194AD /* AAPLRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A3532851E99974500C194AD /* AAPLRenderer.m */; }; + 3A3532D01E99974500C194AD /* AAPLRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A3532851E99974500C194AD /* AAPLRenderer.m */; }; + 3ACD21351EAE60D2000D1DED /* AAPLAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 3ACD21341EAE60D2000D1DED /* AAPLAppDelegate.m */; }; + 63E77A181ED2059A00E1E542 /* AAPLShaders.metal in Sources */ = {isa = PBXBuildFile; fileRef = 3A3532871E99974500C194AD /* AAPLShaders.metal */; }; + 63E77A191ED2059E00E1E542 /* AAPLShaders.metal in Sources */ = {isa = PBXBuildFile; fileRef = 3A3532871E99974500C194AD /* AAPLShaders.metal */; }; + 63E77A1A1ED205A200E1E542 /* AAPLShaders.metal in Sources */ = {isa = PBXBuildFile; fileRef = 3A3532871E99974500C194AD /* AAPLShaders.metal */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 328A8E964EC41C65EC8AF01A /* LICENSE.txt */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE.txt; sourceTree = "<group>"; }; + 3A05CBDE1F731AB800CA21B1 /* MetalKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MetalKit.framework; path = ../../../../iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/MetalKit.framework; sourceTree = SDKROOT; }; + 3A1F1B411F0338CF001622B3 /* MetalKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MetalKit.framework; path = ../../../../AppleTVOS.platform/Developer/SDKs/AppleTVOS11.0.sdk/System/Library/Frameworks/MetalKit.framework; sourceTree = SDKROOT; }; + 3A3532841E99974500C194AD /* AAPLRenderer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AAPLRenderer.h; sourceTree = "<group>"; }; + 3A3532851E99974500C194AD /* AAPLRenderer.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AAPLRenderer.m; sourceTree = "<group>"; }; + 3A3532861E99974500C194AD /* AAPLShaderTypes.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AAPLShaderTypes.h; sourceTree = "<group>"; }; + 3A3532871E99974500C194AD /* AAPLShaders.metal */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.metal; path = AAPLShaders.metal; sourceTree = "<group>"; }; + 3A35328F1E99974500C194AD /* HelloTriangle.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HelloTriangle.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 3A3532931E99974500C194AD /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; + 3A35329B1E99974500C194AD /* AAPLViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AAPLViewController.h; sourceTree = "<group>"; }; + 3A35329C1E99974500C194AD /* AAPLViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AAPLViewController.m; sourceTree = "<group>"; }; + 3A35329F1E99974500C194AD /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; + 3A3532A21E99974500C194AD /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; + 3A3532A41E99974500C194AD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; + 3A3532A91E99974500C194AD /* HelloTriangle.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HelloTriangle.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 3A3532B81E99974500C194AD /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; + 3A3532BA1E99974500C194AD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; + 3A3532BF1E99974500C194AD /* HelloTriangle.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HelloTriangle.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 3A3532CB1E99974500C194AD /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; + 3A3532CD1E99974500C194AD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; + 3ACD21331EAE60D2000D1DED /* AAPLAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AAPLAppDelegate.h; sourceTree = "<group>"; }; + 3ACD21341EAE60D2000D1DED /* AAPLAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AAPLAppDelegate.m; sourceTree = "<group>"; }; + 3ED283CC1EC2C6D200A23F58 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; }; + 907FE32A28789CDAFD777257 /* SampleCode.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = SampleCode.xcconfig; path = Configuration/SampleCode.xcconfig; sourceTree = "<group>"; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 3A35328C1E99974500C194AD /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 3A05CBE11F731AC000CA21B1 /* MetalKit.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3A3532A61E99974500C194AD /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 3A05CBE01F731ABB00CA21B1 /* MetalKit.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3A3532BC1E99974500C194AD /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 3A1F1B351F0336A8001622B3 /* iOS */ = { + isa = PBXGroup; + children = ( + 3A35329E1E99974500C194AD /* Main.storyboard */, + 3A3532A11E99974500C194AD /* LaunchScreen.storyboard */, + 3A3532A41E99974500C194AD /* Info.plist */, + ); + path = iOS; + sourceTree = "<group>"; + }; + 3A1F1B361F0336DB001622B3 /* macOS */ = { + isa = PBXGroup; + children = ( + 3A3532CA1E99974500C194AD /* Main.storyboard */, + 3A3532CD1E99974500C194AD /* Info.plist */, + ); + path = macOS; + sourceTree = "<group>"; + }; + 3A1F1B371F0336F4001622B3 /* tvOS */ = { + isa = PBXGroup; + children = ( + 3A3532B71E99974500C194AD /* Main.storyboard */, + 3A3532BA1E99974500C194AD /* Info.plist */, + ); + path = tvOS; + sourceTree = "<group>"; + }; + 3A35327E1E99974500C194AD = { + isa = PBXGroup; + children = ( + 3ED283CC1EC2C6D200A23F58 /* README.md */, + 3A3532831E99974500C194AD /* Renderer */, + 3A3532911E99974500C194AD /* Application */, + 3AE289861EEA0A9100DF4C9A /* Frameworks */, + 3A3532901E99974500C194AD /* Products */, + F4F7FAFBBA6575359FC81F34 /* Configuration */, + 9772A968083C4C14D4BE84E1 /* LICENSE */, + ); + sourceTree = "<group>"; + }; + 3A3532831E99974500C194AD /* Renderer */ = { + isa = PBXGroup; + children = ( + 3A3532841E99974500C194AD /* AAPLRenderer.h */, + 3A3532851E99974500C194AD /* AAPLRenderer.m */, + 3A3532861E99974500C194AD /* AAPLShaderTypes.h */, + 3A3532871E99974500C194AD /* AAPLShaders.metal */, + ); + path = Renderer; + sourceTree = "<group>"; + }; + 3A3532901E99974500C194AD /* Products */ = { + isa = PBXGroup; + children = ( + 3A35328F1E99974500C194AD /* HelloTriangle.app */, + 3A3532A91E99974500C194AD /* HelloTriangle.app */, + 3A3532BF1E99974500C194AD /* HelloTriangle.app */, + ); + name = Products; + sourceTree = "<group>"; + }; + 3A3532911E99974500C194AD /* Application */ = { + isa = PBXGroup; + children = ( + 3ACD21331EAE60D2000D1DED /* AAPLAppDelegate.h */, + 3ACD21341EAE60D2000D1DED /* AAPLAppDelegate.m */, + 3A35329B1E99974500C194AD /* AAPLViewController.h */, + 3A35329C1E99974500C194AD /* AAPLViewController.m */, + 3A3532931E99974500C194AD /* main.m */, + 3A1F1B361F0336DB001622B3 /* macOS */, + 3A1F1B371F0336F4001622B3 /* tvOS */, + 3A1F1B351F0336A8001622B3 /* iOS */, + ); + path = Application; + sourceTree = "<group>"; + }; + 3AE289861EEA0A9100DF4C9A /* Frameworks */ = { + isa = PBXGroup; + children = ( + 3A05CBDE1F731AB800CA21B1 /* MetalKit.framework */, + 3A1F1B411F0338CF001622B3 /* MetalKit.framework */, + ); + name = Frameworks; + sourceTree = "<group>"; + }; + 9772A968083C4C14D4BE84E1 /* LICENSE */ = { + isa = PBXGroup; + children = ( + 328A8E964EC41C65EC8AF01A /* LICENSE.txt */, + ); + path = LICENSE; + sourceTree = "<group>"; + }; + F4F7FAFBBA6575359FC81F34 /* Configuration */ = { + isa = PBXGroup; + children = ( + 907FE32A28789CDAFD777257 /* SampleCode.xcconfig */, + ); + name = Configuration; + sourceTree = "<group>"; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 3A35328E1E99974500C194AD /* HelloTriangle-iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3A3532E21E99974500C194AD /* Build configuration list for PBXNativeTarget "HelloTriangle-iOS" */; + buildPhases = ( + 3A35328B1E99974500C194AD /* Sources */, + 3A35328C1E99974500C194AD /* Frameworks */, + 3A35328D1E99974500C194AD /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "HelloTriangle-iOS"; + productName = iOS; + productReference = 3A35328F1E99974500C194AD /* HelloTriangle.app */; + productType = "com.apple.product-type.application"; + }; + 3A3532A81E99974500C194AD /* HelloTriangle-tvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3A3532E51E99974500C194AD /* Build configuration list for PBXNativeTarget "HelloTriangle-tvOS" */; + buildPhases = ( + 3A3532A51E99974500C194AD /* Sources */, + 3A3532A61E99974500C194AD /* Frameworks */, + 3A3532A71E99974500C194AD /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "HelloTriangle-tvOS"; + productName = tvOS; + productReference = 3A3532A91E99974500C194AD /* HelloTriangle.app */; + productType = "com.apple.product-type.application"; + }; + 3A3532BE1E99974500C194AD /* HelloTriangle-macOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3A3532E81E99974500C194AD /* Build configuration list for PBXNativeTarget "HelloTriangle-macOS" */; + buildPhases = ( + 3A3532BB1E99974500C194AD /* Sources */, + 3A3532BC1E99974500C194AD /* Frameworks */, + 3A3532BD1E99974500C194AD /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "HelloTriangle-macOS"; + productName = macOS; + productReference = 3A3532BF1E99974500C194AD /* HelloTriangle.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 3A35327F1E99974500C194AD /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 1200; + ORGANIZATIONNAME = Apple; + TargetAttributes = { + 3A35328E1E99974500C194AD = { + CreatedOnToolsVersion = 8.3; + ProvisioningStyle = Automatic; + }; + 3A3532A81E99974500C194AD = { + CreatedOnToolsVersion = 8.3; + ProvisioningStyle = Automatic; + }; + 3A3532BE1E99974500C194AD = { + CreatedOnToolsVersion = 8.3; + DevelopmentTeam = 43AAQM58X3; + ProvisioningStyle = Automatic; + }; + }; + }; + buildConfigurationList = 3A3532821E99974500C194AD /* Build configuration list for PBXProject "HelloTriangle" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 3A35327E1E99974500C194AD; + productRefGroup = 3A3532901E99974500C194AD /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 3A3532BE1E99974500C194AD /* HelloTriangle-macOS */, + 3A35328E1E99974500C194AD /* HelloTriangle-iOS */, + 3A3532A81E99974500C194AD /* HelloTriangle-tvOS */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 3A35328D1E99974500C194AD /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3A3532A01E99974500C194AD /* Main.storyboard in Resources */, + 3A3532A31E99974500C194AD /* LaunchScreen.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3A3532A71E99974500C194AD /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3A3532B91E99974500C194AD /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3A3532BD1E99974500C194AD /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3A3532CC1E99974500C194AD /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 3A35328B1E99974500C194AD /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 63E77A181ED2059A00E1E542 /* AAPLShaders.metal in Sources */, + 3A35329D1E99974500C194AD /* AAPLViewController.m in Sources */, + 3A3532941E99974500C194AD /* main.m in Sources */, + 3A3532CE1E99974500C194AD /* AAPLRenderer.m in Sources */, + 3ACD21351EAE60D2000D1DED /* AAPLAppDelegate.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3A3532A51E99974500C194AD /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 63E77A191ED2059E00E1E542 /* AAPLShaders.metal in Sources */, + 3A3532CF1E99974500C194AD /* AAPLRenderer.m in Sources */, + 3A1F1B391F033765001622B3 /* AAPLViewController.m in Sources */, + 3A1F1B3F1F033846001622B3 /* main.m in Sources */, + 3A1F1B441F033EF3001622B3 /* AAPLAppDelegate.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3A3532BB1E99974500C194AD /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3A1F1B3D1F033827001622B3 /* AAPLViewController.m in Sources */, + 63E77A1A1ED205A200E1E542 /* AAPLShaders.metal in Sources */, + 3A1F1B3E1F033846001622B3 /* main.m in Sources */, + 3A3532D01E99974500C194AD /* AAPLRenderer.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 3A35329E1E99974500C194AD /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 3A35329F1E99974500C194AD /* Base */, + ); + name = Main.storyboard; + sourceTree = "<group>"; + }; + 3A3532A11E99974500C194AD /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 3A3532A21E99974500C194AD /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = "<group>"; + }; + 3A3532B71E99974500C194AD /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 3A3532B81E99974500C194AD /* Base */, + ); + name = Main.storyboard; + sourceTree = "<group>"; + }; + 3A3532CA1E99974500C194AD /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 3A3532CB1E99974500C194AD /* Base */, + ); + name = Main.storyboard; + sourceTree = "<group>"; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 3A3532E01E99974500C194AD /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 907FE32A28789CDAFD777257 /* SampleCode.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MTL_ENABLE_DEBUG_INFO = YES; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_NAME = HelloTriangle; + }; + name = Debug; + }; + 3A3532E11E99974500C194AD /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 907FE32A28789CDAFD777257 /* SampleCode.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + PRODUCT_NAME = HelloTriangle; + }; + name = Release; + }; + 3A3532E31E99974500C194AD /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 907FE32A28789CDAFD777257 /* SampleCode.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = "iPhone Developer"; + DEVELOPMENT_TEAM = ""; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SDKROOT)/System/Library/Frameworks", + ); + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + TARGET_IOS, + ); + INFOPLIST_FILE = Application/iOS/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.example.apple-samplecode.HelloTriangle${SAMPLE_CODE_DISAMBIGUATOR}"; + PRODUCT_NAME = HelloTriangle; + PROVISIONING_PROFILE_SPECIFIER = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 3A3532E41E99974500C194AD /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 907FE32A28789CDAFD777257 /* SampleCode.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = "iPhone Developer"; + DEVELOPMENT_TEAM = ""; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SDKROOT)/System/Library/Frameworks", + ); + GCC_PREPROCESSOR_DEFINITIONS = TARGET_IOS; + INFOPLIST_FILE = Application/iOS/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.example.apple-samplecode.HelloTriangle${SAMPLE_CODE_DISAMBIGUATOR}"; + PRODUCT_NAME = HelloTriangle; + PROVISIONING_PROFILE_SPECIFIER = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 3A3532E61E99974500C194AD /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 907FE32A28789CDAFD777257 /* SampleCode.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = "iPhone Developer"; + DEVELOPMENT_TEAM = ""; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SDKROOT)/System/Library/Frameworks", + ); + GCC_PREPROCESSOR_DEFINITIONS = ( + TARGET_TVOS, + "$(inherited)", + ); + INFOPLIST_FILE = Application/tvOS/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.example.apple-samplecode.HelloTriangle${SAMPLE_CODE_DISAMBIGUATOR}"; + PRODUCT_NAME = HelloTriangle; + PROVISIONING_PROFILE_SPECIFIER = ""; + SDKROOT = appletvos; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 12.0; + }; + name = Debug; + }; + 3A3532E71E99974500C194AD /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 907FE32A28789CDAFD777257 /* SampleCode.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = "iPhone Developer"; + DEVELOPMENT_TEAM = ""; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SDKROOT)/System/Library/Frameworks", + ); + GCC_PREPROCESSOR_DEFINITIONS = TARGET_TVOS; + INFOPLIST_FILE = Application/tvOS/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.example.apple-samplecode.HelloTriangle${SAMPLE_CODE_DISAMBIGUATOR}"; + PRODUCT_NAME = HelloTriangle; + PROVISIONING_PROFILE_SPECIFIER = ""; + SDKROOT = appletvos; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 12.0; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 3A3532E91E99974500C194AD /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 907FE32A28789CDAFD777257 /* SampleCode.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = "Mac Developer"; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = 43AAQM58X3; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + TARGET_MACOS, + ); + INFOPLIST_FILE = Application/macOS/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.12; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.example.apple-samplecode.$(PRODUCT_NAME)${SAMPLE_CODE_DISAMBIGUATOR}"; + PRODUCT_NAME = HelloTriangle; + PROVISIONING_PROFILE_SPECIFIER = ""; + SDKROOT = macosx; + }; + name = Debug; + }; + 3A3532EA1E99974500C194AD /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 907FE32A28789CDAFD777257 /* SampleCode.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = "Mac Developer"; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = 43AAQM58X3; + GCC_PREPROCESSOR_DEFINITIONS = TARGET_MACOS; + INFOPLIST_FILE = Application/macOS/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.12; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.example.apple-samplecode.$(PRODUCT_NAME)${SAMPLE_CODE_DISAMBIGUATOR}"; + PRODUCT_NAME = HelloTriangle; + PROVISIONING_PROFILE_SPECIFIER = ""; + SDKROOT = macosx; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 3A3532821E99974500C194AD /* Build configuration list for PBXProject "HelloTriangle" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3A3532E01E99974500C194AD /* Debug */, + 3A3532E11E99974500C194AD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3A3532E21E99974500C194AD /* Build configuration list for PBXNativeTarget "HelloTriangle-iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3A3532E31E99974500C194AD /* Debug */, + 3A3532E41E99974500C194AD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3A3532E51E99974500C194AD /* Build configuration list for PBXNativeTarget "HelloTriangle-tvOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3A3532E61E99974500C194AD /* Debug */, + 3A3532E71E99974500C194AD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3A3532E81E99974500C194AD /* Build configuration list for PBXNativeTarget "HelloTriangle-macOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3A3532E91E99974500C194AD /* Debug */, + 3A3532EA1E99974500C194AD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 3A35327F1E99974500C194AD /* Project object */; +} diff --git a/tests/projects/objc/metal_app/HelloTriangle.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/tests/projects/objc/metal_app/HelloTriangle.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 000000000..3ddf867a1 --- /dev/null +++ b/tests/projects/objc/metal_app/HelloTriangle.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>BuildSystemType</key> + <string>Latest</string> +</dict> +</plist> |
