From cc4a5e2d48b8edd506c30a3982df2458cb1352cb Mon Sep 17 00:00:00 2001 From: Marco Antognini Date: Sun, 22 Apr 2012 16:01:31 +0200 Subject: [PATCH] Improved Xcode Templates (close #212) --- .../TemplateInfo.plist | 62 ++++++++++++++++-- .../TemplateInfo.plist | 63 +++++++++++++++++-- 2 files changed, 116 insertions(+), 9 deletions(-) diff --git a/tools/xcode/templates/SFML/SFML Application Base.xctemplate/TemplateInfo.plist b/tools/xcode/templates/SFML/SFML Application Base.xctemplate/TemplateInfo.plist index 330f40a7b..480cf42ac 100644 --- a/tools/xcode/templates/SFML/SFML Application Base.xctemplate/TemplateInfo.plist +++ b/tools/xcode/templates/SFML/SFML Application Base.xctemplate/TemplateInfo.plist @@ -43,9 +43,9 @@ subject to the following restrictions: Options - + Identifier - libraryType + useFrameworks Name Use frameworks Description @@ -55,7 +55,7 @@ subject to the following restrictions: SortOrder 1 Default - false + true Units @@ -98,7 +98,59 @@ subject to the following restrictions: - + + + + + Identifier + useDebug + Name + Use debug dylibs in debug mode + Description + Checking this setting requires the use of dylibs instead of frameworks. It will link the project against the debug version of SFML when you build your project for debugging. It is recommended to leave this unchecked. + Type + checkbox + SortOrder + 1 + Default + false + RequiredOptions + + useFrameworks + false + + Units + + + true + + + Project + + SharedSettings + + SFML_LINK_DYLIBS_SUFFIX_DEBUG + -d + + + + + + false + + + Project + + SharedSettings + + SFML_LINK_DYLIBS_SUFFIX_DEBUG + + + + + + + @@ -619,7 +671,7 @@ while (window.isOpen()) Debug SFML_LINK_DYLIBS_SUFFIX - -d + $(SFML_LINK_DYLIBS_SUFFIX_DEBUG) OTHER_LDFLAGS $(OTHER_LDFLAGS) $(SFML_SYSTEM) $(SFML_WINDOW) $(SFML_GRAPHICS) $(SFML_AUDIO) $(SFML_NETWORK) diff --git a/tools/xcode/templates/SFML/SFML Command Line Tool Base.xctemplate/TemplateInfo.plist b/tools/xcode/templates/SFML/SFML Command Line Tool Base.xctemplate/TemplateInfo.plist index 40fc20218..a43b06412 100644 --- a/tools/xcode/templates/SFML/SFML Command Line Tool Base.xctemplate/TemplateInfo.plist +++ b/tools/xcode/templates/SFML/SFML Command Line Tool Base.xctemplate/TemplateInfo.plist @@ -45,7 +45,7 @@ subject to the following restrictions: Identifier - libraryType + useFrameworks Name Use frameworks Description @@ -55,7 +55,7 @@ subject to the following restrictions: SortOrder 1 Default - false + true Units @@ -98,7 +98,59 @@ subject to the following restrictions: - + + + + + Identifier + useDebug + Name + Use debug dylibs in debug mode + Description + Checking this setting requires the use of dylibs instead of frameworks. It will link the project against the debug version of SFML when you build your project for debugging. It is recommended to leave this unchecked. + Type + checkbox + SortOrder + 1 + Default + false + RequiredOptions + + useFrameworks + false + + Units + + + true + + + Project + + SharedSettings + + SFML_LINK_DYLIBS_SUFFIX_DEBUG + -d + + + + + + false + + + Project + + SharedSettings + + SFML_LINK_DYLIBS_SUFFIX_DEBUG + + + + + + + @@ -410,6 +462,9 @@ music.play(); main.cpp:main:audio:content + + main.cpp:main:audio_loop + @@ -613,7 +668,7 @@ while (window.isOpen()) Debug SFML_LINK_DYLIBS_SUFFIX - -d + $(SFML_LINK_DYLIBS_SUFFIX_DEBUG) OTHER_LDFLAGS $(OTHER_LDFLAGS) $(SFML_SYSTEM) $(SFML_WINDOW) $(SFML_GRAPHICS) $(SFML_AUDIO) $(SFML_NETWORK)