From 5d7bff57e03e67e88cc6ca914cb7a0ca26b2afd5 Mon Sep 17 00:00:00 2001 From: Andy Van Ness Date: Fri, 15 Feb 2013 21:13:29 -0500 Subject: [PATCH] Added empty CoreData framework for Linux; fixed Cocoa Linux target --- Cocoa/Cocoa.xcodeproj/project.pbxproj | 50 ++++++++ CoreData/CoreData.xcodeproj/project.pbxproj | 129 ++++++++++++++++++++ CoreData/Linux/CoreData.h | 0 3 files changed, 179 insertions(+) create mode 100644 CoreData/Linux/CoreData.h diff --git a/Cocoa/Cocoa.xcodeproj/project.pbxproj b/Cocoa/Cocoa.xcodeproj/project.pbxproj index 69f62627..99639c16 100644 --- a/Cocoa/Cocoa.xcodeproj/project.pbxproj +++ b/Cocoa/Cocoa.xcodeproj/project.pbxproj @@ -45,6 +45,20 @@ /* End PBXBuildRule section */ /* Begin PBXContainerItemProxy section */ + 0DC7217816CF20EF00E0FF99 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = FE78D0FF126F4CF500CC39CF /* CoreData.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 0DC7212E16CF1F5700E0FF99; + remoteInfo = "CoreData-Linux-i386"; + }; + 0DC7217B16CF20EF00E0FF99 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = FE78D0FF126F4CF500CC39CF /* CoreData.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 0DC7216A16CF1F5800E0FF99; + remoteInfo = "CoreData-Linux-i386"; + }; C8724ABF0EC706C200DBDDAD /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = FE7135460B36427F006C9493 /* AppKit.xcodeproj */; @@ -364,6 +378,7 @@ isa = PBXGroup; children = ( FE78D108126F4CF500CC39CF /* CoreData.framework */, + 0DC7217C16CF20EF00E0FF99 /* CoreData.framework */, ); name = Products; sourceTree = ""; @@ -483,6 +498,7 @@ FECC1DDB108D02C600BD4A91 /* PBXBuildRule */, ); dependencies = ( + 0DC7217916CF20EF00E0FF99 /* PBXTargetDependency */, FECC1DDA108D027000BD4A91 /* PBXTargetDependency */, ); name = "Cocoa-Linux-i386"; @@ -537,6 +553,13 @@ /* End PBXProject section */ /* Begin PBXReferenceProxy section */ + 0DC7217C16CF20EF00E0FF99 /* CoreData.framework */ = { + isa = PBXReferenceProxy; + fileType = wrapper.framework; + path = CoreData.framework; + remoteRef = 0DC7217B16CF20EF00E0FF99 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; C8724AC00EC706C200DBDDAD /* AppKit.framework */ = { isa = PBXReferenceProxy; fileType = wrapper.framework; @@ -676,6 +699,11 @@ /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ + 0DC7217916CF20EF00E0FF99 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CoreData-Linux-i386"; + targetProxy = 0DC7217816CF20EF00E0FF99 /* PBXContainerItemProxy */; + }; C8E0BFB00F0E6B6600677729 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = "AppKit-Darwin-i386"; @@ -877,10 +905,21 @@ GCC_PREFIX_HEADER = ""; INFOPLIST_FILE = Info.plist; INSTALL_PATH = /Developer/Cocotron/1.0/Linux/i386/Frameworks; + LIBRARY_SEARCH_PATHS = /Developer/Cocotron/1.0/Linux/i386/lib; OTHER_CFLAGS = ( "-DCOCOA_INSIDE_BUILD", "-D__LITTLE_ENDIAN__", ); + OTHER_LDFLAGS = ( + "-shared", + "-lm", + "-freetype", + "-lX11", + "-lfontconfig", + "-lXrender", + "-lpixman", + "-lexpat", + ); PRODUCT_NAME = Cocoa; SYMROOT = build/Linux/i386; }; @@ -900,10 +939,21 @@ GCC_PREFIX_HEADER = ""; INFOPLIST_FILE = Info.plist; INSTALL_PATH = /Developer/Cocotron/1.0/Linux/i386/Frameworks; + LIBRARY_SEARCH_PATHS = /Developer/Cocotron/1.0/Linux/i386/lib; OTHER_CFLAGS = ( "-DCOCOA_INSIDE_BUILD", "-D__LITTLE_ENDIAN__", ); + OTHER_LDFLAGS = ( + "-shared", + "-lm", + "-freetype", + "-lX11", + "-lfontconfig", + "-lXrender", + "-lpixman", + "-lexpat", + ); PRODUCT_NAME = Cocoa; SYMROOT = build/Linux/i386; }; diff --git a/CoreData/CoreData.xcodeproj/project.pbxproj b/CoreData/CoreData.xcodeproj/project.pbxproj index d116bfd3..bbb1a5bd 100644 --- a/CoreData/CoreData.xcodeproj/project.pbxproj +++ b/CoreData/CoreData.xcodeproj/project.pbxproj @@ -7,6 +7,8 @@ objects = { /* Begin PBXBuildFile section */ + 0DC7214E16CF1F5700E0FF99 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C1666FE841158C02AAC07 /* InfoPlist.strings */; }; + 0DC7217716CF206600E0FF99 /* CoreData.h in Headers */ = {isa = PBXBuildFile; fileRef = 0DC7217616CF206600E0FF99 /* CoreData.h */; settings = {ATTRIBUTES = (Public, ); }; }; 8DC2EF530486A6940098B216 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C1666FE841158C02AAC07 /* InfoPlist.strings */; }; FE06432B121AD56400373F23 /* NSManagedObjectSet.h in Headers */ = {isa = PBXBuildFile; fileRef = FE064327121AD56400373F23 /* NSManagedObjectSet.h */; }; FE06432C121AD56400373F23 /* NSManagedObjectSet.m in Sources */ = {isa = PBXBuildFile; fileRef = FE064328121AD56400373F23 /* NSManagedObjectSet.m */; }; @@ -135,6 +137,9 @@ /* Begin PBXFileReference section */ 0867D69BFE84028FC02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; 089C1667FE841158C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; + 0DC7216A16CF1F5800E0FF99 /* CoreData.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CoreData.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 0DC7216B16CF1F5800E0FF99 /* CoreData-Windows-i386 copy-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "CoreData-Windows-i386 copy-Info.plist"; path = "/Developer/Cocotron/Source/CoreData/CoreData-Windows-i386 copy-Info.plist"; sourceTree = ""; }; + 0DC7217616CF206600E0FF99 /* CoreData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CoreData.h; path = Linux/CoreData.h; sourceTree = ""; }; 8DC2EF5A0486A6940098B216 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; 8DC2EF5B0486A6940098B216 /* CoreData.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CoreData.framework; sourceTree = BUILT_PRODUCTS_DIR; }; FE064327121AD56400373F23 /* NSManagedObjectSet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSManagedObjectSet.h; sourceTree = ""; }; @@ -205,6 +210,13 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 0DC7216516CF1F5700E0FF99 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 8DC2EF560486A6940098B216 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -220,6 +232,7 @@ isa = PBXGroup; children = ( 8DC2EF5B0486A6940098B216 /* CoreData.framework */, + 0DC7216A16CF1F5800E0FF99 /* CoreData.framework */, ); name = Products; sourceTree = ""; @@ -227,6 +240,7 @@ 0867D691FE84028FC02AAC07 /* CoreData */ = { isa = PBXGroup; children = ( + 0DC7217516CF205C00E0FF99 /* Linux */, FE06B1211430E7390071169B /* xcconfig */, FE06433D121AD7C200373F23 /* NSManagedObjectMutableSet.h */, FE06433E121AD7C200373F23 /* NSManagedObjectMutableSet.m */, @@ -281,6 +295,7 @@ 32C88DFF0371C24200C91783 /* Other Sources */, 034768DFFF38A50411DB9C8B /* Products */, 089C1665FE841158C02AAC07 /* Resources */, + 0DC7216B16CF1F5800E0FF99 /* CoreData-Windows-i386 copy-Info.plist */, ); name = CoreData; sourceTree = ""; @@ -310,6 +325,14 @@ name = Classes; sourceTree = ""; }; + 0DC7217516CF205C00E0FF99 /* Linux */ = { + isa = PBXGroup; + children = ( + 0DC7217616CF206600E0FF99 /* CoreData.h */, + ); + name = Linux; + sourceTree = ""; + }; 1058C7B0FEA5585E11CA2CBB /* Linked Frameworks */ = { isa = PBXGroup; children = ( @@ -376,6 +399,14 @@ /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ + 0DC7213116CF1F5700E0FF99 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 0DC7217716CF206600E0FF99 /* CoreData.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 8DC2EF500486A6940098B216 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; @@ -413,6 +444,25 @@ /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ + 0DC7212E16CF1F5700E0FF99 /* CoreData-Linux-i386 */ = { + isa = PBXNativeTarget; + buildConfigurationList = 0DC7216716CF1F5700E0FF99 /* Build configuration list for PBXNativeTarget "CoreData-Linux-i386" */; + buildPhases = ( + 0DC7213116CF1F5700E0FF99 /* Headers */, + 0DC7214D16CF1F5700E0FF99 /* Resources */, + 0DC7214F16CF1F5700E0FF99 /* Sources */, + 0DC7216516CF1F5700E0FF99 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "CoreData-Linux-i386"; + productInstallPath = "$(HOME)/Library/Frameworks"; + productName = CoreData; + productReference = 0DC7216A16CF1F5800E0FF99 /* CoreData.framework */; + productType = "com.apple.product-type.framework"; + }; 8DC2EF4F0486A6940098B216 /* CoreData-Windows-i386 */ = { isa = PBXNativeTarget; buildConfigurationList = 1DEB91AD08733DA50010E9CD /* Build configuration list for PBXNativeTarget "CoreData-Windows-i386" */; @@ -463,6 +513,7 @@ projectRoot = ""; targets = ( 8DC2EF4F0486A6940098B216 /* CoreData-Windows-i386 */, + 0DC7212E16CF1F5700E0FF99 /* CoreData-Linux-i386 */, ); }; /* End PBXProject section */ @@ -534,6 +585,14 @@ /* End PBXReferenceProxy section */ /* Begin PBXResourcesBuildPhase section */ + 0DC7214D16CF1F5700E0FF99 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 0DC7214E16CF1F5700E0FF99 /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 8DC2EF520486A6940098B216 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -545,6 +604,13 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ + 0DC7214F16CF1F5700E0FF99 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 8DC2EF540486A6940098B216 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -595,6 +661,60 @@ /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ + 0DC7216816CF1F5700E0FF99 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = FE7085CF1431178000B99A95 /* windows-i386-framework.xcconfig */; + buildSettings = { + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = stabs; + EFFECTIVE_PLATFORM_NAME = "-linux"; + EXECUTABLE_SUFFIX = .so; + GCC_ENABLE_CPP_EXCEPTIONS = NO; + GCC_ENABLE_CPP_RTTI = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PLATFORM_DEFINES = "-DLINUX"; + GCC_PRECOMPILE_PREFIX_HEADER = NO; + GCC_UNROLL_LOOPS = NO; + GCC_VERSION = org.cocotron.1.0.linux.i386.gcc.4.3.1; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = /Developer/Cocotron/1.0/Linux/i386/Frameworks; + OTHER_CFLAGS = ( + "-DCOREDATA_INSIDE_BUILD", + "-D__LITTLE_ENDIAN__", + ); + PRODUCT_NAME = CoreData; + }; + name = Debug; + }; + 0DC7216916CF1F5700E0FF99 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = FE7085CF1431178000B99A95 /* windows-i386-framework.xcconfig */; + buildSettings = { + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = stabs; + EFFECTIVE_PLATFORM_NAME = "-linux"; + EXECUTABLE_SUFFIX = .so; + GCC_ENABLE_CPP_EXCEPTIONS = NO; + GCC_ENABLE_CPP_RTTI = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PLATFORM_DEFINES = "-DLINUX"; + GCC_PRECOMPILE_PREFIX_HEADER = NO; + GCC_UNROLL_LOOPS = NO; + GCC_VERSION = org.cocotron.1.0.linux.i386.gcc.4.3.1; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = /Developer/Cocotron/1.0/Linux/i386/Frameworks; + OTHER_CFLAGS = ( + "-DCOREDATA_INSIDE_BUILD", + "-D__LITTLE_ENDIAN__", + ); + PRODUCT_NAME = CoreData; + }; + name = Release; + }; 1DEB91AE08733DA50010E9CD /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = FE7085CF1431178000B99A95 /* windows-i386-framework.xcconfig */; @@ -656,6 +776,15 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 0DC7216716CF1F5700E0FF99 /* Build configuration list for PBXNativeTarget "CoreData-Linux-i386" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 0DC7216816CF1F5700E0FF99 /* Debug */, + 0DC7216916CF1F5700E0FF99 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 1DEB91AD08733DA50010E9CD /* Build configuration list for PBXNativeTarget "CoreData-Windows-i386" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/CoreData/Linux/CoreData.h b/CoreData/Linux/CoreData.h new file mode 100644 index 00000000..e69de29b