comparison README.MacOSX @ 207:c03846dd489b

Added Darrell Walisser's updated project-builder projects
author Sam Lantinga <slouken@libsdl.org>
date Tue, 16 Oct 2001 14:55:59 +0000
parents 2ad0957f6265
children 50620ec9c86a
comparison
equal deleted inserted replaced
206:b69bb2a368a0 207:c03846dd489b
141 the "New Project" and "Add target" menus. What could be easier? 141 the "New Project" and "Add target" menus. What could be easier?
142 142
143 - Setting up a new project by hand 143 - Setting up a new project by hand
144 Some of you won't want to use the Stationary so I'll give some tips: 144 Some of you won't want to use the Stationary so I'll give some tips:
145 * Create a new "Cocoa Application" 145 * Create a new "Cocoa Application"
146 * Add src/main/macosx/SDL_main.m , .h and .nib to your project 146 * Add src/main/macosx/SDLMain.m , .h and .nib to your project
147 * Remove "main.c" from your project 147 * Remove "main.c" from your project
148 * Remove "MainMenu.nib" from your project 148 * Remove "MainMenu.nib" from your project
149 * Add "$(HOME)/Library/Frameworks/SDL.framework/Headers" to include path 149 * Add "$(HOME)/Library/Frameworks/SDL.framework/Headers" to include path
150 * Add "$(HOME)/Library/Frameworks" to the frameworks search path 150 * Add "$(HOME)/Library/Frameworks" to the frameworks search path
151 * Add "-framework SDL" to the "OTHER_LDFLAGS" variable 151 * Add "-framework SDL -framework Foundation -framework AppKit" to "OTHER_LDFLAGS"
152 * Set the "Main Nib File" under "Application Settings" to "SDL_main.nib" 152 * Set the "Main Nib File" under "Application Settings" to "SDLMain.nib"
153 * Add your files 153 * Add your files
154 * Clean and build 154 * Clean and build
155 155
156 - Building from command line 156 - Building from command line
157 Use pbxbuild in the same directory as your .pbproj file 157 Use pbxbuild in the same directory as your .pbproj file
172 starts up and the libraries finish loading, a Cocoa procedure is called, 172 starts up and the libraries finish loading, a Cocoa procedure is called,
173 which sets up the working directory and calls your main() method. 173 which sets up the working directory and calls your main() method.
174 You are free to modify your Cocoa app with generally no consequence 174 You are free to modify your Cocoa app with generally no consequence
175 to SDL. You cannot, however, easily change the SDL window itself. 175 to SDL. You cannot, however, easily change the SDL window itself.
176 Functionality may be added in the future to help this. 176 Functionality may be added in the future to help this.
177 * My development setup: 177
178 I am using version 1.0.1 (v63.0) of Project Builder on MacOS X 10.0.3, 178
179 from the Developer Tools CD for May 2001.
180 As of May 31 2001, Apple hasn't released this version of the tools to the public,
181 but I expect that things will still work on older versions.
182
183 Known bugs are listed in the file "BUGS" 179 Known bugs are listed in the file "BUGS"
184 LocalWords: Stuffit