Skip to content

Commit 8ab1f87

Browse files
committed
output installer package and app bundle on osx
1 parent ebba599 commit 8ab1f87

File tree

4 files changed

+224
-25
lines changed

4 files changed

+224
-25
lines changed

src/projectM-sdl/Info.plist

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleExecutable</key>
6+
<string>projectM-SDL</string>
7+
<key>CFBundleIdentifier</key>
8+
<string>net.projectm.pmsdl</string>
9+
<key>CFBundleInfoDictionaryVersion</key>
10+
<string>6.0</string>
11+
<key>CFBundleName</key>
12+
<string>projectM-SDL</string>
13+
<key>CFBundlePackageType</key>
14+
<string>APPL</string>
15+
</dict>
16+
</plist>
17+

src/projectM-sdl/SDLprojectM.xcodeproj/project.pbxproj

Lines changed: 171 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111
1612C998207A80A200862A3A /* libRenderer.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1612C992207A807000862A3A /* libRenderer.a */; };
1212
1612C9E2207A85C100862A3A /* libMilkdropPresetFactory.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1612C9DF207A85BD00862A3A /* libMilkdropPresetFactory.a */; };
1313
1612C9E3207A85C100862A3A /* libNativePresetFactory.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1612C9E1207A85BD00862A3A /* libNativePresetFactory.a */; };
14-
165E542A20D68810004AEA81 /* presets in Resources */ = {isa = PBXBuildFile; fileRef = C307DFD31D565B57002F6B9E /* presets */; };
15-
166853F12105E2850042793A /* SDL2.framework in Copy SDL2 framework */ = {isa = PBXBuildFile; fileRef = 166853F02105E2850042793A /* SDL2.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
14+
168F7154211248C1001806E7 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 168F715221124893001806E7 /* Info.plist */; };
15+
168F7156211248E4001806E7 /* SDLprojectM in Executable */ = {isa = PBXBuildFile; fileRef = C34521441BF02294001707D2 /* SDLprojectM */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
16+
168F715921124C0E001806E7 /* config.inp in Support files */ = {isa = PBXBuildFile; fileRef = 16B52AAA21105A6900830F34 /* config.inp */; };
17+
168F715A21124C14001806E7 /* fonts in Support files */ = {isa = PBXBuildFile; fileRef = C3D30B8F1BF02BE5009AAACD /* fonts */; };
18+
168F715C21124CDF001806E7 /* SDL2.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 166853F02105E2850042793A /* SDL2.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1619
169502001F7009E9008FAF86 /* pmSDL.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 169501FE1F7009E9008FAF86 /* pmSDL.cpp */; };
17-
16B52AA9211054E900830F34 /* projectMSDL-pkg.plist in Resources */ = {isa = PBXBuildFile; fileRef = 16B52AA8211054E900830F34 /* projectMSDL-pkg.plist */; };
18-
16B52AAB21105A6900830F34 /* config.inp in Copy Files */ = {isa = PBXBuildFile; fileRef = 16B52AAA21105A6900830F34 /* config.inp */; };
1920
C345214F1BF022A5001707D2 /* projectM_SDL_main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C345214E1BF022A5001707D2 /* projectM_SDL_main.cpp */; };
2021
C345215C1BF025A9001707D2 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C345215B1BF025A9001707D2 /* OpenGL.framework */; };
2122
C345215E1BF025CF001707D2 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C345215D1BF025CF001707D2 /* CoreFoundation.framework */; };
@@ -25,7 +26,6 @@
2526
C34521681BF025E5001707D2 /* libGLEW.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C34521621BF025E5001707D2 /* libGLEW.a */; };
2627
C34521691BF025E5001707D2 /* libpng15.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C34521631BF025E5001707D2 /* libpng15.a */; };
2728
C345216A1BF025E5001707D2 /* libz.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C34521641BF025E5001707D2 /* libz.a */; };
28-
C3D30B901BF02BEC009AAACD /* fonts in Copy Files */ = {isa = PBXBuildFile; fileRef = C3D30B8F1BF02BE5009AAACD /* fonts */; };
2929
/* End PBXBuildFile section */
3030

3131
/* Begin PBXContainerItemProxy section */
@@ -85,18 +85,48 @@
8585
remoteGlobalIDString = 1612C9AC207A856A00862A3A;
8686
remoteInfo = NativePresetFactory;
8787
};
88+
168F714F21120496001806E7 /* PBXContainerItemProxy */ = {
89+
isa = PBXContainerItemProxy;
90+
containerPortal = C345213C1BF02293001707D2 /* Project object */;
91+
proxyType = 1;
92+
remoteGlobalIDString = C34521431BF02293001707D2;
93+
remoteInfo = SDLprojectM;
94+
};
8895
/* End PBXContainerItemProxy section */
8996

9097
/* Begin PBXCopyFilesBuildPhase section */
91-
166853EF2105E25B0042793A /* Copy SDL2 framework */ = {
98+
168F7155211248DE001806E7 /* Executable */ = {
99+
isa = PBXCopyFilesBuildPhase;
100+
buildActionMask = 2147483647;
101+
dstPath = "";
102+
dstSubfolderSpec = 6;
103+
files = (
104+
168F7156211248E4001806E7 /* SDLprojectM in Executable */,
105+
);
106+
name = Executable;
107+
runOnlyForDeploymentPostprocessing = 0;
108+
};
109+
168F715821124BFC001806E7 /* Support files */ = {
110+
isa = PBXCopyFilesBuildPhase;
111+
buildActionMask = 2147483647;
112+
dstPath = "";
113+
dstSubfolderSpec = 7;
114+
files = (
115+
168F715921124C0E001806E7 /* config.inp in Support files */,
116+
168F715A21124C14001806E7 /* fonts in Support files */,
117+
);
118+
name = "Support files";
119+
runOnlyForDeploymentPostprocessing = 0;
120+
};
121+
168F715B21124CD1001806E7 /* Frameworks */ = {
92122
isa = PBXCopyFilesBuildPhase;
93123
buildActionMask = 2147483647;
94124
dstPath = "";
95125
dstSubfolderSpec = 10;
96126
files = (
97-
166853F12105E2850042793A /* SDL2.framework in Copy SDL2 framework */,
127+
168F715C21124CDF001806E7 /* SDL2.framework in Frameworks */,
98128
);
99-
name = "Copy SDL2 framework";
129+
name = Frameworks;
100130
runOnlyForDeploymentPostprocessing = 0;
101131
};
102132
C34521421BF02293001707D2 /* Copy Files */ = {
@@ -105,8 +135,6 @@
105135
dstPath = "";
106136
dstSubfolderSpec = 16;
107137
files = (
108-
16B52AAB21105A6900830F34 /* config.inp in Copy Files */,
109-
C3D30B901BF02BEC009AAACD /* fonts in Copy Files */,
110138
);
111139
name = "Copy Files";
112140
runOnlyForDeploymentPostprocessing = 0;
@@ -118,6 +146,9 @@
118146
1612CA10207A8D2400862A3A /* shaders */ = {isa = PBXFileReference; lastKnownFileType = folder; path = shaders; sourceTree = "<group>"; };
119147
166853F02105E2850042793A /* SDL2.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL2.framework; path = ../../../../../../Library/Frameworks/SDL2.framework; sourceTree = "<group>"; };
120148
166853F22105E2CF0042793A /* SDL2.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = SDL2.framework; sourceTree = "<group>"; };
149+
168F714921120210001806E7 /* projectM SDL.app */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "projectM SDL.app"; sourceTree = BUILT_PRODUCTS_DIR; };
150+
168F714B21120211001806E7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
151+
168F715221124893001806E7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
121152
169501FE1F7009E9008FAF86 /* pmSDL.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = pmSDL.cpp; sourceTree = "<group>"; };
122153
169501FF1F7009E9008FAF86 /* pmSDL.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = pmSDL.hpp; sourceTree = "<group>"; };
123154
16B52AA8211054E900830F34 /* projectMSDL-pkg.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "projectMSDL-pkg.plist"; sourceTree = "<group>"; };
@@ -137,6 +168,13 @@
137168
/* End PBXFileReference section */
138169

139170
/* Begin PBXFrameworksBuildPhase section */
171+
168F714621120210001806E7 /* Frameworks */ = {
172+
isa = PBXFrameworksBuildPhase;
173+
buildActionMask = 2147483647;
174+
files = (
175+
);
176+
runOnlyForDeploymentPostprocessing = 0;
177+
};
140178
C34521411BF02293001707D2 /* Frameworks */ = {
141179
isa = PBXFrameworksBuildPhase;
142180
buildActionMask = 2147483647;
@@ -180,6 +218,14 @@
180218
name = Products;
181219
sourceTree = "<group>";
182220
};
221+
168F714A21120210001806E7 /* projectM-SDL */ = {
222+
isa = PBXGroup;
223+
children = (
224+
168F714B21120211001806E7 /* Info.plist */,
225+
);
226+
path = "projectM-SDL";
227+
sourceTree = "<group>";
228+
};
183229
16A42128207802AF006F30CE /* Dependencies */ = {
184230
isa = PBXGroup;
185231
children = (
@@ -196,6 +242,7 @@
196242
C345213B1BF02293001707D2 = {
197243
isa = PBXGroup;
198244
children = (
245+
168F715221124893001806E7 /* Info.plist */,
199246
16B52AAA21105A6900830F34 /* config.inp */,
200247
16B52AA8211054E900830F34 /* projectMSDL-pkg.plist */,
201248
166853F02105E2850042793A /* SDL2.framework */,
@@ -206,6 +253,7 @@
206253
C345214E1BF022A5001707D2 /* projectM_SDL_main.cpp */,
207254
C307DFD31D565B57002F6B9E /* presets */,
208255
16A42128207802AF006F30CE /* Dependencies */,
256+
168F714A21120210001806E7 /* projectM-SDL */,
209257
161070CE1F7041B0001905AB /* Frameworks */,
210258
C34521451BF02294001707D2 /* Products */,
211259
C3D30B8F1BF02BE5009AAACD /* fonts */,
@@ -216,24 +264,44 @@
216264
isa = PBXGroup;
217265
children = (
218266
C34521441BF02294001707D2 /* SDLprojectM */,
267+
168F714921120210001806E7 /* projectM SDL.app */,
219268
);
220269
name = Products;
221270
sourceTree = "<group>";
222271
};
223272
/* End PBXGroup section */
224273

225274
/* Begin PBXNativeTarget section */
275+
168F714821120210001806E7 /* projectM SDL */ = {
276+
isa = PBXNativeTarget;
277+
buildConfigurationList = 168F714C21120211001806E7 /* Build configuration list for PBXNativeTarget "projectM SDL" */;
278+
buildPhases = (
279+
168F714521120210001806E7 /* Sources */,
280+
168F714621120210001806E7 /* Frameworks */,
281+
168F714721120210001806E7 /* Resources */,
282+
168F7155211248DE001806E7 /* Executable */,
283+
168F715721124BBB001806E7 /* Copy Presets */,
284+
168F715821124BFC001806E7 /* Support files */,
285+
168F715B21124CD1001806E7 /* Frameworks */,
286+
168F715D21124CF8001806E7 /* Generate Installer Package */,
287+
);
288+
buildRules = (
289+
);
290+
dependencies = (
291+
168F715021120496001806E7 /* PBXTargetDependency */,
292+
);
293+
name = "projectM SDL";
294+
productName = "projectM-SDL";
295+
productReference = 168F714921120210001806E7 /* projectM SDL.app */;
296+
productType = "com.apple.product-type.bundle";
297+
};
226298
C34521431BF02293001707D2 /* SDLprojectM */ = {
227299
isa = PBXNativeTarget;
228300
buildConfigurationList = C345214B1BF02294001707D2 /* Build configuration list for PBXNativeTarget "SDLprojectM" */;
229301
buildPhases = (
230302
C34521401BF02293001707D2 /* Sources */,
231303
C34521411BF02293001707D2 /* Frameworks */,
232304
C34521421BF02293001707D2 /* Copy Files */,
233-
1659FEE920D67E2E00092B7D /* Run Script */,
234-
165E542920D68779004AEA81 /* Resources */,
235-
166853EF2105E25B0042793A /* Copy SDL2 framework */,
236-
16B52AA7211053B500830F34 /* Generate Installer Package */,
237305
);
238306
buildRules = (
239307
);
@@ -257,6 +325,10 @@
257325
LastUpgradeCheck = 0920;
258326
ORGANIZATIONNAME = int80;
259327
TargetAttributes = {
328+
168F714821120210001806E7 = {
329+
CreatedOnToolsVersion = 9.2;
330+
ProvisioningStyle = Automatic;
331+
};
260332
C34521431BF02293001707D2 = {
261333
CreatedOnToolsVersion = 7.1;
262334
};
@@ -281,6 +353,7 @@
281353
projectRoot = "";
282354
targets = (
283355
C34521431BF02293001707D2 /* SDLprojectM */,
356+
168F714821120210001806E7 /* projectM SDL */,
284357
);
285358
};
286359
/* End PBXProject section */
@@ -317,51 +390,58 @@
317390
/* End PBXReferenceProxy section */
318391

319392
/* Begin PBXResourcesBuildPhase section */
320-
165E542920D68779004AEA81 /* Resources */ = {
393+
168F714721120210001806E7 /* Resources */ = {
321394
isa = PBXResourcesBuildPhase;
322395
buildActionMask = 2147483647;
323396
files = (
324-
165E542A20D68810004AEA81 /* presets in Resources */,
325-
16B52AA9211054E900830F34 /* projectMSDL-pkg.plist in Resources */,
397+
168F7154211248C1001806E7 /* Info.plist in Resources */,
326398
);
327399
runOnlyForDeploymentPostprocessing = 0;
328400
};
329401
/* End PBXResourcesBuildPhase section */
330402

331403
/* Begin PBXShellScriptBuildPhase section */
332-
1659FEE920D67E2E00092B7D /* Run Script */ = {
404+
168F715721124BBB001806E7 /* Copy Presets */ = {
333405
isa = PBXShellScriptBuildPhase;
334406
buildActionMask = 2147483647;
335407
files = (
336408
);
337409
inputPaths = (
338410
"$(SRCROOT)/../../presets",
339411
);
340-
name = "Run Script";
412+
name = "Copy Presets";
341413
outputPaths = (
342-
"$(BUILT_PRODUCTS_DIR)/presets",
414+
"$(DERIVED_FILE_DIR)/presets",
343415
);
344416
runOnlyForDeploymentPostprocessing = 0;
345-
shellPath = /bin/sh;
346-
shellScript = "POUT=$BUILT_PRODUCTS_DIR/presets\nPIN=$SRCROOT/../../presets\n\nmkdir -p $POUT\ncp $PIN/presets_bltc201/* $POUT/\ncp $PIN/presets_milkdrop/* $POUT/\ncp $PIN/presets_milkdrop_104/* $POUT/\ncp $PIN/presets_milkdrop_200/* $POUT/\ncp $PIN/presets_projectM/* $POUT/\ncp $PIN/presets_stock/* $POUT/\ncp $PIN/presets_tryptonaut/* $POUT/\ncp $PIN/presets_yin/* $POUT/\necho \"Copied presets to $POUT\"";
417+
shellPath = /bin/bash;
418+
shellScript = "POUT=\"$BUILT_PRODUCTS_DIR\"/\"$CONTENTS_FOLDER_PATH/Resources/presets\"\nPIN=\"$SRCROOT\"/../../presets\n\nmkdir -p \"$POUT\"\nfor preset_dir in \"$PIN/\"*; do\n cp \"$preset_dir/\"* \"$POUT/\"\ndone\necho \"Copied presets to $POUT\"";
347419
};
348-
16B52AA7211053B500830F34 /* Generate Installer Package */ = {
420+
168F715D21124CF8001806E7 /* Generate Installer Package */ = {
349421
isa = PBXShellScriptBuildPhase;
350-
buildActionMask = 2147483647;
422+
buildActionMask = 12;
351423
files = (
352424
);
353425
inputPaths = (
354426
);
355427
name = "Generate Installer Package";
356428
outputPaths = (
429+
"$(BUILT_PRODUCTS_DIR)/projectM SDL.pkg",
357430
);
358431
runOnlyForDeploymentPostprocessing = 0;
359432
shellPath = /bin/sh;
360-
shellScript = "ls \"$CONFIGURATION_BUILD_DIR\"\n\nmkdir -p \"$DSTROOT/usr/local/share/projectM\"\nmkdir -p \"$DSTROOT/Applications/projectM\"\ncp -p \"$CONFIGURATION_BUILD_DIR/SDLprojectM\" \"$DSTROOT/Applications/projectM/SDL\"\ncp -rp \"$CONFIGURATION_BUILD_DIR/SDL2.framework\" \"$DSTROOT/Applications/projectM/\"\ncp -r \"$CONFIGURATION_BUILD_DIR\"/presets \"$DSTROOT/usr/local/share/projectM/\"\ncp -r \"$CONFIGURATION_BUILD_DIR\"/fonts \"$DSTROOT/usr/local/share/projectM/\"\ncp -f \"$CONFIGURATION_BUILD_DIR\"/config.inp \"$DSTROOT/usr/local/share/projectM/\"\n\n#install_name_tool -change @executable_path/../Frameworks/Cg.framework/Cg @loader_path/../Frameworks/SDL2.framework/SDL2 \"$DSTROOT/Library/iTunes/iTunes Plug-ins/iProjectM.bundle/Contents/MacOS/iProjectM\"\n#cp -r $CONFIGURATION_BUILD_DIR/share/* \"$DSTROOT/usr/local/share/projectM\"\n#pkgbuild --component-plist \"$SRCROOT/projectMSDL-pkg.plist\" --root \"$DSTROOT\" \"$SRCROOT/projectM.pkg\"\n";
433+
shellScript = "ls \"$CONFIGURATION_BUILD_DIR\"\n\nmkdir -p \"$DSTROOT/Applications\"\ncp -rp \"$CONFIGURATION_BUILD_DIR/projectM SDL.app\" \"$DSTROOT/Applications\"\npkgbuild --component-plist \"$SRCROOT/projectMSDL-pkg.plist\" --root \"$DSTROOT\" \"$BUILT_PRODUCTS_DIR/projectM.pkg\"\n\necho \"Created installer package $BUILT_PRODUCTS_DIR/projectM SDL.pkg\"\n";
361434
};
362435
/* End PBXShellScriptBuildPhase section */
363436

364437
/* Begin PBXSourcesBuildPhase section */
438+
168F714521120210001806E7 /* Sources */ = {
439+
isa = PBXSourcesBuildPhase;
440+
buildActionMask = 2147483647;
441+
files = (
442+
);
443+
runOnlyForDeploymentPostprocessing = 0;
444+
};
365445
C34521401BF02293001707D2 /* Sources */ = {
366446
isa = PBXSourcesBuildPhase;
367447
buildActionMask = 2147483647;
@@ -394,9 +474,64 @@
394474
name = NativePresetFactory;
395475
targetProxy = 1612C9DA207A85BD00862A3A /* PBXContainerItemProxy */;
396476
};
477+
168F715021120496001806E7 /* PBXTargetDependency */ = {
478+
isa = PBXTargetDependency;
479+
target = C34521431BF02293001707D2 /* SDLprojectM */;
480+
targetProxy = 168F714F21120496001806E7 /* PBXContainerItemProxy */;
481+
};
397482
/* End PBXTargetDependency section */
398483

399484
/* Begin XCBuildConfiguration section */
485+
168F714D21120211001806E7 /* Debug */ = {
486+
isa = XCBuildConfiguration;
487+
buildSettings = {
488+
ALWAYS_SEARCH_USER_PATHS = NO;
489+
CLANG_ANALYZER_NONNULL = YES;
490+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
491+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
492+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
493+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
494+
CODE_SIGN_IDENTITY = "-";
495+
CODE_SIGN_STYLE = Automatic;
496+
COMBINE_HIDPI_IMAGES = YES;
497+
GCC_C_LANGUAGE_STANDARD = gnu11;
498+
INFOPLIST_FILE = "projectM-SDL/Info.plist";
499+
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Bundles";
500+
MACH_O_TYPE = mh_execute;
501+
MACOSX_DEPLOYMENT_TARGET = 10.13;
502+
PRODUCT_BUNDLE_IDENTIFIER = "net.projectm.projectM-SDL";
503+
PRODUCT_NAME = "$(TARGET_NAME)";
504+
SDKROOT = macosx;
505+
SKIP_INSTALL = YES;
506+
WRAPPER_EXTENSION = app;
507+
};
508+
name = Debug;
509+
};
510+
168F714E21120211001806E7 /* Release */ = {
511+
isa = XCBuildConfiguration;
512+
buildSettings = {
513+
ALWAYS_SEARCH_USER_PATHS = NO;
514+
CLANG_ANALYZER_NONNULL = YES;
515+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
516+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
517+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
518+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
519+
CODE_SIGN_IDENTITY = "-";
520+
CODE_SIGN_STYLE = Automatic;
521+
COMBINE_HIDPI_IMAGES = YES;
522+
GCC_C_LANGUAGE_STANDARD = gnu11;
523+
INFOPLIST_FILE = "projectM-SDL/Info.plist";
524+
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Bundles";
525+
MACH_O_TYPE = mh_execute;
526+
MACOSX_DEPLOYMENT_TARGET = 10.13;
527+
PRODUCT_BUNDLE_IDENTIFIER = "net.projectm.projectM-SDL";
528+
PRODUCT_NAME = "$(TARGET_NAME)";
529+
SDKROOT = macosx;
530+
SKIP_INSTALL = YES;
531+
WRAPPER_EXTENSION = app;
532+
};
533+
name = Release;
534+
};
400535
C34521491BF02294001707D2 /* Debug */ = {
401536
isa = XCBuildConfiguration;
402537
buildSettings = {
@@ -506,6 +641,7 @@
506641
isa = XCBuildConfiguration;
507642
buildSettings = {
508643
GCC_LINK_WITH_DYNAMIC_LIBRARIES = YES;
644+
LD_RUNPATH_SEARCH_PATHS = "@executable_path/ @loader_path/../Frameworks/ @loader_path/Frameworks/";
509645
OTHER_LDFLAGS = (
510646
"-framework",
511647
SDL2,
@@ -518,6 +654,7 @@
518654
isa = XCBuildConfiguration;
519655
buildSettings = {
520656
GCC_LINK_WITH_DYNAMIC_LIBRARIES = YES;
657+
LD_RUNPATH_SEARCH_PATHS = "@executable_path/ @loader_path/../Frameworks/ @loader_path/Frameworks/";
521658
OTHER_LDFLAGS = (
522659
"-framework",
523660
SDL2,
@@ -529,6 +666,15 @@
529666
/* End XCBuildConfiguration section */
530667

531668
/* Begin XCConfigurationList section */
669+
168F714C21120211001806E7 /* Build configuration list for PBXNativeTarget "projectM SDL" */ = {
670+
isa = XCConfigurationList;
671+
buildConfigurations = (
672+
168F714D21120211001806E7 /* Debug */,
673+
168F714E21120211001806E7 /* Release */,
674+
);
675+
defaultConfigurationIsVisible = 0;
676+
defaultConfigurationName = Release;
677+
};
532678
C345213F1BF02293001707D2 /* Build configuration list for PBXProject "SDLprojectM" */ = {
533679
isa = XCConfigurationList;
534680
buildConfigurations = (

0 commit comments

Comments
 (0)