summaryrefslogtreecommitdiff
path: root/tools/xcode/templates/SFML/SFML Compiler.xctemplate/TemplateInfo.plist
diff options
context:
space:
mode:
Diffstat (limited to 'tools/xcode/templates/SFML/SFML Compiler.xctemplate/TemplateInfo.plist')
-rw-r--r--tools/xcode/templates/SFML/SFML Compiler.xctemplate/TemplateInfo.plist288
1 files changed, 288 insertions, 0 deletions
diff --git a/tools/xcode/templates/SFML/SFML Compiler.xctemplate/TemplateInfo.plist b/tools/xcode/templates/SFML/SFML Compiler.xctemplate/TemplateInfo.plist
new file mode 100644
index 0000000..fb1e2d6
--- /dev/null
+++ b/tools/xcode/templates/SFML/SFML Compiler.xctemplate/TemplateInfo.plist
@@ -0,0 +1,288 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+
+<!--
+SFML - Simple and Fast Multimedia Library
+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.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it freely,
+subject to the following restrictions:
+
+1. The origin of this software must not be misrepresented;
+ 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.
+ -->
+
+<!--
+ This template defines :
+ - the compiler & std lib
+ - the supported arch
+ - some other target's settings (e.g. warnings flags)
+ - the search paths
+ -->
+
+<plist version="1.0">
+ <dict>
+ <!--
+ BASIC INFO
+ -->
+ <key>Identifier</key>
+ <string>org.sfml-dev.compiler</string>
+
+ <key>Kind</key>
+ <string>Xcode.Xcode3.ProjectTemplateUnitKind</string>
+
+ <!--
+ OPTIONS
+ -->
+ <key>Options</key>
+ <array>
+ <dict>
+ <key>Identifier</key>
+ <string>compilerSettingsType</string>
+
+ <key>Name</key>
+ <string>[ADVANCED] C++ Compiler and Standard Library</string>
+
+ <key>Description</key>
+ <string>If you don't know what is it about, use the default value. Note that you'll need a version of SFML compiled with Clang and libc++ to use C++11 !</string>
+
+ <key>Default</key>
+ <string>C++98 with Clang and libstdc++</string>
+
+ <key>NotPersisted</key>
+ <true />
+
+ <key>Type</key>
+ <string>popup</string>
+
+ <key>Units</key>
+ <dict>
+ <!-- Use GCC and libstdc++ -->
+ <key>C++98 with GCC and libstdc++ and target 10.5</key>
+ <dict>
+ <key>Project</key>
+ <dict>
+ <key>SharedSettings</key>
+ <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++ -->
+ <key>C++98 with Clang and libstdc++</key>
+ <dict>
+ <key>Project</key>
+ <dict>
+ <key>SharedSettings</key>
+ <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>
+ <key>Project</key>
+ <dict>
+ <key>SharedSettings</key>
+ <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>
+ </dict>
+ </dict>
+ </dict>
+ </dict>
+
+ <dict>
+ <key>Identifier</key>
+ <string>archType</string>
+
+ <key>Name</key>
+ <string>[ADVANCED] Architectures</string>
+
+ <key>Description</key>
+ <string>Choose which architecture(s) you want to support</string>
+
+ <key>Default</key>
+ <string>Universal</string>
+
+ <key>NotPersisted</key>
+ <true />
+
+ <key>Type</key>
+ <string>popup</string>
+
+ <key>Units</key>
+ <dict>
+ <!-- Support 32 + 64 bits -->
+ <key>Universal</key>
+ <dict>
+ <key>Project</key>
+ <dict>
+ <key>SharedSettings</key>
+ <dict>
+ <key>ARCHS</key>
+ <string>$(ARCHS_STANDARD_32_64_BIT)</string>
+ </dict>
+ </dict>
+ </dict>
+
+ <!-- Support 64 bits -->
+ <key>64 bits</key>
+ <dict>
+ <key>Project</key>
+ <dict>
+ <key>SharedSettings</key>
+ <dict>
+ <key>ARCHS</key>
+ <string>$(ARCHS_STANDARD_64_BIT)</string>
+ </dict>
+ </dict>
+ </dict>
+
+ <!-- Support 32 bits -->
+ <key>32 bits</key>
+ <dict>
+ <key>Project</key>
+ <dict>
+ <key>SharedSettings</key>
+ <dict>
+ <key>ARCHS</key>
+ <string>$(ARCHS_STANDARD_32_BIT)</string>
+ </dict>
+ </dict>
+ </dict>
+ </dict>
+ </dict>
+ </array>
+
+ <!--
+ SETTINGS
+ -->
+ <key>Project</key>
+ <dict>
+ <key>SharedSettings</key>
+ <dict
+ <!-- PLATFORM -->
+ <key>SUPPORTED_PLATFORMS</key>
+ <string>macosx</string>
+
+ <!-- WARNINGS -->
+ <!-- TODO add more warnings -->
+ <key>GCC_WARN_ABOUT_RETURN_TYPE</key>
+ <string>YES</string>
+ <key>GCC_WARN_UNINITIALIZED_AUTOS</key>
+ <string>YES</string>
+ <key>GCC_WARN_UNUSED_VARIABLE</key>
+ <string>YES</string>
+ <key>CLANG_WARN__DUPLICATE_METHOD_MATCH</key>
+ <string>YES</string>
+ <key>CLANG_WARN_EMPTY_BODY</key>
+ <string>YES</string>
+
+ <!-- SERACH PATHS -->
+ <key>FRAMEWORK_SEARCH_PATHS</key>
+ <string> /Library/Frameworks/ $(inherited) </string>
+
+ <key>HEADER_SEARCH_PATHS</key>
+ <string> /usr/local/include/ $(inherited) </string>
+
+ <key>LIBRARY_SEARCH_PATHS</key>
+ <string> /usr/local/lib/ $(inherited) </string>
+ </dict>
+
+ <key>Configurations</key>
+ <dict>
+ <key>Debug</key>
+ <dict>
+ <key>GCC_OPTIMIZATION_LEVEL</key>
+ <string>0</string>
+
+ <key>GCC_PREPROCESSOR_DEFINITIONS</key>
+ <string>DEBUG=1 $(inherited)</string>
+
+ <!-- ALWAYS compile for all arch. -->
+ <key>ONLY_ACTIVE_ARCH</key>
+ <string>NO</string>
+ </dict>
+
+ <key>Release</key>
+ <dict>
+ <key>COPY_PHASE_STRIP</key>
+ <string>YES</string>
+
+ <!-- ALWAYS compile for all arch. -->
+ <key>ONLY_ACTIVE_ARCH</key>
+ <string>NO</string>
+ </dict>
+ </dict>
+ </dict>
+
+ <!--
+ TARGET
+ -->
+ <key>Targets</key>
+ <array>
+ <dict>
+ <key>Name</key>
+ <string>___PACKAGENAME___</string>
+
+ <key>SharedSettings</key>
+ <dict>
+ <key>PRODUCT_NAME</key>
+ <string>$(TARGET_NAME)</string>
+ </dict>
+
+ <key>Configurations</key>
+ <dict>
+ <key>Debug</key>
+ <dict />
+ <key>Release</key>
+ <dict />
+ </dict>
+ </dict>
+ </array>
+ </dict>
+</plist>