More accurate host- and cross- target separations.
This commit is contained in:
committed by
alexander-gorshenev
parent
e895c0939c
commit
a856b0d9ce
+8
-6
@@ -1,15 +1,17 @@
|
||||
import org.jetbrains.kotlin.CompilePerTarget
|
||||
import org.jetbrains.kotlin.CompileCppToBitcode
|
||||
|
||||
// TODO: consider using some Gradle plugins to build and test
|
||||
|
||||
task compileHash(type: CompilePerTarget) {
|
||||
name 'hash'
|
||||
targetList targetList
|
||||
targetArgs targetArgs
|
||||
targetList.each { targetName ->
|
||||
task ("${targetName}Hash", type: CompileCppToBitcode) {
|
||||
name 'hash'
|
||||
target targetName
|
||||
compilerArgs targetArgs[targetName]
|
||||
}
|
||||
}
|
||||
|
||||
task build {
|
||||
dependsOn compileHash
|
||||
dependsOn hostHash
|
||||
}
|
||||
|
||||
task clean << {
|
||||
|
||||
Reference in New Issue
Block a user