Improved Xcode templates

This commit is contained in:
Marco Antognini 2012-07-16 17:34:26 +02:00
parent 68494d0dbb
commit bdfc2dc3f5
2 changed files with 9 additions and 3 deletions

View File

@ -68,6 +68,9 @@ subject to the following restrictions:
<dict> <dict>
<key>SFML_BINARY_TYPE</key> <key>SFML_BINARY_TYPE</key>
<string>FRAMEWORKS</string> <string>FRAMEWORKS</string>
<key>SFML_LINK_DYLIBS_SUFFIX_DEBUG</key>
<string></string>
</dict> </dict>
</dict> </dict>
</dict> </dict>
@ -616,7 +619,7 @@ while (window.isOpen())
<key>main.cpp:main:audio_loop</key> <key>main.cpp:main:audio_loop</key>
<string>while (music.getStatus() == sf::Music::Playing) { <string>while (music.getStatus() == sf::Music::Playing) {
sf::Sleep(100); sf::sleep(sf::microseconds(100));
}</string> }</string>
</dict> </dict>
@ -742,7 +745,7 @@ require () # $1 is a SFML module like 'system' or 'audio'
if [ "$frameworks" = "true" ] if [ "$frameworks" = "true" ]
then then
ditto "/Library/Frameworks/sfml-$1.framework" "$dest/sfml-$1.framework" ditto "/Library/Frameworks/sfml-$1.framework" "$dest/sfml-$1.framework"
elif [ $CONFIGURATION = "Debug" ] && [ $SFML_LINK_DYLIBS_SUFFIX_DEBUG != "" ] elif [ $CONFIGURATION = "Debug" ] &amp;&amp; [ $SFML_LINK_DYLIBS_SUFFIX_DEBUG != "" ]
then then
ditto "/usr/local/lib/libsfml-$1-d.2.dylib" "$dest/libsfml-$1-d.2.dylib" ditto "/usr/local/lib/libsfml-$1-d.2.dylib" "$dest/libsfml-$1-d.2.dylib"
else else

View File

@ -68,6 +68,9 @@ subject to the following restrictions:
<dict> <dict>
<key>SFML_BINARY_TYPE</key> <key>SFML_BINARY_TYPE</key>
<string>FRAMEWORKS</string> <string>FRAMEWORKS</string>
<key>SFML_LINK_DYLIBS_SUFFIX_DEBUG</key>
<string></string>
</dict> </dict>
</dict> </dict>
</dict> </dict>
@ -613,7 +616,7 @@ while (window.isOpen())
<key>main.cpp:main:audio_loop</key> <key>main.cpp:main:audio_loop</key>
<string>while (music.getStatus() == sf::Music::Playing) { <string>while (music.getStatus() == sf::Music::Playing) {
sf::Sleep(100); sf::sleep(sf::microseconds(100));
}</string> }</string>
</dict> </dict>