Remove C++ dialect & std lib selection from Xcode templates

This commit is contained in:
Marco Antognini 2018-03-12 07:32:51 +01:00 committed by Lukas Dürrenberger
parent 949e7aecae
commit fc02cf004a
2 changed files with 18 additions and 80 deletions

View file

@ -44,74 +44,6 @@ subject to the following restrictions:
<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
-->
@ -123,6 +55,16 @@ subject to the following restrictions:
<key>SUPPORTED_PLATFORMS</key>
<string>macosx</string>
<!-- Compiler & std lib -->
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>CLANG_CXX_LANGUAGE_STANDARD</key>
<string>c++11</string>
<key>CLANG_CXX_LIBRARY</key>
<string>libc++</string>
<!-- ARCHITECTURES -->
<key>ARCHS</key>
<string>@XCODE_TEMPLATES_ARCH@</string>