Moved clang flags out of the root build.gardle.
Collected clang args in ClangArgs.kt Switched dependencies/build.gradle to KonanTarget. Introduced KonanProperties to take care of target specific properties.
This commit is contained in:
committed by
alexander-gorshenev
parent
1d532729a8
commit
55c4966203
+1
-2
@@ -22,12 +22,11 @@ targetList.each { targetName ->
|
||||
task ("${targetName}Hash", type: CompileCppToBitcode) {
|
||||
name 'hash'
|
||||
target targetName
|
||||
compilerArgs targetArgs[targetName]
|
||||
}
|
||||
}
|
||||
|
||||
task build {
|
||||
dependsOn "${host}Hash"
|
||||
dependsOn "${hostName}Hash"
|
||||
}
|
||||
|
||||
task clean {
|
||||
|
||||
Reference in New Issue
Block a user