Skip to content

Commit

Permalink
Issue #64: MIKMIDI.framework module now defines explicit submodules f…
Browse files Browse the repository at this point in the history
…or _SubclassMethods headers.
  • Loading branch information
Andrew Madsen committed Mar 6, 2015
1 parent b4e6695 commit 902083b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Framework/MIKMIDI.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@
9DB366EF1A964C55001D1CF3 /* MIKMIDISynthesizer.m */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.objc; path = MIKMIDISynthesizer.m; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1; wrapsLines = 1; };
9DB366F41A964D4A001D1CF3 /* MIKMIDISynthesizerInstrument.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MIKMIDISynthesizerInstrument.h; sourceTree = "<group>"; };
9DB366F51A964D4A001D1CF3 /* MIKMIDISynthesizerInstrument.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MIKMIDISynthesizerInstrument.m; sourceTree = "<group>"; };
9DBEBD5C1AAA27D100E59734 /* module.modulemap */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = "sourcecode.module-map"; path = module.modulemap; sourceTree = SOURCE_ROOT; };
9DE259E419A7B4F800DA93E9 /* AudioUnit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioUnit.framework; path = System/Library/Frameworks/AudioUnit.framework; sourceTree = SDKROOT; };
9DE259E719A7B50600DA93E9 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
9DED4E201AA77DAC00DA8356 /* MIKMIDIPitchBendChangeEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MIKMIDIPitchBendChangeEvent.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -504,6 +505,7 @@
9D74EEC017A712F100BEE89F /* en.lproj */,
9D74EEC317A712F100BEE89F /* MIKMIDI-Info.plist */,
9DAF8B8E1A7B04CA00F46528 /* MIKMIDI-iOS-Info.plist */,
9DBEBD5C1AAA27D100E59734 /* module.modulemap */,
);
name = Resources;
path = MIKMIDI;
Expand Down Expand Up @@ -1131,6 +1133,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.7;
MODULEMAP_FILE = "";
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
Expand Down Expand Up @@ -1158,6 +1161,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.7;
MODULEMAP_FILE = "";
SDKROOT = macosx;
};
name = Release;
Expand All @@ -1167,13 +1171,15 @@
buildSettings = {
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
COMBINE_HIDPI_IMAGES = YES;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "MIKMIDI-Prefix.pch";
INFOPLIST_FILE = "MIKMIDI-Info.plist";
LD_DYLIB_INSTALL_NAME = "@loader_path/../Frameworks/$(EXECUTABLE_PATH)";
MODULEMAP_FILE = module.modulemap;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
WRAPPER_EXTENSION = framework;
Expand All @@ -1185,6 +1191,7 @@
buildSettings = {
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
COMBINE_HIDPI_IMAGES = YES;
DEFINES_MODULE = YES;
DEPLOYMENT_POSTPROCESSING = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
Expand All @@ -1193,6 +1200,7 @@
GCC_PREFIX_HEADER = "MIKMIDI-Prefix.pch";
INFOPLIST_FILE = "MIKMIDI-Info.plist";
LD_DYLIB_INSTALL_NAME = "@loader_path/../Frameworks/$(EXECUTABLE_PATH)";
MODULEMAP_FILE = module.modulemap;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
WRAPPER_EXTENSION = framework;
Expand Down Expand Up @@ -1232,6 +1240,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MODULEMAP_FILE = module.modulemap;
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_NAME = MIKMIDI;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -1272,6 +1281,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MODULEMAP_FILE = module.modulemap;
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_NAME = MIKMIDI;
SDKROOT = iphoneos;
Expand Down
21 changes: 21 additions & 0 deletions Framework/module.modulemap
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
framework module MIKMIDI {
umbrella header "MIKMIDI.h"

export *
module * { export * }

explicit module MIKMIDICommandSubclass {
header "MIKMIDICommand_SubclassMethods.h"
export *
}

explicit module MIKMIDIEventSubclass {
header "MIKMIDIEvent_SubclassMethods.h"
export *
}

explicit module MIKMIDISynthesizerSubclass {
header "MIKMIDISynthesizer_SubclassMethods.h"
export *
}
}

0 comments on commit 902083b

Please sign in to comment.