mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-19 00:46:03 +01:00
27 lines
606 B
Groovy
27 lines
606 B
Groovy
|
model {
|
||
|
components {
|
||
|
un7zip(NativeExecutableSpec) {
|
||
|
sources {
|
||
|
cpp.source { srcDir 'dict/src' include '**/*.cpp' }
|
||
|
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" }
|
||
|
|
||
|
|