From 33588a49aa2c07dc85fac3f0e10e6134584ca86d Mon Sep 17 00:00:00 2001 From: ceylo Date: Sun, 4 Apr 2010 18:37:04 +0000 Subject: [PATCH] Added target for building the Cocoa sample. git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1485 4e206d99-4929-0410-ac5d-dfc041789085 --- .../xcode/samples.xcodeproj/project.pbxproj | 170 +++++++++++++++++- 1 file changed, 169 insertions(+), 1 deletion(-) diff --git a/samples/build/xcode/samples.xcodeproj/project.pbxproj b/samples/build/xcode/samples.xcodeproj/project.pbxproj index 21862ded..3587f1fb 100644 --- a/samples/build/xcode/samples.xcodeproj/project.pbxproj +++ b/samples/build/xcode/samples.xcodeproj/project.pbxproj @@ -22,6 +22,7 @@ A07D7F1F0EE832C2006712A3 /* PBXTargetDependency */, A07D7F210EE832C2006712A3 /* PBXTargetDependency */, A07D7F230EE832C2006712A3 /* PBXTargetDependency */, + 8709B24E116913A400513C21 /* PBXTargetDependency */, ); name = All; productName = All; @@ -29,6 +30,12 @@ /* End PBXAggregateTarget section */ /* Begin PBXBuildFile section */ + 8709B1EC116910BF00513C21 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 8709B1E7116910BF00513C21 /* main.m */; }; + 8709B1ED116910BF00513C21 /* SfmlController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 8709B1E9116910BF00513C21 /* SfmlController.mm */; }; + 8709B1F2116910D000513C21 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 8709B1EE116910D000513C21 /* InfoPlist.strings */; }; + 8709B1F3116910D000513C21 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8709B1F0116910D000513C21 /* MainMenu.xib */; }; + 8709B1F8116910F600513C21 /* sfml-window.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A07D7D6E0EE82B6F006712A3 /* sfml-window.framework */; }; + 8709B1F9116910F800513C21 /* sfml-graphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A07D7D6C0EE82B6F006712A3 /* sfml-graphics.framework */; }; A07D7E330EE82C0A006712A3 /* Ftp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A07D7DDA0EE82B93006712A3 /* Ftp.cpp */; }; A07D7E340EE82C0F006712A3 /* sfml-system.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A07D7D6D0EE82B6F006712A3 /* sfml-system.framework */; }; A07D7E350EE82C0F006712A3 /* sfml-network.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A07D7D6B0EE82B6F006712A3 /* sfml-network.framework */; }; @@ -69,6 +76,13 @@ /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ + 8709B24D116913A400513C21 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = A07D7D530EE82B1A006712A3 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 8709B1D81169103B00513C21 /* cocoa */; + remoteInfo = cocoa; + }; A07D7E630EE82D47006712A3 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = A07D7D530EE82B1A006712A3 /* Project object */; @@ -135,6 +149,13 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 8709B1D91169103B00513C21 /* cocoa.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = cocoa.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 8709B1DB1169103B00513C21 /* cocoa-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "cocoa-Info.plist"; sourceTree = ""; }; + 8709B1E7116910BF00513C21 /* main.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ../../cocoa/main.m; sourceTree = SOURCE_ROOT; }; + 8709B1E8116910BF00513C21 /* SfmlController.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SfmlController.h; path = ../../cocoa/SfmlController.h; sourceTree = SOURCE_ROOT; }; + 8709B1E9116910BF00513C21 /* SfmlController.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; name = SfmlController.mm; path = ../../cocoa/SfmlController.mm; sourceTree = SOURCE_ROOT; }; + 8709B1EF116910D000513C21 /* English */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.plist.strings; name = English; path = ../../cocoa/English.lproj/InfoPlist.strings; sourceTree = SOURCE_ROOT; }; + 8709B1F1116910D000513C21 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = ../../cocoa/English.lproj/MainMenu.xib; sourceTree = SOURCE_ROOT; }; A07D7D6A0EE82B6F006712A3 /* sfml-audio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = "sfml-audio.framework"; path = "../../../lib/sfml-audio.framework"; sourceTree = ""; }; A07D7D6B0EE82B6F006712A3 /* sfml-network.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = "sfml-network.framework"; path = "../../../lib/sfml-network.framework"; sourceTree = ""; }; A07D7D6C0EE82B6F006712A3 /* sfml-graphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = "sfml-graphics.framework"; path = "../../../lib/sfml-graphics.framework"; sourceTree = ""; }; @@ -171,6 +192,15 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 8709B1D71169103B00513C21 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 8709B1F8116910F600513C21 /* sfml-window.framework in Frameworks */, + 8709B1F9116910F800513C21 /* sfml-graphics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; A07D7E2D0EE82C04006712A3 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -261,6 +291,18 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 8709B1E01169107300513C21 /* cocoa */ = { + isa = PBXGroup; + children = ( + 8709B1EE116910D000513C21 /* InfoPlist.strings */, + 8709B1F0116910D000513C21 /* MainMenu.xib */, + 8709B1E7116910BF00513C21 /* main.m */, + 8709B1E8116910BF00513C21 /* SfmlController.h */, + 8709B1E9116910BF00513C21 /* SfmlController.mm */, + ); + name = cocoa; + sourceTree = ""; + }; A07D7D510EE82B1A006712A3 = { isa = PBXGroup; children = ( @@ -283,6 +325,7 @@ A07D7EBF0EE8302C006712A3 /* sound_capture */, A07D7ED00EE830D3006712A3 /* voip */, A07D7EE40EE83167006712A3 /* window.app */, + 8709B1D91169103B00513C21 /* cocoa.app */, ); name = Products; sourceTree = ""; @@ -290,6 +333,7 @@ A07D7D650EE82B3F006712A3 /* Sources */ = { isa = PBXGroup; children = ( + 8709B1E01169107300513C21 /* cocoa */, A07D7DD90EE82B93006712A3 /* ftp */, A07D7DDD0EE82B93006712A3 /* opengl */, A07D7DE00EE82B93006712A3 /* pong */, @@ -405,6 +449,7 @@ A07D7F170EE832AD006712A3 /* Resources */ = { isa = PBXGroup; children = ( + 8709B1DB1169103B00513C21 /* cocoa-Info.plist */, A07D7E3C0EE82C1A006712A3 /* opengl-Info.plist */, A07D7E4C0EE82C68006712A3 /* pong-Info.plist */, A07D7E6F0EE82D5D006712A3 /* post-fx-Info.plist */, @@ -416,6 +461,23 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ + 8709B1D81169103B00513C21 /* cocoa */ = { + isa = PBXNativeTarget; + buildConfigurationList = 8709B1DE1169103C00513C21 /* Build configuration list for PBXNativeTarget "cocoa" */; + buildPhases = ( + 8709B1D51169103B00513C21 /* Resources */, + 8709B1D61169103B00513C21 /* Sources */, + 8709B1D71169103B00513C21 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = cocoa; + productName = cocoa; + productReference = 8709B1D91169103B00513C21 /* cocoa.app */; + productType = "com.apple.product-type.application"; + }; A07D7E2E0EE82C04006712A3 /* ftp */ = { isa = PBXNativeTarget; buildConfigurationList = A07D7E3F0EE82C1B006712A3 /* Build configuration list for PBXNativeTarget "ftp" */; @@ -578,7 +640,7 @@ mainGroup = A07D7D510EE82B1A006712A3; productRefGroup = A07D7D600EE82B34006712A3 /* Products */; projectDirPath = ""; - projectRoot = ""; + projectRoot = ../..; targets = ( A07D7E600EE82D33006712A3 /* All */, A07D7E2E0EE82C04006712A3 /* ftp */, @@ -590,11 +652,21 @@ A07D7EBE0EE8302C006712A3 /* sound_capture */, A07D7ECF0EE830D3006712A3 /* voip */, A07D7EE30EE83167006712A3 /* window */, + 8709B1D81169103B00513C21 /* cocoa */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ + 8709B1D51169103B00513C21 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8709B1F2116910D000513C21 /* InfoPlist.strings in Resources */, + 8709B1F3116910D000513C21 /* MainMenu.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; A07D7E360EE82C1A006712A3 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -668,6 +740,15 @@ /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ + 8709B1D61169103B00513C21 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8709B1EC116910BF00513C21 /* main.m in Sources */, + 8709B1ED116910BF00513C21 /* SfmlController.mm in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; A07D7E2C0EE82C04006712A3 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -747,6 +828,11 @@ /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ + 8709B24E116913A400513C21 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 8709B1D81169103B00513C21 /* cocoa */; + targetProxy = 8709B24D116913A400513C21 /* PBXContainerItemProxy */; + }; A07D7E640EE82D47006712A3 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = A07D7E2E0EE82C04006712A3 /* ftp */; @@ -794,7 +880,80 @@ }; /* End PBXTargetDependency section */ +/* Begin PBXVariantGroup section */ + 8709B1EE116910D000513C21 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 8709B1EF116910D000513C21 /* English */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + 8709B1F0116910D000513C21 /* MainMenu.xib */ = { + isa = PBXVariantGroup; + children = ( + 8709B1F1116910D000513C21 /* English */, + ); + name = MainMenu.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + /* Begin XCBuildConfiguration section */ + 8709B1DC1169103C00513C21 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", + ); + FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../../../lib\""; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INFOPLIST_FILE = "cocoa-Info.plist"; + INSTALL_PATH = "$(HOME)/Applications"; + OTHER_LDFLAGS = ( + "-framework", + Foundation, + "-framework", + AppKit, + ); + PREBINDING = NO; + PRODUCT_NAME = cocoa; + }; + name = Debug; + }; + 8709B1DD1169103C00513C21 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", + ); + FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../../../lib\""; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_MODEL_TUNING = G5; + INFOPLIST_FILE = "cocoa-Info.plist"; + INSTALL_PATH = "$(HOME)/Applications"; + OTHER_LDFLAGS = ( + "-framework", + Foundation, + "-framework", + AppKit, + ); + PREBINDING = NO; + PRODUCT_NAME = cocoa; + ZERO_LINK = NO; + }; + name = Release; + }; A07D7D540EE82B1A006712A3 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -1287,6 +1446,15 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 8709B1DE1169103C00513C21 /* Build configuration list for PBXNativeTarget "cocoa" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 8709B1DC1169103C00513C21 /* Debug */, + 8709B1DD1169103C00513C21 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; A07D7D560EE82B1A006712A3 /* Build configuration list for PBXProject "samples" */ = { isa = XCConfigurationList; buildConfigurations = (