Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
modified template build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Holmes Futrell committed Aug 18, 2008
1 parent 1af5a2a commit dc08de4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 23 deletions.
7 changes: 3 additions & 4 deletions XCodeiPhoneOS/SDL/SDLiPhoneOS.xcodeproj/hfutrell.mode1v3
Expand Up @@ -231,8 +231,6 @@
<key>Layout</key>
<array>
<dict>
<key>BecomeActive</key>
<true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXBottomSmartGroupGIDs</key>
Expand Down Expand Up @@ -277,7 +275,6 @@
<key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key>
<array>
<array>
<integer>11</integer>
<integer>8</integer>
<integer>5</integer>
</array>
Expand Down Expand Up @@ -315,6 +312,8 @@
<key>Dock</key>
<array>
<dict>
<key>BecomeActive</key>
<true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXProjectModuleGUID</key>
Expand All @@ -332,7 +331,7 @@
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
<string>FD7E212A0E59F3F300D876C9</string>
<string>FD7E212D0E59F65800D876C9</string>
<key>history</key>
<array>
<string>FD3F49A60DEA5B7200C5B771</string>
Expand Down
13 changes: 12 additions & 1 deletion XCodeiPhoneOS/SDL/SDLiPhoneOS.xcodeproj/hfutrell.pbxuser
Expand Up @@ -369,6 +369,7 @@
FD7A1F320E1983FB00F069E4 = FD7A1F320E1983FB00F069E4 /* PBXTextBookmark */;
FD7E21210E59F37600D876C9 /* PBXTextBookmark */ = FD7E21210E59F37600D876C9 /* PBXTextBookmark */;
FD7E212A0E59F3F300D876C9 /* PBXTextBookmark */ = FD7E212A0E59F3F300D876C9 /* PBXTextBookmark */;
FD7E212D0E59F65800D876C9 /* PBXTextBookmark */ = FD7E212D0E59F65800D876C9 /* PBXTextBookmark */;
FD831A360E0CEBD300AD337D = FD831A360E0CEBD300AD337D /* PBXTextBookmark */;
FD831A370E0CEBD300AD337D = FD831A370E0CEBD300AD337D /* PBXTextBookmark */;
FD831A3E0E0CEBD300AD337D = FD831A3E0E0CEBD300AD337D /* PBXTextBookmark */;
Expand Down Expand Up @@ -3724,6 +3725,16 @@
vrLen = 1627;
vrLoc = 0;
};
FD7E212D0E59F65800D876C9 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = FD99B8D30DD52EB400FB1D6B /* SDL_config_macosx.h */;
name = "SDL_config_macosx.h: 6";
rLen = 0;
rLoc = 155;
rType = 0;
vrLen = 1627;
vrLoc = 0;
};
FD831A360E0CEBD300AD337D /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = FDA685F60DF244C800F98A1A /* SDL_nullevents_c.h */;
Expand Down Expand Up @@ -4146,7 +4157,7 @@
FD99B8D30DD52EB400FB1D6B /* SDL_config_macosx.h */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {864, 1750}}";
sepNavSelRange = "{1017, 18}";
sepNavSelRange = "{155, 0}";
sepNavVisRange = "{0, 1627}";
};
};
Expand Down
19 changes: 1 addition & 18 deletions XCodeiPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj
Expand Up @@ -1227,7 +1227,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# clean up the framework, remove headers, extra files\n\ntemp=$BUILD_DIR/$BUILD_STYLE-template\ndest=\"/Developer/Platforms/iPhoneOS.platform/Developer/Library/XCode/Project Templates/SDL\"\ntemplate_dir_name=\"SDL Application\"\n\n# mkdir -p $dest\nmkdir -p $temp\nmkdir -p \"$temp/$template_dir_name/lib/\"\nmkdir -p \"$temp/$template_dir_name/include\"\n\n#copy template\ncp -r \"../template/$template_dir_name\" $temp/\n\n#copy iPhone OS library\ncp -r $BUILD_DIR/$BUILD_STYLE-iphoneos/libSDLiPhoneOS.a \"$temp/$template_dir_name/lib/\"\n\n#copy iPhone Simulator Lib\ncp -r $BUILD_DIR/$BUILD_STYLE-iphonesimulator/libSDLSimulator.a \"$temp/$template_dir_name/lib/\"\n\n#copy headers\nrsync --exclude=*.svn -r ../../include/*.h \"$temp/$template_dir_name/include\"\n\n#install (nah, don't install)\n# cp -fr \"$temp/$template_dir_name\" \"$dest\"";
shellScript = "# clean up the framework, remove headers, extra files\n\ntemp=$BUILD_DIR/$BUILD_STYLE-template\ndest=\"/Developer/Platforms/iPhoneOS.platform/Developer/Library/XCode/Project Templates/SDL\"\ntemplate_dir_name=\"SDL Application\"\n\n# mkdir -p $dest\nmkdir -p $temp\nmkdir -p \"$temp/$template_dir_name/lib/\"\nmkdir -p \"$temp/$template_dir_name/include\"\n\n#copy template\nrsync --exclude=*.svn -r \"../template/$template_dir_name\" $temp/\n\n#copy iPhone OS library\nrsync --exclude=*.svn -r $BUILD_DIR/$BUILD_STYLE-iphoneos/libSDLiPhoneOS.a \"$temp/$template_dir_name/lib/\"\n\n#copy iPhone Simulator Lib\nrsync --exclude=*.svn -r $BUILD_DIR/$BUILD_STYLE-iphonesimulator/libSDLSimulator.a \"$temp/$template_dir_name/lib/\"\n\n#copy headers\nrsync --exclude=*.svn -r ../../include/*.h \"$temp/$template_dir_name/include\"\n\n#install (nah, don't install)\n# cp -fr \"$temp/$template_dir_name\" \"$dest\"";
};
/* End PBXShellScriptBuildPhase section */

Expand Down Expand Up @@ -1481,29 +1481,12 @@
FDB043B40E2689CC00F5B3F9 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = (
i386,
armv6,
);
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
PRODUCT_NAME = template;
};
name = Debug;
};
FDB043B50E2689CC00F5B3F9 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = (
i386,
armv6,
);
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_ENABLE_FIX_AND_CONTINUE = NO;
PRODUCT_NAME = template;
ZERO_LINK = NO;
};
name = Release;
};
Expand Down

0 comments on commit dc08de4

Please sign in to comment.