Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/imp.push.c
  • Loading branch information
David Butler committed May 24, 2016
2 parents a119f23 + 6c23e2c commit 8551f1a
Show file tree
Hide file tree
Showing 9 changed files with 443 additions and 7 deletions.
32 changes: 32 additions & 0 deletions build/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>com.cycling74.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>${PRODUCT_VERSION}</string>
<key>CFBundlePackageType</key>
<string>iLaX</string>
<key>CFBundleSignature</key>
<string>max2</string>
<key>CFBundleVersion</key>
<string>1.0</string>

<key>CFBundleVersion</key>
<string>${PRODUCT_VERSION}</string>
<key>CFBundleShortVersionString</key>
<string>${PRODUCT_VERSION}</string>
<key>CFBundleLongVersionString</key>
<string>${PRODUCT_NAME} ${PRODUCT_VERSION}, Copyright 2014 Cycling '74</string>

<key>CSResourcesFileMapped</key>
<true/>
</dict>
</plist>
71 changes: 71 additions & 0 deletions build/maxmspsdk.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
// Xcode target configuration settings for the Max 6 SDK
// Used as the basis for Xcode projects to build Max externals.
//
// Changes to the settings in this file will be applied to all SDK examples
// To change settings for only one of the examples, override the settings using
// Xcode's target inspector.
//
// by Timothy Place
// Copyright © 2012, Cycling '74


// Name & Version
PRODUCT_NAME = $(PROJECT_NAME)
PRODUCT_VERSION = 7.0.1
ARCHS = i386 x86_64


// Paths
C74SUPPORT = $(SRCROOT)/lib/max-sdk/source/c74support
HEADER_SEARCH_PATHS = "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes" "$(SRCROOT)/lib/libusb-1.0.20/include"
FRAMEWORK_SEARCH_PATHS = "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes"
DSTROOT = $(HOME)/Documents/Max 7/Packages/imp.push/externals
// (This next path is relative to DSTROOT)
INSTALL_PATH = /


// Special Files
GCC_PREFIX_HEADER = $(C74SUPPORT)/max-includes/macho-prefix.pch
INFOPLIST_FILE = $(SRCROOT)/build/Info.plist


// Architecture and Deployment
ARCHS = i386 x86_64

// The following section sets the Mac SDK version to be used.
// For most projects this has little to no impact because there are no direct dependencies on OS function calls.
// In those projects with OS function calls, it should be okay to use the most recent SDK version because the
// MACOSX_DEPLOYMENT_TARGET will disable functionality that is unavailable in the older target OS.
// For this reason, the SDKROOT variable is commented out, telling Xcode to use the default (which is the most recent SDK).
//
// SDKROOT = macosx10.6

MACOSX_DEPLOYMENT_TARGET = 10.7


// Compiler Version -- leave them all commented out to get the default version provided by Xcode
// GCC_VERSION = com.apple.compilers.llvmgcc42
// GCC_VERSION = com.apple.compilers.llvm.clang.1_0


// Preprocessor Defines
GCC_PREPROCESSOR_DEFINITIONS = "DENORM_WANT_FIX = 1" "NO_TRANSLATION_SUPPORT = 1"


// Static Configuration (don't change these)
WRAPPER_EXTENSION = mxo;
WARNING_CFLAGS = -Wmost -Wno-four-char-constants -Wno-unknown-pragmas
DEPLOYMENT_LOCATION = YES
GENERATE_PKGINFO_FILE = YES


// Flags to enforce some build-time checks for the symbols used while not actually performing a hard link
C74_SYM_LINKER_FLAGS = @$(C74SUPPORT)/max-includes/c74_linker_flags.txt


// hide all symbols by default
// mark a function to be exported with the C74_EXPORT macro
// most likely this will only apply to the ext_main() function which we've already prototyped for you
OTHER_CFLAGS = -fvisibility=hidden

OTHER_LDFLAGS = -framework MaxAudioAPI -framework JitterAPI $(C74_SYM_LINKER_FLAGS)
222 changes: 222 additions & 0 deletions imp.push.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,222 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
63B2C9151CF276F600676D80 /* libusb-1.0.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 63B2C9141CF276F600676D80 /* libusb-1.0.a */; };
63B89AA01CF272ED0016A38A /* imp.push.c in Sources */ = {isa = PBXBuildFile; fileRef = 63B89A9E1CF272ED0016A38A /* imp.push.c */; };
63B89AA11CF272ED0016A38A /* max.imp.push.c in Sources */ = {isa = PBXBuildFile; fileRef = 63B89A9F1CF272ED0016A38A /* max.imp.push.c */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
22CF10220EE984600054F513 /* maxmspsdk.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = maxmspsdk.xcconfig; path = build/maxmspsdk.xcconfig; sourceTree = SOURCE_ROOT; };
2FBBEAE508F335360078DB84 /* imp.push.mxo */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = imp.push.mxo; sourceTree = BUILT_PRODUCTS_DIR; };
63B2C9141CF276F600676D80 /* libusb-1.0.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libusb-1.0.a"; path = "lib/libusb-1.0.20/lib/libusb-1.0.a"; sourceTree = "<group>"; };
63B89A9E1CF272ED0016A38A /* imp.push.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = imp.push.c; path = src/imp.push.c; sourceTree = "<group>"; };
63B89A9F1CF272ED0016A38A /* max.imp.push.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = max.imp.push.c; path = src/max.imp.push.c; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
2FBBEADC08F335360078DB84 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
63B2C9151CF276F600676D80 /* libusb-1.0.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
089C166AFE841209C02AAC07 /* iterator */ = {
isa = PBXGroup;
children = (
63B2C9141CF276F600676D80 /* libusb-1.0.a */,
22CF10220EE984600054F513 /* maxmspsdk.xcconfig */,
08FB77ADFE841716C02AAC07 /* Source */,
19C28FB4FE9D528D11CA2CBB /* Products */,
);
name = iterator;
sourceTree = "<group>";
};
08FB77ADFE841716C02AAC07 /* Source */ = {
isa = PBXGroup;
children = (
63B89A9E1CF272ED0016A38A /* imp.push.c */,
63B89A9F1CF272ED0016A38A /* max.imp.push.c */,
);
name = Source;
sourceTree = "<group>";
};
19C28FB4FE9D528D11CA2CBB /* Products */ = {
isa = PBXGroup;
children = (
2FBBEAE508F335360078DB84 /* imp.push.mxo */,
);
name = Products;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
2FBBEAD708F335360078DB84 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
2FBBEAD608F335360078DB84 /* max-external */ = {
isa = PBXNativeTarget;
buildConfigurationList = 2FBBEAE008F335360078DB84 /* Build configuration list for PBXNativeTarget "max-external" */;
buildPhases = (
2FBBEAD708F335360078DB84 /* Headers */,
2FBBEAD808F335360078DB84 /* Resources */,
2FBBEADA08F335360078DB84 /* Sources */,
2FBBEADC08F335360078DB84 /* Frameworks */,
2FBBEADF08F335360078DB84 /* Rez */,
);
buildRules = (
);
dependencies = (
);
name = "max-external";
productName = iterator;
productReference = 2FBBEAE508F335360078DB84 /* imp.push.mxo */;
productType = "com.apple.product-type.bundle";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
089C1669FE841209C02AAC07 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0730;
};
buildConfigurationList = 2FBBEACF08F335010078DB84 /* Build configuration list for PBXProject "imp.push" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
English,
Japanese,
French,
German,
);
mainGroup = 089C166AFE841209C02AAC07 /* iterator */;
projectDirPath = "";
projectRoot = "";
targets = (
2FBBEAD608F335360078DB84 /* max-external */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
2FBBEAD808F335360078DB84 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXRezBuildPhase section */
2FBBEADF08F335360078DB84 /* Rez */ = {
isa = PBXRezBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXRezBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
2FBBEADA08F335360078DB84 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
63B89AA01CF272ED0016A38A /* imp.push.c in Sources */,
63B89AA11CF272ED0016A38A /* max.imp.push.c in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin XCBuildConfiguration section */
2FBBEAD008F335010078DB84 /* Development */ = {
isa = XCBuildConfiguration;
buildSettings = {
};
name = Development;
};
2FBBEAD108F335010078DB84 /* Deployment */ = {
isa = XCBuildConfiguration;
buildSettings = {
};
name = Deployment;
};
2FBBEAE108F335360078DB84 /* Development */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 22CF10220EE984600054F513 /* maxmspsdk.xcconfig */;
buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
GCC_OPTIMIZATION_LEVEL = 0;
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
/opt/local/lib,
"$(PROJECT_DIR)/lib/libusb-1.0.20/lib",
);
PRODUCT_BUNDLE_IDENTIFIER = imp.push;
};
name = Development;
};
2FBBEAE208F335360078DB84 /* Deployment */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 22CF10220EE984600054F513 /* maxmspsdk.xcconfig */;
buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES;
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
/opt/local/lib,
"$(PROJECT_DIR)/lib/libusb-1.0.20/lib",
);
PRODUCT_BUNDLE_IDENTIFIER = imp.push;
};
name = Deployment;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
2FBBEACF08F335010078DB84 /* Build configuration list for PBXProject "imp.push" */ = {
isa = XCConfigurationList;
buildConfigurations = (
2FBBEAD008F335010078DB84 /* Development */,
2FBBEAD108F335010078DB84 /* Deployment */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Development;
};
2FBBEAE008F335360078DB84 /* Build configuration list for PBXNativeTarget "max-external" */ = {
isa = XCConfigurationList;
buildConfigurations = (
2FBBEAE108F335360078DB84 /* Development */,
2FBBEAE208F335360078DB84 /* Deployment */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Development;
};
/* End XCConfigurationList section */
};
rootObject = 089C1669FE841209C02AAC07 /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Loading

0 comments on commit 8551f1a

Please sign in to comment.