Commit dd026ff0 authored by Thibault Wittemberg's avatar Thibault Wittemberg

build: use C++14 language dialect

This commit makes the ios client compliant with C++14

Change-Id: I32934146c21a1ed26adc60789b0f5180aaef5b89
parent cfe0eba3
......@@ -1255,7 +1255,8 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LANGUAGE_STANDARD = "c++14";
CLANG_CXX_LIBRARY = "compiler-default";
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
......@@ -1284,7 +1285,8 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LANGUAGE_STANDARD = "c++14";
CLANG_CXX_LIBRARY = "compiler-default";
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
......
......@@ -120,7 +120,7 @@ do
CFLAGS+=" -O3"
fi
CXXFLAGS="-stdlib=libc++ $CFLAGS"
CXXFLAGS="-stdlib=libc++ -std=c++14 $CFLAGS"
LDFLAGS="$CFLAGS"
./autogen.sh || exit 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment