@@ -42,7 +42,7 @@ model {
|
|||||||
binaries.withType(StaticLibraryBinarySpec) { binary ->
|
binaries.withType(StaticLibraryBinarySpec) { binary ->
|
||||||
if (!project.parent.convention.plugins.platformInfo.isWindows())
|
if (!project.parent.convention.plugins.platformInfo.isWindows())
|
||||||
cppCompiler.args "-fPIC"
|
cppCompiler.args "-fPIC"
|
||||||
cppCompiler.args "--std=c++14", "-g", "-I${llvmDir}/include"
|
cppCompiler.args "--std=c++11", "-g", "-I${llvmDir}/include"
|
||||||
if (isEnabled) {
|
if (isEnabled) {
|
||||||
cppCompiler.args '-DLIBCLANGEXT_ENABLE=1'
|
cppCompiler.args '-DLIBCLANGEXT_ENABLE=1'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user