Skip to content

Commit

Permalink
Improve Xcode templates : now you can target 10.5 without headache !
Browse files Browse the repository at this point in the history
  • Loading branch information
mantognini committed Jan 21, 2013
1 parent 13eb867 commit 802b937
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
Expand Up @@ -70,16 +70,29 @@ subject to the following restrictions:
<key>Units</key> <key>Units</key>
<dict> <dict>
<!-- Use GCC and libstdc++ --> <!-- Use GCC and libstdc++ -->
<key>C++98 with GCC and libstdc++</key> <key>C++98 with GCC and libstdc++ and target 10.5</key>
<dict> <dict>
<key>Project</key> <key>Project</key>
<dict> <dict>
<key>SharedSettings</key> <key>SharedSettings</key>
<dict> <dict>
<key>GCC_VERSION</key> <key>GCC_VERSION</key>
<string>com.apple.compilers.llvmgcc42</string> <string>com.apple.compilers.llvmgcc42</string>

<key>MACOSX_DEPLOYMENT_TARGET</key>
<string>10.5</string>
</dict> </dict>
</dict> </dict>

<key>Targets</key>
<array>
<dict>
<key>Frameworks</key>
<array>
<string>Foundation</string>
</array>
</dict>
</array>
</dict> </dict>


<!-- Use Clang and libstdc++ --> <!-- Use Clang and libstdc++ -->
Expand Down Expand Up @@ -230,17 +243,17 @@ subject to the following restrictions:
<key>GCC_PREPROCESSOR_DEFINITIONS</key> <key>GCC_PREPROCESSOR_DEFINITIONS</key>
<string>DEBUG=1 $(inherited)</string> <string>DEBUG=1 $(inherited)</string>


<!-- Don't compile all arch in debug --> <!-- ALWAYS compile for all arch. -->
<key>ONLY_ACTIVE_ARCH</key> <key>ONLY_ACTIVE_ARCH</key>
<string>YES</string> <string>NO</string>
</dict> </dict>


<key>Release</key> <key>Release</key>
<dict> <dict>
<key>COPY_PHASE_STRIP</key> <key>COPY_PHASE_STRIP</key>
<string>YES</string> <string>YES</string>


<!-- Compile all arch in release --> <!-- ALWAYS compile for all arch. -->
<key>ONLY_ACTIVE_ARCH</key> <key>ONLY_ACTIVE_ARCH</key>
<string>NO</string> <string>NO</string>
</dict> </dict>
Expand Down
2 changes: 1 addition & 1 deletion tools/xcode/templates/readme.txt
Expand Up @@ -23,7 +23,7 @@ The templates were written by Marco Antognini <antognini.marco@gmail.com> and ar
Features Features
-------- --------


* You can choose between command line tool or bundle application. * You can choose between command line tool or bundle application, the latter will contains all SFML dependancies so you can run your app on another computer without manually installing SFML.
* You can choose between using SFML libraries as dylibs or frameworks. * You can choose between using SFML libraries as dylibs or frameworks.
* You can choose your compiler and C++ standard library / dialect. * You can choose your compiler and C++ standard library / dialect.
* You can choose with SFML module you want to use into your project. * You can choose with SFML module you want to use into your project.
Expand Down

0 comments on commit 802b937

Please sign in to comment.