Enable C++17 (#4623)

This commit is contained in:
Alexander Shabalin
2021-01-14 19:16:53 +03:00
committed by Nikolay Krasko
parent ee9c2f0e33
commit a362742a37
15 changed files with 28 additions and 61 deletions
@@ -37,7 +37,7 @@ model {
binaries.withType(StaticLibraryBinarySpec) { binary ->
if (!project.parent.convention.plugins.platformInfo.isWindows())
cppCompiler.args "-fPIC"
cppCompiler.args "--std=c++14", "-I${llvmDir}/include", "-I${projectDir}/src/main/include"
cppCompiler.args "--std=c++17", "-I${llvmDir}/include", "-I${projectDir}/src/main/include"
if (isMac()) {
cppCompiler.args "-DKONAN_MACOS=1"
} else if (isWindows()) {