Skip to content

Commit

Permalink
add target static library
Browse files Browse the repository at this point in the history
  • Loading branch information
kolyvan committed Jun 21, 2013
1 parent 82abf0a commit e489cce
Show file tree
Hide file tree
Showing 2 changed files with 111 additions and 0 deletions.
7 changes: 7 additions & 0 deletions KxSMB/KxSMB-Prefix.pch
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
//
// Prefix header for all source files of the 'KxSMB' target in the 'KxSMB' project
//

#ifdef __OBJC__
#import <Foundation/Foundation.h>
#endif
104 changes: 104 additions & 0 deletions KxSMBSample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,22 @@
87085FC91705D4FD009CD258 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 87085FC81705D4FD009CD258 /* libz.dylib */; };
87085FCB1705D503009CD258 /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 87085FCA1705D503009CD258 /* libiconv.dylib */; };
87085FCD1705D509009CD258 /* libresolv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 87085FCC1705D509009CD258 /* libresolv.dylib */; };
871CC5751774589C00EDD76D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 87085F8E1705D46C009CD258 /* Foundation.framework */; };
871CC580177458AD00EDD76D /* KxSMBProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 87085FB31705D494009CD258 /* KxSMBProvider.m */; };
/* End PBXBuildFile section */

/* Begin PBXCopyFilesBuildPhase section */
871CC5721774589C00EDD76D /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "include/${PRODUCT_NAME}";
dstSubfolderSpec = 16;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
87085F891705D46C009CD258 /* KxSMBSample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = KxSMBSample.app; sourceTree = BUILT_PRODUCTS_DIR; };
87085F8C1705D46C009CD258 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
Expand Down Expand Up @@ -61,6 +75,8 @@
87085FCC1705D509009CD258 /* libresolv.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libresolv.dylib; path = usr/lib/libresolv.dylib; sourceTree = SDKROOT; };
871CC5581774489A00EDD76D /* talloc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = talloc.h; path = libs/talloc.h; sourceTree = "<group>"; };
871CC5591774491A00EDD76D /* talloc_stack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = talloc_stack.h; path = libs/talloc_stack.h; sourceTree = "<group>"; };
871CC5741774589C00EDD76D /* libKxSMB.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libKxSMB.a; sourceTree = BUILT_PRODUCTS_DIR; };
871CC5781774589C00EDD76D /* KxSMB-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "KxSMB-Prefix.pch"; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -81,6 +97,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
871CC5711774589C00EDD76D /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
871CC5751774589C00EDD76D /* Foundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
Expand All @@ -91,6 +115,7 @@
87085FB31705D494009CD258 /* KxSMBProvider.m */,
87085FBE1705D4BE009CD258 /* libs */,
87085F921705D46C009CD258 /* KxSMBSample */,
871CC5761774589C00EDD76D /* KxSMB */,
87085F8B1705D46C009CD258 /* Frameworks */,
87085F8A1705D46C009CD258 /* Products */,
);
Expand All @@ -100,6 +125,7 @@
isa = PBXGroup;
children = (
87085F891705D46C009CD258 /* KxSMBSample.app */,
871CC5741774589C00EDD76D /* libKxSMB.a */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -161,6 +187,22 @@
name = libs;
sourceTree = "<group>";
};
871CC5761774589C00EDD76D /* KxSMB */ = {
isa = PBXGroup;
children = (
871CC5771774589C00EDD76D /* Supporting Files */,
);
path = KxSMB;
sourceTree = "<group>";
};
871CC5771774589C00EDD76D /* Supporting Files */ = {
isa = PBXGroup;
children = (
871CC5781774589C00EDD76D /* KxSMB-Prefix.pch */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand All @@ -181,6 +223,23 @@
productReference = 87085F891705D46C009CD258 /* KxSMBSample.app */;
productType = "com.apple.product-type.application";
};
871CC5731774589C00EDD76D /* KxSMB */ = {
isa = PBXNativeTarget;
buildConfigurationList = 871CC57F1774589C00EDD76D /* Build configuration list for PBXNativeTarget "KxSMB" */;
buildPhases = (
871CC5701774589C00EDD76D /* Sources */,
871CC5711774589C00EDD76D /* Frameworks */,
871CC5721774589C00EDD76D /* CopyFiles */,
);
buildRules = (
);
dependencies = (
);
name = KxSMB;
productName = KxSMB;
productReference = 871CC5741774589C00EDD76D /* libKxSMB.a */;
productType = "com.apple.product-type.library.static";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand All @@ -203,6 +262,7 @@
projectRoot = "";
targets = (
87085F881705D46C009CD258 /* KxSMBSample */,
871CC5731774589C00EDD76D /* KxSMB */,
);
};
/* End PBXProject section */
Expand Down Expand Up @@ -235,6 +295,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
871CC5701774589C00EDD76D /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
871CC580177458AD00EDD76D /* KxSMBProvider.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
Expand Down Expand Up @@ -343,6 +411,34 @@
};
name = Release;
};
871CC57D1774589C00EDD76D /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
DSTROOT = /tmp/KxSMB.dst;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "KxSMB/KxSMB-Prefix.pch";
HEADER_SEARCH_PATHS = "\"$(SRCROOT)/libs\"";
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
USER_HEADER_SEARCH_PATHS = "\"$(SRCROOT)/libs\"";
};
name = Debug;
};
871CC57E1774589C00EDD76D /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
DSTROOT = /tmp/KxSMB.dst;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "KxSMB/KxSMB-Prefix.pch";
HEADER_SEARCH_PATHS = "\"$(SRCROOT)/libs\"";
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
USER_HEADER_SEARCH_PATHS = "\"$(SRCROOT)/libs\"";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand All @@ -364,6 +460,14 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
871CC57F1774589C00EDD76D /* Build configuration list for PBXNativeTarget "KxSMB" */ = {
isa = XCConfigurationList;
buildConfigurations = (
871CC57D1774589C00EDD76D /* Debug */,
871CC57E1774589C00EDD76D /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = 87085F811705D46B009CD258 /* Project object */;
Expand Down

0 comments on commit e489cce

Please sign in to comment.