Updated Xcode templates readme

Now that cmake is used to configure the template we cannot simply copy the templates to /Library. Using cmake to build the template is mandatory.
This commit is contained in:
Marco Antognini 2014-04-20 22:07:16 +02:00
parent 6e3103464a
commit f6edb83acd
2 changed files with 3 additions and 12 deletions

View File

@ -1,6 +0,0 @@
#!/bin/sh
# Install SFML templates for Xcode 4 into /Library/Developer/Xcode/Templates/
mkdir -p /Library/Developer/Xcode/Templates/
cp -R "$(dirname $0)/SFML" /Library/Developer/Xcode/Templates/

View File

@ -49,10 +49,7 @@ You should also be familiar with Xcode. If needed checkout this document: http:/
Install
-------
If you are building SFML from sources you can set CMake's INSTALL_XCODE4_TEMPLATES variable to TRUE to install the templates automatically. Otherwise proceed as follow :
1. Make sure "/Library/Developer/Xcode/Templates/" folder exists;
2. Copy "SFML" folder into the above folder.
The 'install.sh' script in the same directory as this readme does that for you.
If you are building SFML from sources you can set CMake's INSTALL_XCODE4_TEMPLATES variable to TRUE to install the templates automatically.
@ -61,8 +58,8 @@ Usage
To use these templates follow these steps :
1. open Xcode,
2. select "create a new Xcode project" from the "Welcome to Xcode" window or select menus File > New > New Project,
1. open Xcode,
2. select "create a new Xcode project" from the "Welcome to Xcode" window or select menus File > New > New Project,
3. select "SFML" subsection under "Mac OS X" on the left,
4. then select either "SFML App", if you want an application bundle, or "SFML CLT", if you prefer a classic Unix executable,
5. fill in the requested information and you're ready to go !