mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-15 03:21:09 +01:00
28 lines
664 B
Groovy
28 lines
664 B
Groovy
model {
|
|
components {
|
|
Benchmark(NativeExecutableSpec) {
|
|
sources {
|
|
cpp.source { srcDir 'Benchmark/src' include '**/*.cpp' }
|
|
cpp.lib project: ':JSON', library: 'JSON'
|
|
cpp.lib project: ':Foundation', library: 'Foundation'
|
|
}
|
|
}
|
|
}
|
|
binaries {
|
|
all {
|
|
}
|
|
withType(SharedLibraryBinarySpec) {
|
|
lib project: ':Foundation', library: 'Foundation', linkage: 'shared'
|
|
}
|
|
withType(StaticLibraryBinarySpec) {
|
|
lib project: ':Foundation', library: 'Foundation', linkage: 'static'
|
|
}
|
|
withType(NativeExecutableSpec) {
|
|
lib project: ':Foundation', library: 'Foundation', linkage: 'static'
|
|
}
|
|
}
|
|
}
|
|
task samples { dependsOn "assemble" }
|
|
|
|
|