Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Improve Xcode templates : now you can target 10.5 without headache !

  • Loading branch information...
commit 802b9378cbb41ea46055b05050e99fd097d579bf 1 parent 13eb867
@mantognini mantognini authored
View
21 tools/xcode/templates/SFML/SFML Compiler.xctemplate/TemplateInfo.plist
@@ -70,7 +70,7 @@ subject to the following restrictions:
<key>Units</key>
<dict>
<!-- 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>
<key>Project</key>
<dict>
@@ -78,8 +78,21 @@ subject to the following restrictions:
<dict>
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvmgcc42</string>
+
+ <key>MACOSX_DEPLOYMENT_TARGET</key>
+ <string>10.5</string>
</dict>
</dict>
+
+ <key>Targets</key>
+ <array>
+ <dict>
+ <key>Frameworks</key>
+ <array>
+ <string>Foundation</string>
+ </array>
+ </dict>
+ </array>
</dict>
<!-- Use Clang and libstdc++ -->
@@ -230,9 +243,9 @@ subject to the following restrictions:
<key>GCC_PREPROCESSOR_DEFINITIONS</key>
<string>DEBUG=1 $(inherited)</string>
- <!-- Don't compile all arch in debug -->
+ <!-- ALWAYS compile for all arch. -->
<key>ONLY_ACTIVE_ARCH</key>
- <string>YES</string>
+ <string>NO</string>
</dict>
<key>Release</key>
@@ -240,7 +253,7 @@ subject to the following restrictions:
<key>COPY_PHASE_STRIP</key>
<string>YES</string>
- <!-- Compile all arch in release -->
+ <!-- ALWAYS compile for all arch. -->
<key>ONLY_ACTIVE_ARCH</key>
<string>NO</string>
</dict>
View
2  tools/xcode/templates/readme.txt
@@ -23,7 +23,7 @@ The templates were written by Marco Antognini <antognini.marco@gmail.com> and ar
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 your compiler and C++ standard library / dialect.
* You can choose with SFML module you want to use into your project.
Please sign in to comment.
Something went wrong with that request. Please try again.