User Tools

Site Tools


en:tutorials:setup_xcode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:tutorials:setup_xcode [2018/06/12 04:55 (6 years ago)] sausageen:tutorials:setup_xcode [2018/06/12 04:59 (6 years ago)] (current) – This tutorial is now replaced with http://orx-project.org/wiki/en/orx/mac/setting_up_a_project_on_mac Massive thanks to grey for originally supplying it. sausage
Line 1: Line 1:
-<WRAP center round box 80%> 
-This page is very old and will be removed. A new Xcode 9 document will replace this. 
-</WRAP> 
  
- 
-This is simple tutorial for Xcode users. You will learn how to configure Xcode and create basic Skeleton application. Download Mac developer package from [[https://github.com/orx/orx/releases|GitHub]] and exctract it somewhere. 
- 
-Now, create new Xcode project,  choose Application -> Command line tool -> C++ STD C++ template. 
- 
- 
-Now enter your project directory and create directories bin (where your executables will be stored), lib (for libraries) and inc (includes). Build is optional, because XCode creates it and we don't need it now. 
- 
- 
-Open your extracted ORX archive and copy liborx.dylib (liborxd.dylib for debug is optional) from lib dir into our lib dir and bin dir. Same with include dir into our inc dir. 
- 
-Open up Xcode. Now we need to link directories with Xcode project. Right click on blue icon with your projet name and select Add -> Existing files. Select lib folder in your project directory and link it with your project (without copiing files becuase we already have them where we want to) and do the same for inc dir. You should finish up with something like this. 
- 
- 
-At last, we need to do some project configuration magic. Select Project -> Edit Project Setting from menu. This will open you project configurator. Config your project as on screenshots. 
- 
-{{tutorials:community:xcode-config.png}} {{tutorials:community:xcode-config2.png}} 
- 
-You should have your project prepaired for compiling ORX projects. You can now continue to [[en:tutorials:community:grey:tutorial2|Basic StandAlone tutorial]] and try it up. Just remember to put .ini files into build directory. 
- 
-Or if you are too lazy, you can {{tutorials:community:skeleton.zip|download my Skeleton}}. 
en/tutorials/setup_xcode.1528804540.txt.gz · Last modified: 2018/06/12 07:55 (6 years ago) (external edit)