summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/moltenvk/MoltenVK.xcodeproj.patch
blob: abbb3b8fb0e1aa98cde769dcdc4a73f79b74acc0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
diff --git a/MoltenVK/MoltenVK.xcodeproj/project.pbxproj b/MoltenVK/MoltenVK.xcodeproj/project.pbxproj
index c23afce4..12ac12f4 100644
--- a/MoltenVK/MoltenVK.xcodeproj/project.pbxproj
+++ b/MoltenVK/MoltenVK.xcodeproj/project.pbxproj
@@ -365,13 +365,6 @@
 /* End PBXBuildFile section */
 
 /* Begin PBXContainerItemProxy section */
-		2F21D82E24983488009BEA5F /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = A9C86CB61C55B8350096CAF2 /* MoltenVKShaderConverter.xcodeproj */;
-			proxyType = 1;
-			remoteGlobalIDString = 2FEA0CFF2490381A00EEF3AD;
-			remoteInfo = "MoltenVKSPIRVToMSLConverter-tvOS";
-		};
 		2FEA0D1B249040CA00EEF3AD /* PBXContainerItemProxy */ = {
 			isa = PBXContainerItemProxy;
 			containerPortal = A9C86CB61C55B8350096CAF2 /* MoltenVKShaderConverter.xcodeproj */;
@@ -400,20 +393,6 @@
 			remoteGlobalIDString = A93903C71C57E9ED00FE90DC;
 			remoteInfo = "MVKSPIRVToMSLConverter-macOS";
 		};
-		A981499A1FB6B9CF005F00B4 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = A9C86CB61C55B8350096CAF2 /* MoltenVKShaderConverter.xcodeproj */;
-			proxyType = 1;
-			remoteGlobalIDString = A93903B81C57E9D700FE90DC;
-			remoteInfo = "MVKSPIRVToMSLConverter-iOS";
-		};
-		A9B1C7F4251AA5AF001D12CC /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = A9C86CB61C55B8350096CAF2 /* MoltenVKShaderConverter.xcodeproj */;
-			proxyType = 1;
-			remoteGlobalIDString = A9092A8C1A81717B00051823;
-			remoteInfo = MoltenVKShaderConverter;
-		};
 /* End PBXContainerItemProxy section */
 
 /* Begin PBXFileReference section */
@@ -1019,7 +998,6 @@
 			buildRules = (
 			);
 			dependencies = (
-				2F21D82F24983488009BEA5F /* PBXTargetDependency */,
 			);
 			name = "MoltenVK-tvOS";
 			productName = MoltenVK;
@@ -1039,7 +1017,6 @@
 			buildRules = (
 			);
 			dependencies = (
-				A981499B1FB6B9CF005F00B4 /* PBXTargetDependency */,
 			);
 			name = "MoltenVK-iOS";
 			productName = MoltenVK;
@@ -1059,7 +1036,6 @@
 			buildRules = (
 			);
 			dependencies = (
-				A9B1C7F5251AA5AF001D12CC /* PBXTargetDependency */,
 			);
 			name = "MoltenVK-macOS";
 			productName = MoltenVK;
@@ -1476,24 +1452,6 @@
 		};
 /* End PBXSourcesBuildPhase section */
 
-/* Begin PBXTargetDependency section */
-		2F21D82F24983488009BEA5F /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = "MoltenVKSPIRVToMSLConverter-tvOS";
-			targetProxy = 2F21D82E24983488009BEA5F /* PBXContainerItemProxy */;
-		};
-		A981499B1FB6B9CF005F00B4 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = "MVKSPIRVToMSLConverter-iOS";
-			targetProxy = A981499A1FB6B9CF005F00B4 /* PBXContainerItemProxy */;
-		};
-		A9B1C7F5251AA5AF001D12CC /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = MoltenVKShaderConverter;
-			targetProxy = A9B1C7F4251AA5AF001D12CC /* PBXContainerItemProxy */;
-		};
-/* End PBXTargetDependency section */
-
 /* Begin XCBuildConfiguration section */
 		2FEA0AB824902F9F00EEF3AD /* Debug */ = {
 			isa = XCBuildConfiguration;
@@ -1586,11 +1544,12 @@
 				GCC_WARN_UNUSED_VARIABLE = YES;
 				GENERATE_MASTER_OBJECT_FILE = YES;
 				HEADER_SEARCH_PATHS = (
-					"\"$(SRCROOT)/include\"",
-					"\"$(SRCROOT)/../MoltenVKShaderConverter\"",
-					"\"$(SRCROOT)/../MoltenVKShaderConverter/SPIRV-Cross\"",
-					"\"$(SRCROOT)/../External/cereal/include\"",
-					"\"${BUILT_PRODUCTS_DIR}\"",
+					"@@sourceRoot@@/outputs/include",
+					"@@sourceRoot@@/outputs/include/simd_workaround",
+					"@@sourceRoot@@/MoltenVKShaderConverter",
+					"@@cereal@@/include",
+					"@@spirv-cross@@/include/spirv_cross",
+					"@@vulkan-headers@@/include",
 				);
 				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
 				MACH_O_TYPE = staticlib;
@@ -1600,6 +1559,10 @@
 				MVK_SKIP_DYLIB = "";
 				"MVK_SKIP_DYLIB[sdk=appletvsimulator*]" = YES;
 				"MVK_SKIP_DYLIB[sdk=iphonesimulator*]" = YES;
+				OTHER_CFLAGS = (
+					"-isystem",
+					"@@libcxx@@/include/c++/v1",
+				);
 				PRELINK_LIBS = "${CONFIGURATION_BUILD_DIR}/libMoltenVKShaderConverter.a";
 				PRODUCT_NAME = MoltenVK;
 				SKIP_INSTALL = YES;
@@ -1658,11 +1621,12 @@
 				GCC_WARN_UNUSED_VARIABLE = YES;
 				GENERATE_MASTER_OBJECT_FILE = YES;
 				HEADER_SEARCH_PATHS = (
-					"\"$(SRCROOT)/include\"",
-					"\"$(SRCROOT)/../MoltenVKShaderConverter\"",
-					"\"$(SRCROOT)/../MoltenVKShaderConverter/SPIRV-Cross\"",
-					"\"$(SRCROOT)/../External/cereal/include\"",
-					"\"${BUILT_PRODUCTS_DIR}\"",
+					"@@sourceRoot@@/outputs/include",
+					"@@sourceRoot@@/outputs/include/simd_workaround",
+					"@@sourceRoot@@/MoltenVKShaderConverter",
+					"@@cereal@@/include",
+					"@@spirv-cross@@/include/spirv_cross",
+					"@@vulkan-headers@@/include",
 				);
 				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
 				MACH_O_TYPE = staticlib;
@@ -1672,6 +1636,10 @@
 				MVK_SKIP_DYLIB = "";
 				"MVK_SKIP_DYLIB[sdk=appletvsimulator*]" = YES;
 				"MVK_SKIP_DYLIB[sdk=iphonesimulator*]" = YES;
+				OTHER_CFLAGS = (
+					"-isystem",
+					"@@libcxx@@/include/c++/v1",
+				);
 				PRELINK_LIBS = "${CONFIGURATION_BUILD_DIR}/libMoltenVKShaderConverter.a";
 				PRODUCT_NAME = MoltenVK;
 				SKIP_INSTALL = YES;