You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
392 B
Kotlin
19 lines
392 B
Kotlin
plugins {
|
|
`cpp-application`
|
|
}
|
|
|
|
application {
|
|
targetMachines.set(listOf(machines.linux.x86_64, machines.macOS.x86_64))
|
|
dependencies {
|
|
implementation(project(":aosp:libsparse:sparse"))
|
|
}
|
|
}
|
|
|
|
tasks.withType(LinkExecutable::class.java).configureEach {
|
|
linkerArgs.add("-lz")
|
|
}
|
|
|
|
tasks.withType(CppCompile::class.java).configureEach {
|
|
compilerArgs.add("-std=c++17")
|
|
}
|