source: gtest-1.7.0/xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj@ 12746

Last change on this file since 12746 was 12746, checked in by hock@…, 10 years ago

integrated the Google Testing Framework (gtest)

and wrote an Hello World test, to ensure the framework is working..

File size: 15.7 KB
Line 
1// !$*UTF8*$!
2{
3 archiveVersion = 1;
4 classes = {
5 };
6 objectVersion = 42;
7 objects = {
8
9/* Begin PBXAggregateTarget section */
10 4024D162113D7D2400C7059E /* Test */ = {
11 isa = PBXAggregateTarget;
12 buildConfigurationList = 4024D169113D7D4600C7059E /* Build configuration list for PBXAggregateTarget "Test" */;
13 buildPhases = (
14 4024D161113D7D2400C7059E /* ShellScript */,
15 );
16 dependencies = (
17 4024D166113D7D3100C7059E /* PBXTargetDependency */,
18 );
19 name = Test;
20 productName = TestAndBuild;
21 };
22 4024D1E9113D83FF00C7059E /* TestAndBuild */ = {
23 isa = PBXAggregateTarget;
24 buildConfigurationList = 4024D1F0113D842B00C7059E /* Build configuration list for PBXAggregateTarget "TestAndBuild" */;
25 buildPhases = (
26 );
27 dependencies = (
28 4024D1ED113D840900C7059E /* PBXTargetDependency */,
29 4024D1EF113D840D00C7059E /* PBXTargetDependency */,
30 );
31 name = TestAndBuild;
32 productName = TestAndBuild;
33 };
34/* End PBXAggregateTarget section */
35
36/* Begin PBXBuildFile section */
37 3B7EB1250E5AEE3500C7F239 /* widget.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3B7EB1230E5AEE3500C7F239 /* widget.cc */; };
38 3B7EB1260E5AEE3500C7F239 /* widget.h in Headers */ = {isa = PBXBuildFile; fileRef = 3B7EB1240E5AEE3500C7F239 /* widget.h */; settings = {ATTRIBUTES = (Public, ); }; };
39 3B7EB1280E5AEE4600C7F239 /* widget_test.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3B7EB1270E5AEE4600C7F239 /* widget_test.cc */; };
40 3B7EB1480E5AF3B400C7F239 /* Widget.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8D07F2C80486CC7A007CD1D0 /* Widget.framework */; };
41 4024D188113D7D7800C7059E /* libgtest.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4024D185113D7D5500C7059E /* libgtest.a */; };
42 4024D189113D7D7A00C7059E /* libgtest_main.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4024D183113D7D5500C7059E /* libgtest_main.a */; };
43/* End PBXBuildFile section */
44
45/* Begin PBXContainerItemProxy section */
46 3B07BDF00E3F3FAE00647869 /* PBXContainerItemProxy */ = {
47 isa = PBXContainerItemProxy;
48 containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
49 proxyType = 1;
50 remoteGlobalIDString = 8D07F2BC0486CC7A007CD1D0;
51 remoteInfo = gTestExample;
52 };
53 4024D165113D7D3100C7059E /* PBXContainerItemProxy */ = {
54 isa = PBXContainerItemProxy;
55 containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
56 proxyType = 1;
57 remoteGlobalIDString = 3B07BDE90E3F3F9E00647869;
58 remoteInfo = WidgetFrameworkTest;
59 };
60 4024D1EC113D840900C7059E /* PBXContainerItemProxy */ = {
61 isa = PBXContainerItemProxy;
62 containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
63 proxyType = 1;
64 remoteGlobalIDString = 8D07F2BC0486CC7A007CD1D0;
65 remoteInfo = WidgetFramework;
66 };
67 4024D1EE113D840D00C7059E /* PBXContainerItemProxy */ = {
68 isa = PBXContainerItemProxy;
69 containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
70 proxyType = 1;
71 remoteGlobalIDString = 4024D162113D7D2400C7059E;
72 remoteInfo = Test;
73 };
74/* End PBXContainerItemProxy section */
75
76/* Begin PBXFileReference section */
77 3B07BDEA0E3F3F9E00647869 /* WidgetFrameworkTest */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = WidgetFrameworkTest; sourceTree = BUILT_PRODUCTS_DIR; };
78 3B7EB1230E5AEE3500C7F239 /* widget.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = widget.cc; sourceTree = "<group>"; };
79 3B7EB1240E5AEE3500C7F239 /* widget.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = widget.h; sourceTree = "<group>"; };
80 3B7EB1270E5AEE4600C7F239 /* widget_test.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = widget_test.cc; sourceTree = "<group>"; };
81 4024D183113D7D5500C7059E /* libgtest_main.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libgtest_main.a; path = /usr/local/lib/libgtest_main.a; sourceTree = "<absolute>"; };
82 4024D185113D7D5500C7059E /* libgtest.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libgtest.a; path = /usr/local/lib/libgtest.a; sourceTree = "<absolute>"; };
83 4024D1E2113D838200C7059E /* runtests.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = runtests.sh; sourceTree = "<group>"; };
84 8D07F2C70486CC7A007CD1D0 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
85 8D07F2C80486CC7A007CD1D0 /* Widget.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Widget.framework; sourceTree = BUILT_PRODUCTS_DIR; };
86/* End PBXFileReference section */
87
88/* Begin PBXFrameworksBuildPhase section */
89 3B07BDE80E3F3F9E00647869 /* Frameworks */ = {
90 isa = PBXFrameworksBuildPhase;
91 buildActionMask = 2147483647;
92 files = (
93 4024D189113D7D7A00C7059E /* libgtest_main.a in Frameworks */,
94 4024D188113D7D7800C7059E /* libgtest.a in Frameworks */,
95 3B7EB1480E5AF3B400C7F239 /* Widget.framework in Frameworks */,
96 );
97 runOnlyForDeploymentPostprocessing = 0;
98 };
99 8D07F2C30486CC7A007CD1D0 /* Frameworks */ = {
100 isa = PBXFrameworksBuildPhase;
101 buildActionMask = 2147483647;
102 files = (
103 );
104 runOnlyForDeploymentPostprocessing = 0;
105 };
106/* End PBXFrameworksBuildPhase section */
107
108/* Begin PBXGroup section */
109 034768DDFF38A45A11DB9C8B /* Products */ = {
110 isa = PBXGroup;
111 children = (
112 8D07F2C80486CC7A007CD1D0 /* Widget.framework */,
113 3B07BDEA0E3F3F9E00647869 /* WidgetFrameworkTest */,
114 );
115 name = Products;
116 sourceTree = "<group>";
117 };
118 0867D691FE84028FC02AAC07 /* gTestExample */ = {
119 isa = PBXGroup;
120 children = (
121 4024D1E1113D836C00C7059E /* Scripts */,
122 08FB77ACFE841707C02AAC07 /* Source */,
123 089C1665FE841158C02AAC07 /* Resources */,
124 3B07BE350E4094E400647869 /* Test */,
125 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */,
126 034768DDFF38A45A11DB9C8B /* Products */,
127 );
128 name = gTestExample;
129 sourceTree = "<group>";
130 };
131 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */ = {
132 isa = PBXGroup;
133 children = (
134 4024D183113D7D5500C7059E /* libgtest_main.a */,
135 4024D185113D7D5500C7059E /* libgtest.a */,
136 );
137 name = "External Frameworks and Libraries";
138 sourceTree = "<group>";
139 };
140 089C1665FE841158C02AAC07 /* Resources */ = {
141 isa = PBXGroup;
142 children = (
143 8D07F2C70486CC7A007CD1D0 /* Info.plist */,
144 );
145 name = Resources;
146 sourceTree = "<group>";
147 };
148 08FB77ACFE841707C02AAC07 /* Source */ = {
149 isa = PBXGroup;
150 children = (
151 3B7EB1230E5AEE3500C7F239 /* widget.cc */,
152 3B7EB1240E5AEE3500C7F239 /* widget.h */,
153 );
154 name = Source;
155 sourceTree = "<group>";
156 };
157 3B07BE350E4094E400647869 /* Test */ = {
158 isa = PBXGroup;
159 children = (
160 3B7EB1270E5AEE4600C7F239 /* widget_test.cc */,
161 );
162 name = Test;
163 sourceTree = "<group>";
164 };
165 4024D1E1113D836C00C7059E /* Scripts */ = {
166 isa = PBXGroup;
167 children = (
168 4024D1E2113D838200C7059E /* runtests.sh */,
169 );
170 name = Scripts;
171 sourceTree = "<group>";
172 };
173/* End PBXGroup section */
174
175/* Begin PBXHeadersBuildPhase section */
176 8D07F2BD0486CC7A007CD1D0 /* Headers */ = {
177 isa = PBXHeadersBuildPhase;
178 buildActionMask = 2147483647;
179 files = (
180 3B7EB1260E5AEE3500C7F239 /* widget.h in Headers */,
181 );
182 runOnlyForDeploymentPostprocessing = 0;
183 };
184/* End PBXHeadersBuildPhase section */
185
186/* Begin PBXNativeTarget section */
187 3B07BDE90E3F3F9E00647869 /* WidgetFrameworkTest */ = {
188 isa = PBXNativeTarget;
189 buildConfigurationList = 3B07BDF40E3F3FB600647869 /* Build configuration list for PBXNativeTarget "WidgetFrameworkTest" */;
190 buildPhases = (
191 3B07BDE70E3F3F9E00647869 /* Sources */,
192 3B07BDE80E3F3F9E00647869 /* Frameworks */,
193 );
194 buildRules = (
195 );
196 dependencies = (
197 3B07BDF10E3F3FAE00647869 /* PBXTargetDependency */,
198 );
199 name = WidgetFrameworkTest;
200 productName = gTestExampleTest;
201 productReference = 3B07BDEA0E3F3F9E00647869 /* WidgetFrameworkTest */;
202 productType = "com.apple.product-type.tool";
203 };
204 8D07F2BC0486CC7A007CD1D0 /* WidgetFramework */ = {
205 isa = PBXNativeTarget;
206 buildConfigurationList = 4FADC24208B4156D00ABE55E /* Build configuration list for PBXNativeTarget "WidgetFramework" */;
207 buildPhases = (
208 8D07F2C10486CC7A007CD1D0 /* Sources */,
209 8D07F2C30486CC7A007CD1D0 /* Frameworks */,
210 8D07F2BD0486CC7A007CD1D0 /* Headers */,
211 8D07F2BF0486CC7A007CD1D0 /* Resources */,
212 8D07F2C50486CC7A007CD1D0 /* Rez */,
213 );
214 buildRules = (
215 );
216 dependencies = (
217 );
218 name = WidgetFramework;
219 productInstallPath = "$(HOME)/Library/Frameworks";
220 productName = gTestExample;
221 productReference = 8D07F2C80486CC7A007CD1D0 /* Widget.framework */;
222 productType = "com.apple.product-type.framework";
223 };
224/* End PBXNativeTarget section */
225
226/* Begin PBXProject section */
227 0867D690FE84028FC02AAC07 /* Project object */ = {
228 isa = PBXProject;
229 buildConfigurationList = 4FADC24608B4156D00ABE55E /* Build configuration list for PBXProject "WidgetFramework" */;
230 compatibilityVersion = "Xcode 2.4";
231 hasScannedForEncodings = 1;
232 mainGroup = 0867D691FE84028FC02AAC07 /* gTestExample */;
233 productRefGroup = 034768DDFF38A45A11DB9C8B /* Products */;
234 projectDirPath = "";
235 projectRoot = "";
236 targets = (
237 8D07F2BC0486CC7A007CD1D0 /* WidgetFramework */,
238 3B07BDE90E3F3F9E00647869 /* WidgetFrameworkTest */,
239 4024D162113D7D2400C7059E /* Test */,
240 4024D1E9113D83FF00C7059E /* TestAndBuild */,
241 );
242 };
243/* End PBXProject section */
244
245/* Begin PBXResourcesBuildPhase section */
246 8D07F2BF0486CC7A007CD1D0 /* Resources */ = {
247 isa = PBXResourcesBuildPhase;
248 buildActionMask = 2147483647;
249 files = (
250 );
251 runOnlyForDeploymentPostprocessing = 0;
252 };
253/* End PBXResourcesBuildPhase section */
254
255/* Begin PBXRezBuildPhase section */
256 8D07F2C50486CC7A007CD1D0 /* Rez */ = {
257 isa = PBXRezBuildPhase;
258 buildActionMask = 2147483647;
259 files = (
260 );
261 runOnlyForDeploymentPostprocessing = 0;
262 };
263/* End PBXRezBuildPhase section */
264
265/* Begin PBXShellScriptBuildPhase section */
266 4024D161113D7D2400C7059E /* ShellScript */ = {
267 isa = PBXShellScriptBuildPhase;
268 buildActionMask = 2147483647;
269 files = (
270 );
271 inputPaths = (
272 );
273 outputPaths = (
274 );
275 runOnlyForDeploymentPostprocessing = 0;
276 shellPath = /bin/sh;
277 shellScript = "/bin/bash $SRCROOT/runtests.sh $BUILT_PRODUCTS_DIR/WidgetFrameworkTest\n";
278 };
279/* End PBXShellScriptBuildPhase section */
280
281/* Begin PBXSourcesBuildPhase section */
282 3B07BDE70E3F3F9E00647869 /* Sources */ = {
283 isa = PBXSourcesBuildPhase;
284 buildActionMask = 2147483647;
285 files = (
286 3B7EB1280E5AEE4600C7F239 /* widget_test.cc in Sources */,
287 );
288 runOnlyForDeploymentPostprocessing = 0;
289 };
290 8D07F2C10486CC7A007CD1D0 /* Sources */ = {
291 isa = PBXSourcesBuildPhase;
292 buildActionMask = 2147483647;
293 files = (
294 3B7EB1250E5AEE3500C7F239 /* widget.cc in Sources */,
295 );
296 runOnlyForDeploymentPostprocessing = 0;
297 };
298/* End PBXSourcesBuildPhase section */
299
300/* Begin PBXTargetDependency section */
301 3B07BDF10E3F3FAE00647869 /* PBXTargetDependency */ = {
302 isa = PBXTargetDependency;
303 target = 8D07F2BC0486CC7A007CD1D0 /* WidgetFramework */;
304 targetProxy = 3B07BDF00E3F3FAE00647869 /* PBXContainerItemProxy */;
305 };
306 4024D166113D7D3100C7059E /* PBXTargetDependency */ = {
307 isa = PBXTargetDependency;
308 target = 3B07BDE90E3F3F9E00647869 /* WidgetFrameworkTest */;
309 targetProxy = 4024D165113D7D3100C7059E /* PBXContainerItemProxy */;
310 };
311 4024D1ED113D840900C7059E /* PBXTargetDependency */ = {
312 isa = PBXTargetDependency;
313 target = 8D07F2BC0486CC7A007CD1D0 /* WidgetFramework */;
314 targetProxy = 4024D1EC113D840900C7059E /* PBXContainerItemProxy */;
315 };
316 4024D1EF113D840D00C7059E /* PBXTargetDependency */ = {
317 isa = PBXTargetDependency;
318 target = 4024D162113D7D2400C7059E /* Test */;
319 targetProxy = 4024D1EE113D840D00C7059E /* PBXContainerItemProxy */;
320 };
321/* End PBXTargetDependency section */
322
323/* Begin XCBuildConfiguration section */
324 3B07BDEC0E3F3F9F00647869 /* Debug */ = {
325 isa = XCBuildConfiguration;
326 buildSettings = {
327 PRODUCT_NAME = WidgetFrameworkTest;
328 };
329 name = Debug;
330 };
331 3B07BDED0E3F3F9F00647869 /* Release */ = {
332 isa = XCBuildConfiguration;
333 buildSettings = {
334 PRODUCT_NAME = WidgetFrameworkTest;
335 };
336 name = Release;
337 };
338 4024D163113D7D2400C7059E /* Debug */ = {
339 isa = XCBuildConfiguration;
340 buildSettings = {
341 PRODUCT_NAME = TestAndBuild;
342 };
343 name = Debug;
344 };
345 4024D164113D7D2400C7059E /* Release */ = {
346 isa = XCBuildConfiguration;
347 buildSettings = {
348 PRODUCT_NAME = TestAndBuild;
349 };
350 name = Release;
351 };
352 4024D1EA113D83FF00C7059E /* Debug */ = {
353 isa = XCBuildConfiguration;
354 buildSettings = {
355 PRODUCT_NAME = TestAndBuild;
356 };
357 name = Debug;
358 };
359 4024D1EB113D83FF00C7059E /* Release */ = {
360 isa = XCBuildConfiguration;
361 buildSettings = {
362 PRODUCT_NAME = TestAndBuild;
363 };
364 name = Release;
365 };
366 4FADC24308B4156D00ABE55E /* Debug */ = {
367 isa = XCBuildConfiguration;
368 buildSettings = {
369 DYLIB_COMPATIBILITY_VERSION = 1;
370 DYLIB_CURRENT_VERSION = 1;
371 FRAMEWORK_VERSION = A;
372 INFOPLIST_FILE = Info.plist;
373 INSTALL_PATH = "@loader_path/../Frameworks";
374 PRODUCT_NAME = Widget;
375 };
376 name = Debug;
377 };
378 4FADC24408B4156D00ABE55E /* Release */ = {
379 isa = XCBuildConfiguration;
380 buildSettings = {
381 DYLIB_COMPATIBILITY_VERSION = 1;
382 DYLIB_CURRENT_VERSION = 1;
383 FRAMEWORK_VERSION = A;
384 INFOPLIST_FILE = Info.plist;
385 INSTALL_PATH = "@loader_path/../Frameworks";
386 PRODUCT_NAME = Widget;
387 };
388 name = Release;
389 };
390 4FADC24708B4156D00ABE55E /* Debug */ = {
391 isa = XCBuildConfiguration;
392 buildSettings = {
393 GCC_VERSION = 4.0;
394 SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
395 };
396 name = Debug;
397 };
398 4FADC24808B4156D00ABE55E /* Release */ = {
399 isa = XCBuildConfiguration;
400 buildSettings = {
401 GCC_VERSION = 4.0;
402 SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
403 };
404 name = Release;
405 };
406/* End XCBuildConfiguration section */
407
408/* Begin XCConfigurationList section */
409 3B07BDF40E3F3FB600647869 /* Build configuration list for PBXNativeTarget "WidgetFrameworkTest" */ = {
410 isa = XCConfigurationList;
411 buildConfigurations = (
412 3B07BDEC0E3F3F9F00647869 /* Debug */,
413 3B07BDED0E3F3F9F00647869 /* Release */,
414 );
415 defaultConfigurationIsVisible = 0;
416 defaultConfigurationName = Release;
417 };
418 4024D169113D7D4600C7059E /* Build configuration list for PBXAggregateTarget "Test" */ = {
419 isa = XCConfigurationList;
420 buildConfigurations = (
421 4024D163113D7D2400C7059E /* Debug */,
422 4024D164113D7D2400C7059E /* Release */,
423 );
424 defaultConfigurationIsVisible = 0;
425 defaultConfigurationName = Release;
426 };
427 4024D1F0113D842B00C7059E /* Build configuration list for PBXAggregateTarget "TestAndBuild" */ = {
428 isa = XCConfigurationList;
429 buildConfigurations = (
430 4024D1EA113D83FF00C7059E /* Debug */,
431 4024D1EB113D83FF00C7059E /* Release */,
432 );
433 defaultConfigurationIsVisible = 0;
434 defaultConfigurationName = Release;
435 };
436 4FADC24208B4156D00ABE55E /* Build configuration list for PBXNativeTarget "WidgetFramework" */ = {
437 isa = XCConfigurationList;
438 buildConfigurations = (
439 4FADC24308B4156D00ABE55E /* Debug */,
440 4FADC24408B4156D00ABE55E /* Release */,
441 );
442 defaultConfigurationIsVisible = 0;
443 defaultConfigurationName = Release;
444 };
445 4FADC24608B4156D00ABE55E /* Build configuration list for PBXProject "WidgetFramework" */ = {
446 isa = XCConfigurationList;
447 buildConfigurations = (
448 4FADC24708B4156D00ABE55E /* Debug */,
449 4FADC24808B4156D00ABE55E /* Release */,
450 );
451 defaultConfigurationIsVisible = 0;
452 defaultConfigurationName = Release;
453 };
454/* End XCConfigurationList section */
455 };
456 rootObject = 0867D690FE84028FC02AAC07 /* Project object */;
457}
Note: See TracBrowser for help on using the repository browser.