diff --git a/tools/xcode/templates/SFML/SFML App.xctemplate/ResourcePath.hpp b/tools/xcode/templates/SFML/SFML App.xctemplate/ResourcePath.hpp index 10e8c60a..17be41ee 100644 --- a/tools/xcode/templates/SFML/SFML App.xctemplate/ResourcePath.hpp +++ b/tools/xcode/templates/SFML/SFML App.xctemplate/ResourcePath.hpp @@ -1,8 +1,8 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007-2013 Marco Antognini (antognini.marco@gmail.com), -// Laurent Gomila (laurent.gom@gmail.com), +// Copyright (C) 2007-2013 Marco Antognini (antognini.marco@gmail.com), +// Laurent Gomila (laurent.gom@gmail.com), // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. @@ -37,7 +37,7 @@ /// \return The path to the resource folder associate /// with the main bundle or an empty string is there is no bundle. /// -//////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////// std::string resourcePath(void); #endif diff --git a/tools/xcode/templates/SFML/SFML App.xctemplate/ResourcePath.mm b/tools/xcode/templates/SFML/SFML App.xctemplate/ResourcePath.mm index 30d47c14..d25c1d3c 100644 --- a/tools/xcode/templates/SFML/SFML App.xctemplate/ResourcePath.mm +++ b/tools/xcode/templates/SFML/SFML App.xctemplate/ResourcePath.mm @@ -1,8 +1,8 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007-2013 Marco Antognini (antognini.marco@gmail.com), -// Laurent Gomila (laurent.gom@gmail.com), +// Copyright (C) 2007-2013 Marco Antognini (antognini.marco@gmail.com), +// Laurent Gomila (laurent.gom@gmail.com), // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. @@ -33,10 +33,10 @@ std::string resourcePath(void) { NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init]; - + std::string rpath; NSBundle* bundle = [NSBundle mainBundle]; - + if (bundle == nil) { #ifdef DEBUG NSLog(@"bundle is nil... thus no resources path can be found."); @@ -45,8 +45,8 @@ std::string resourcePath(void) NSString* path = [bundle resourcePath]; rpath = [path UTF8String] + std::string("/"); } - + [pool drain]; - + return rpath; } diff --git a/tools/xcode/templates/SFML/SFML Bundle.xctemplate/TemplateInfo.plist b/tools/xcode/templates/SFML/SFML Bundle.xctemplate/TemplateInfo.plist index 48138a70..a06be6f4 100644 --- a/tools/xcode/templates/SFML/SFML Bundle.xctemplate/TemplateInfo.plist +++ b/tools/xcode/templates/SFML/SFML Bundle.xctemplate/TemplateInfo.plist @@ -55,7 +55,7 @@ subject to the following restrictions: ___PACKAGENAME___-Info.plist:Content - Definitions diff --git a/tools/xcode/templates/SFML/SFML CLT.xctemplate/TemplateInfo.plist b/tools/xcode/templates/SFML/SFML CLT.xctemplate/TemplateInfo.plist index 2c481f77..ba01e204 100644 --- a/tools/xcode/templates/SFML/SFML CLT.xctemplate/TemplateInfo.plist +++ b/tools/xcode/templates/SFML/SFML CLT.xctemplate/TemplateInfo.plist @@ -3,9 +3,9 @@ @@ -75,7 +75,7 @@ subject to the following restrictions: Path main.cpp - + cute_image.jpg @@ -109,7 +109,7 @@ subject to the following restrictions: Resources - + diff --git a/tools/xcode/templates/SFML/SFML Compiler.xctemplate/TemplateInfo.plist b/tools/xcode/templates/SFML/SFML Compiler.xctemplate/TemplateInfo.plist index fb1e2d62..c23bf8e9 100644 --- a/tools/xcode/templates/SFML/SFML Compiler.xctemplate/TemplateInfo.plist +++ b/tools/xcode/templates/SFML/SFML Compiler.xctemplate/TemplateInfo.plist @@ -60,7 +60,7 @@ subject to the following restrictions: Default C++98 with Clang and libstdc++ - + NotPersisted @@ -94,7 +94,7 @@ subject to the following restrictions: - + C++98 with Clang and libstdc++ @@ -104,16 +104,16 @@ subject to the following restrictions: GCC_VERSION com.apple.compilers.llvm.clang.1_0 - + CLANG_CXX_LANGUAGE_STANDARD c++98 - + CLANG_CXX_LIBRARY libstdc++ - + C++11 with Clang and libc++ @@ -123,10 +123,10 @@ subject to the following restrictions: GCC_VERSION com.apple.compilers.llvm.clang.1_0 - + CLANG_CXX_LANGUAGE_STANDARD c++0x - + CLANG_CXX_LIBRARY libc++ @@ -147,7 +147,7 @@ subject to the following restrictions: Default Universal - + NotPersisted @@ -168,7 +168,7 @@ subject to the following restrictions: - + 64 bits @@ -208,7 +208,7 @@ subject to the following restrictions: SUPPORTED_PLATFORMS macosx - + GCC_WARN_ABOUT_RETURN_TYPE @@ -242,8 +242,8 @@ subject to the following restrictions: GCC_PREPROCESSOR_DEFINITIONS DEBUG=1 $(inherited) - - + + ONLY_ACTIVE_ARCH NO @@ -261,7 +261,7 @@ subject to the following restrictions: Targets diff --git a/tools/xcode/templates/SFML/SFML Linker.xctemplate/TemplateInfo.plist b/tools/xcode/templates/SFML/SFML Linker.xctemplate/TemplateInfo.plist index a636d30d..e07e7f0a 100644 --- a/tools/xcode/templates/SFML/SFML Linker.xctemplate/TemplateInfo.plist +++ b/tools/xcode/templates/SFML/SFML Linker.xctemplate/TemplateInfo.plist @@ -3,9 +3,9 @@ @@ -41,7 +41,7 @@ subject to the following restrictions: Kind Xcode.Xcode3.ProjectTemplateUnitKind - + @@ -84,7 +84,7 @@ subject to the following restrictions: - + Dylibs @@ -100,7 +100,7 @@ subject to the following restrictions: - + Dylibs (debug) @@ -130,7 +130,7 @@ subject to the following restrictions: - + Identifier @@ -162,7 +162,7 @@ subject to the following restrictions: - + false @@ -215,7 +215,7 @@ subject to the following restrictions: - + false @@ -262,7 +262,7 @@ subject to the following restrictions: - + false @@ -309,7 +309,7 @@ subject to the following restrictions: - + false @@ -325,7 +325,7 @@ subject to the following restrictions: - + @@ -348,11 +348,11 @@ subject to the following restrictions: SFML_LINK_SUFFIX $(SFML_LINK_$(SFML_BINARY_TYPE)_SUFFIX) - + SFML_SYSTEM $(SFML_LINK_PREFIX)sfml-system$(SFML_LINK_SUFFIX) - + OTHER_LDFLAGS $(inherited) $(SFML_SYSTEM) $(SFML_WINDOW) $(SFML_GRAPHICS) $(SFML_AUDIO) $(SFML_NETWORK)