Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Xcode project shell.

  • Loading branch information...
commit 6b3a91aff130a1512231d66e0cdcde4fd633d431 1 parent 7f163e6
@jeremy-w authored
View
31 .gitignore
@@ -0,0 +1,31 @@
+## The Google provides:
+## http://blog.illuminex.com/2009/10/better-sample-gitignore-file-for-xcode.html
+
+# Finder stuff
+.DS_Store
+
+# Xcode per-user config
+*.mode1
+*.mode1v3
+*.mode2v3
+*.perspective
+*.perspectivev3
+*.pbxuser
+
+# Generated files
+build/
+*.[oa]
+
+# Other source repository archive directories (protects when importing)
+.hg
+.svn
+CVS
+
+# automatic backup files
+*~.nib
+*.swp
+*~
+*(Autosaved).*
+Backup[ ]of[ ]*.pages/
+Backup[ ]of[ ]*.key/
+Backup[ ]of[ ]*.numbers/
View
19 LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2010 Jeremy W. Sherman
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
14 README.mkd
@@ -1,14 +1,12 @@
`objc-zmq`: An Objective-C binding to `libzmq`
-===========================================
+==============================================
-This is an orthodox binding to `libzmq`:
-it follows the guidelines
+This is an Objective-C version
+of the reference ZeroMQ
+[object-oriented C API][zmq-docs].
+It follows the guidelines
laid out by the official
["Guidelines for ZeroMQ bindings"][binding-zmq].
-In short,
-this an Objective-C version
-of an
-[object-oriented C API][zmq-docs].
-[binding-zmq]: http://www.zeromq.org/guidelines:bindings (Guidelines for ZeroMQ Bindings)
[zmq-docs]: http://api.zeromq.org/zmq.html (zmq(7) Manual Page)
+[binding-zmq]: http://www.zeromq.org/guidelines:bindings (Guidelines for ZeroMQ Bindings)
View
24 project.xcconfig
@@ -0,0 +1,24 @@
+// Project-level build settings - all configurations
+SDKROOT = macosx10.6
+MACOSX_DEPLOYMENT_TARGET = 10.4
+
+ARCHS = i386 x86_64 ppc
+ARCHS[sdk=macosx10.6*] = i386 x86_64 ppc
+ARCHS[sdk=macosx10.5*] = i386 x86_64 ppc ppc64
+ARCHS[sdk=macosx10.4*] = i386 ppc
+
+MACOSX_DEPLOYMENT_TARGET = 10.6
+ONLY_ACTIVE_ARCH = NO
+
+GCC_TREAT_WARNINGS_AS_ERRORS = YES
+RUN_CLANG_STATIC_ANALYZER = YES
+
+// Work around flags forbidden for C/C++ compilation.
+SHARED_C_CPP_FLAGS = -fstack-protector -fstack-protector-all -Wall -Wendif-labels -Winvalid-pch -Wformat -Wformat-security -Wformat-y2k -Wmissing-format-attribute -Wwrite-strings -Wstrict-aliasing=2 -Wpacked -Wmissing-field-initializers -Wextra -Wpointer-arith -Wdisabled-optimization
+
+OTHER_CFLAGS = $(SHARED_C_CPP_FLAGS) -Wdiv-by-zero -Wnested-externs -Wold-style-definition
+
+OTHER_CPLUSPLUSFLAGS = $(SHARED_C_CPP_FLAGS) -Wabi -Wctor-dtor-privacy -Wstrict-null-sentinel -Wsign-promo
+
+ZERO_LINK = NO
+PREBINDING = NO
View
256 zmqobjc.xcodeproj/project.pbxproj
@@ -0,0 +1,256 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 45;
+ objects = {
+
+/* Begin PBXFileReference section */
+ 3F62DEEC11DEC8CB008EA78B /* README.mkd */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = README.mkd; sourceTree = "<group>"; };
+ 3F62DEED11DEC94A008EA78B /* project.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = project.xcconfig; sourceTree = "<group>"; };
+ 3F62DF4F11DED50C008EA78B /* libzmqobjc.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libzmqobjc.a; sourceTree = BUILT_PRODUCTS_DIR; };
+ D2AAC0630554660B00DB518D /* libzmqobjc.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libzmqobjc.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 3F62DF4D11DED50C008EA78B /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ D289988505E68E00004EDB86 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 08FB7794FE84155DC02AAC07 /* zmqobjc */ = {
+ isa = PBXGroup;
+ children = (
+ 3F62DEEC11DEC8CB008EA78B /* README.mkd */,
+ 3F62DEED11DEC94A008EA78B /* project.xcconfig */,
+ 08FB7795FE84155DC02AAC07 /* Source */,
+ 1AB674ADFE9D54B511CA2CBB /* Products */,
+ );
+ name = zmqobjc;
+ sourceTree = "<group>";
+ };
+ 08FB7795FE84155DC02AAC07 /* Source */ = {
+ isa = PBXGroup;
+ children = (
+ );
+ name = Source;
+ path = src;
+ sourceTree = "<group>";
+ };
+ 1AB674ADFE9D54B511CA2CBB /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ D2AAC0630554660B00DB518D /* libzmqobjc.dylib */,
+ 3F62DF4F11DED50C008EA78B /* libzmqobjc.a */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXHeadersBuildPhase section */
+ 3F62DF4B11DED50C008EA78B /* Headers */ = {
+ isa = PBXHeadersBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ D2AAC0600554660B00DB518D /* Headers */ = {
+ isa = PBXHeadersBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXHeadersBuildPhase section */
+
+/* Begin PBXNativeTarget section */
+ 3F62DF4E11DED50C008EA78B /* zmqobjc (static) */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 3F62DF5311DED56F008EA78B /* Build configuration list for PBXNativeTarget "zmqobjc (static)" */;
+ buildPhases = (
+ 3F62DF4B11DED50C008EA78B /* Headers */,
+ 3F62DF4C11DED50C008EA78B /* Sources */,
+ 3F62DF4D11DED50C008EA78B /* Frameworks */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = "zmqobjc (static)";
+ productName = "zmqobjc (static)";
+ productReference = 3F62DF4F11DED50C008EA78B /* libzmqobjc.a */;
+ productType = "com.apple.product-type.library.static";
+ };
+ D2AAC0620554660B00DB518D /* zmqobjc (dynamic) */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 1DEB914A08733D8E0010E9CD /* Build configuration list for PBXNativeTarget "zmqobjc (dynamic)" */;
+ buildPhases = (
+ D2AAC0600554660B00DB518D /* Headers */,
+ D2AAC0610554660B00DB518D /* Sources */,
+ D289988505E68E00004EDB86 /* Frameworks */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = "zmqobjc (dynamic)";
+ productName = zmqobjc;
+ productReference = D2AAC0630554660B00DB518D /* libzmqobjc.dylib */;
+ productType = "com.apple.product-type.library.dynamic";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 08FB7793FE84155DC02AAC07 /* Project object */ = {
+ isa = PBXProject;
+ buildConfigurationList = 1DEB914E08733D8E0010E9CD /* Build configuration list for PBXProject "zmqobjc" */;
+ compatibilityVersion = "Xcode 3.1";
+ hasScannedForEncodings = 1;
+ mainGroup = 08FB7794FE84155DC02AAC07 /* zmqobjc */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 3F62DF4E11DED50C008EA78B /* zmqobjc (static) */,
+ D2AAC0620554660B00DB518D /* zmqobjc (dynamic) */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 3F62DF4C11DED50C008EA78B /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ D2AAC0610554660B00DB518D /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+ 1DEB914B08733D8E0010E9CD /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ COPY_PHASE_STRIP = NO;
+ EXECUTABLE_PREFIX = lib;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_FIX_AND_CONTINUE = YES;
+ GCC_MODEL_TUNING = G5;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ INSTALL_PATH = /usr/local/lib;
+ PRODUCT_NAME = zmqobjc;
+ };
+ name = Debug;
+ };
+ 1DEB914C08733D8E0010E9CD /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ EXECUTABLE_PREFIX = lib;
+ GCC_MODEL_TUNING = G5;
+ INSTALL_PATH = /usr/local/lib;
+ PRODUCT_NAME = zmqobjc;
+ };
+ name = Release;
+ };
+ 1DEB914F08733D8E0010E9CD /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 3F62DEED11DEC94A008EA78B /* project.xcconfig */;
+ buildSettings = {
+ };
+ name = Debug;
+ };
+ 1DEB915008733D8E0010E9CD /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 3F62DEED11DEC94A008EA78B /* project.xcconfig */;
+ buildSettings = {
+ };
+ name = Release;
+ };
+ 3F62DF5011DED50D008EA78B /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_FIX_AND_CONTINUE = YES;
+ GCC_MODEL_TUNING = G5;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/Foundation.framework/Headers/Foundation.h";
+ INSTALL_PATH = /usr/local/lib;
+ PRODUCT_NAME = zmqobjc;
+ };
+ name = Debug;
+ };
+ 3F62DF5111DED50D008EA78B /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = YES;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ GCC_ENABLE_FIX_AND_CONTINUE = NO;
+ GCC_MODEL_TUNING = G5;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/Foundation.framework/Headers/Foundation.h";
+ INSTALL_PATH = /usr/local/lib;
+ PRODUCT_NAME = zmqobjc;
+ ZERO_LINK = NO;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 1DEB914A08733D8E0010E9CD /* Build configuration list for PBXNativeTarget "zmqobjc (dynamic)" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 1DEB914B08733D8E0010E9CD /* Debug */,
+ 1DEB914C08733D8E0010E9CD /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 1DEB914E08733D8E0010E9CD /* Build configuration list for PBXProject "zmqobjc" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 1DEB914F08733D8E0010E9CD /* Debug */,
+ 1DEB915008733D8E0010E9CD /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 3F62DF5311DED56F008EA78B /* Build configuration list for PBXNativeTarget "zmqobjc (static)" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 3F62DF5011DED50D008EA78B /* Debug */,
+ 3F62DF5111DED50D008EA78B /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 08FB7793FE84155DC02AAC07 /* Project object */;
+}
Please sign in to comment.
Something went wrong with that request. Please try again.