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: <string>___PACKAGENAME___-Info.plist:Content</string> </array> - <!-- + <!-- DEFINITIONS --> <key>Definitions</key> 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 @@ <!-- 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. @@ -17,10 +17,10 @@ subject to the following restrictions: you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. - + 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. - + 3. This notice may not be removed or altered from any source distribution. --> @@ -75,7 +75,7 @@ subject to the following restrictions: <key>Path</key> <string>main.cpp</string> </dict> - + <!-- RESOURCES --> <key>cute_image.jpg</key> <dict> @@ -109,7 +109,7 @@ subject to the following restrictions: <string>Resources</string> </dict> </dict> - + <!-- TARGET --> 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: <key>Default</key> <string>C++98 with Clang and libstdc++</string> - + <key>NotPersisted</key> <true /> @@ -94,7 +94,7 @@ subject to the following restrictions: </dict> </array> </dict> - + <!-- Use Clang and libstdc++ --> <key>C++98 with Clang and libstdc++</key> <dict> @@ -104,16 +104,16 @@ subject to the following restrictions: <dict> <key>GCC_VERSION</key> <string>com.apple.compilers.llvm.clang.1_0</string> - + <key>CLANG_CXX_LANGUAGE_STANDARD</key> <string>c++98</string> - + <key>CLANG_CXX_LIBRARY</key> <string>libstdc++</string> </dict> </dict> </dict> - + <!-- Use Clang and libc++ --> <key>C++11 with Clang and libc++</key> <dict> @@ -123,10 +123,10 @@ subject to the following restrictions: <dict> <key>GCC_VERSION</key> <string>com.apple.compilers.llvm.clang.1_0</string> - + <key>CLANG_CXX_LANGUAGE_STANDARD</key> <string>c++0x</string> - + <key>CLANG_CXX_LIBRARY</key> <string>libc++</string> </dict> @@ -147,7 +147,7 @@ subject to the following restrictions: <key>Default</key> <string>Universal</string> - + <key>NotPersisted</key> <true /> @@ -168,7 +168,7 @@ subject to the following restrictions: </dict> </dict> </dict> - + <!-- Support 64 bits --> <key>64 bits</key> <dict> @@ -208,7 +208,7 @@ subject to the following restrictions: <!-- PLATFORM --> <key>SUPPORTED_PLATFORMS</key> <string>macosx</string> - + <!-- WARNINGS --> <!-- TODO add more warnings --> <key>GCC_WARN_ABOUT_RETURN_TYPE</key> @@ -242,8 +242,8 @@ subject to the following restrictions: <key>GCC_PREPROCESSOR_DEFINITIONS</key> <string>DEBUG=1 $(inherited)</string> - - <!-- ALWAYS compile for all arch. --> + + <!-- ALWAYS compile for all arch. --> <key>ONLY_ACTIVE_ARCH</key> <string>NO</string> </dict> @@ -261,7 +261,7 @@ subject to the following restrictions: </dict> <!-- - TARGET + TARGET --> <key>Targets</key> <array> 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 @@ <!-- 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. @@ -17,10 +17,10 @@ subject to the following restrictions: you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. - + 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. - + 3. This notice may not be removed or altered from any source distribution. --> @@ -41,7 +41,7 @@ subject to the following restrictions: <key>Kind</key> <string>Xcode.Xcode3.ProjectTemplateUnitKind</string> - + <!-- OPTIONS --> @@ -84,7 +84,7 @@ subject to the following restrictions: </dict> </dict> </dict> - + <!-- Use dylibs --> <key>Dylibs</key> <dict> @@ -100,7 +100,7 @@ subject to the following restrictions: </dict> </dict> </dict> - + <!-- Use dylibs (debug) --> <key>Dylibs (debug)</key> <dict> @@ -130,7 +130,7 @@ subject to the following restrictions: </dict> </dict> </dict> - + <!-- WINDOW MODULE --> <dict> <key>Identifier</key> @@ -162,7 +162,7 @@ subject to the following restrictions: </dict> </dict> </dict> - + <!-- WINDOW MODULE : NO --> <key>false</key> <dict> @@ -215,7 +215,7 @@ subject to the following restrictions: </dict> </dict> </dict> - + <!-- GRAPHICS MODULE : NO --> <key>false</key> <dict> @@ -262,7 +262,7 @@ subject to the following restrictions: </dict> </dict> </dict> - + <!-- AUDIO MODULE : NO --> <key>false</key> <dict> @@ -309,7 +309,7 @@ subject to the following restrictions: </dict> </dict> </dict> - + <!-- NETWORK MODULE : NO --> <key>false</key> <dict> @@ -325,7 +325,7 @@ subject to the following restrictions: </dict> </dict> </array> - + <!-- SETTINGS --> @@ -348,11 +348,11 @@ subject to the following restrictions: <key>SFML_LINK_SUFFIX</key> <string>$(SFML_LINK_$(SFML_BINARY_TYPE)_SUFFIX)</string> - + <!-- SFML SYSTEM : always used --> <key>SFML_SYSTEM</key> <string>$(SFML_LINK_PREFIX)sfml-system$(SFML_LINK_SUFFIX)</string> - + <!-- LINKER FLAGS --> <key>OTHER_LDFLAGS</key> <string>$(inherited) $(SFML_SYSTEM) $(SFML_WINDOW) $(SFML_GRAPHICS) $(SFML_AUDIO) $(SFML_NETWORK)</string>