Skip to content

Commit

Permalink
Added Xcode projects for gme and wavpack frameworks
Browse files Browse the repository at this point in the history
Fixes #565

(cherry picked from commit ae3edf8)
  • Loading branch information
slouken committed Jan 14, 2024
1 parent 2379308 commit 6b682a2
Show file tree
Hide file tree
Showing 9 changed files with 1,431 additions and 9 deletions.
58 changes: 57 additions & 1 deletion Xcode/SDL_mixer.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,20 @@
remoteGlobalIDString = BE1FA8B407AF96B2004B6283;
remoteInfo = Framework;
};
F307A4732B544C0F0012534B /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = F307A46E2B544C0F0012534B /* gme.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = F3F70EDA281F61B4005AA27D;
remoteInfo = gme;
};
F307A47A2B544C1A0012534B /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = F307A4752B544C1A0012534B /* wavpack.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = F3968A21281F704800661875;
remoteInfo = wavpack;
};
F3968B96281F817E00661875 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = F3968B90281F817E00661875 /* opus.xcodeproj */;
Expand Down Expand Up @@ -186,6 +200,8 @@
BE1FA95807AF96B3004B6283 /* Create DMG */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "Create DMG"; sourceTree = BUILT_PRODUCTS_DIR; };
F302405F2881DF94002F32D6 /* music_xmp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = music_xmp.h; sourceTree = "<group>"; };
F30240622881DF95002F32D6 /* music_xmp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = music_xmp.c; sourceTree = "<group>"; };
F307A46E2B544C0F0012534B /* gme.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = gme.xcodeproj; path = gme/gme.xcodeproj; sourceTree = "<group>"; };
F307A4752B544C1A0012534B /* wavpack.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = wavpack.xcodeproj; path = wavpack/wavpack.xcodeproj; sourceTree = "<group>"; };
F3249B36285C448100DB9B5C /* CMake */ = {isa = PBXFileReference; lastKnownFileType = folder; path = CMake; sourceTree = "<group>"; };
F37A8D2B2838924900C38E95 /* music_drmp3.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = music_drmp3.h; sourceTree = "<group>"; };
F37A8D2C2838924900C38E95 /* music_drmp3.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = music_drmp3.c; sourceTree = "<group>"; };
Expand All @@ -198,7 +214,7 @@
F3D87C0A281DFAD4005DA540 /* AudioUnit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioUnit.framework; path = System/Library/Frameworks/AudioUnit.framework; sourceTree = SDKROOT; };
F3D87C0C281DFADB005DA540 /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = System/Library/Frameworks/CoreServices.framework; sourceTree = SDKROOT; };
F3D87C0E281DFB02005DA540 /* SDL2.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL2.framework; path = macOS/SDL2.framework; sourceTree = "<group>"; };
F3E29D022882107B0006D108 /* xmp.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = "xmp.xcodeproj"; path = "xmp/xmp.xcodeproj"; sourceTree = "<group>"; };
F3E29D022882107B0006D108 /* xmp.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = xmp.xcodeproj; path = xmp/xmp.xcodeproj; sourceTree = "<group>"; };
F51BFB0101F724BE01D3D55B /* native_midi.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = native_midi.h; sourceTree = "<group>"; };
F59C710300D5CB5801000001 /* ReadMe.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = ReadMe.txt; sourceTree = "<group>"; };
F59C710400D5CB5801000001 /* Welcome.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = Welcome.txt; sourceTree = "<group>"; };
Expand Down Expand Up @@ -251,7 +267,9 @@
isa = PBXGroup;
children = (
F3968D71281FB5E100661875 /* config.xcconfig */,
F307A46E2B544C0F0012534B /* gme.xcodeproj */,
F3968B90281F817E00661875 /* opus.xcodeproj */,
F307A4752B544C1A0012534B /* wavpack.xcodeproj */,
F3E29D022882107B0006D108 /* xmp.xcodeproj */,
F59C70FC00D5CB5801000001 /* pkg-support */,
0153844A006D81B07F000001 /* Public Headers */,
Expand Down Expand Up @@ -354,6 +372,22 @@
name = Frameworks;
sourceTree = "<group>";
};
F307A46F2B544C0F0012534B /* Products */ = {
isa = PBXGroup;
children = (
F307A4742B544C0F0012534B /* gme.framework */,
);
name = Products;
sourceTree = "<group>";
};
F307A4762B544C1A0012534B /* Products */ = {
isa = PBXGroup;
children = (
F307A47B2B544C1A0012534B /* wavpack.framework */,
);
name = Products;
sourceTree = "<group>";
};
F3968B91281F817E00661875 /* Products */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -544,10 +578,18 @@
productRefGroup = 034768DDFF38A45A11DB9C8B /* Products */;
projectDirPath = "";
projectReferences = (
{
ProductGroup = F307A46F2B544C0F0012534B /* Products */;
ProjectRef = F307A46E2B544C0F0012534B /* gme.xcodeproj */;
},
{
ProductGroup = F3968B91281F817E00661875 /* Products */;
ProjectRef = F3968B90281F817E00661875 /* opus.xcodeproj */;
},
{
ProductGroup = F307A4762B544C1A0012534B /* Products */;
ProjectRef = F307A4752B544C1A0012534B /* wavpack.xcodeproj */;
},
{
ProductGroup = F3E29D032882107B0006D108 /* Products */;
ProjectRef = F3E29D022882107B0006D108 /* xmp.xcodeproj */;
Expand All @@ -563,6 +605,20 @@
/* End PBXProject section */

/* Begin PBXReferenceProxy section */
F307A4742B544C0F0012534B /* gme.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
path = gme.framework;
remoteRef = F307A4732B544C0F0012534B /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
F307A47B2B544C1A0012534B /* wavpack.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
path = wavpack.framework;
remoteRef = F307A47A2B544C1A0012534B /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
F3968B97281F817E00661875 /* opus.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
Expand Down
14 changes: 12 additions & 2 deletions Xcode/config.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
// Include any optional config for this build
#include? "build.xcconfig"

// Uncomment these lines to enable Game_Music_Emu support
// If you do this, you should run external/download.sh to download the decode libraries and add gme.framework to your application bundle.
//GME_PREPROCESSOR_DEFINITIONS = MUSIC_GME
//GME_FRAMEWORK_LDFLAGS = -weak_framework gme

// Uncomment these lines to enable native MIDI support on OSX
//MIDI_PREPROCESSOR_DEFINITIONS[sdk=macosx*] = MUSIC_MID_NATIVE

Expand All @@ -21,5 +26,10 @@
//OPUS_PREPROCESSOR_DEFINITIONS = MUSIC_OPUS
//OPUS_FRAMEWORK_LDFLAGS = -weak_framework opus

CONFIG_PREPROCESSOR_DEFINITIONS = $(inherited) $(MIDI_PREPROCESSOR_DEFINITIONS) $(MOD_PREPROCESSOR_DEFINITIONS) $(OPUS_PREPROCESSOR_DEFINITIONS)
CONFIG_FRAMEWORK_LDFLAGS = $(inherited) $(MIDI_FRAMEWORK_LDFLAGS) $(MOD_FRAMEWORK_LDFLAGS) $(OPUS_FRAMEWORK_LDFLAGS)
// Uncomment these lines to enable WavPack support
// If you do this, you should run external/download.sh to download the decode libraries and add wavpack.framework to your application bundle.
//WAVPACK_PREPROCESSOR_DEFINITIONS = MUSIC_WAVPACK MUSIC_WAVPACK_DSD
//WAVPACK_FRAMEWORK_LDFLAGS = -weak_framework wavpack

CONFIG_PREPROCESSOR_DEFINITIONS = $(inherited) $(GME_PREPROCESSOR_DEFINITIONS) $(MIDI_PREPROCESSOR_DEFINITIONS) $(MOD_PREPROCESSOR_DEFINITIONS) $(OPUS_PREPROCESSOR_DEFINITIONS) $(WAVPACK_PREPROCESSOR_DEFINITIONS)
CONFIG_FRAMEWORK_LDFLAGS = $(inherited) $(GME_FRAMEWORK_LDFLAGS) $(MIDI_FRAMEWORK_LDFLAGS) $(MOD_FRAMEWORK_LDFLAGS) $(OPUS_FRAMEWORK_LDFLAGS) $(WAVPACK_FRAMEWORK_LDFLAGS)
Loading

0 comments on commit 6b682a2

Please sign in to comment.