<?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-2015 Marco Antognini (antognini.marco@gmail.com),
                        Laurent Gomila (laurent@sfml-dev.org)

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 (only 64 bit)
      - some other target's settings (e.g. warnings flags)
      - the search paths
      - deployment target (according to CMake build settings)
 -->

<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++11 with Clang and libc++</string>

                <key>NotPersisted</key>
                <true />

                <key>Type</key>
                <string>popup</string>

                <key>Units</key>
                <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>

        </array>

        <!--
             SETTINGS
         -->
        <key>Project</key>
        <dict>
            <key>SharedSettings</key>
            <dict>
                <!-- PLATFORM -->
                <key>SUPPORTED_PLATFORMS</key>
                <string>macosx</string>

                <!-- ARCHITECTURES -->
                <key>ARCHS</key>
                <string>@XCODE_TEMPLATES_ARCH@</string>

                <!-- DEPLOYMENT -->
                <key>MACOSX_DEPLOYMENT_TARGET</key>
                <string>@CMAKE_OSX_DEPLOYMENT_TARGET@</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>
                </dict>

                <key>Release</key>
                <dict>
                </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>
