mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-09 11:17:31 +01:00
31 lines
892 B
Groovy
31 lines
892 B
Groovy
|
model {
|
||
|
components {
|
||
|
TextConverter(NativeExecutableSpec) {
|
||
|
sources {
|
||
|
cpp.source { srcDir 'TextConverter/src' include '**/*.cpp' }
|
||
|
cpp.lib project: ':Encodings', library: 'Encodings'
|
||
|
cpp.lib project: ':Foundation', library: 'Foundation'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
binaries {
|
||
|
all {
|
||
|
}
|
||
|
withType(SharedLibraryBinarySpec) {
|
||
|
lib project: ':Encodings', library: 'Encodings', linkage: 'shared'
|
||
|
lib project: ':Foundation', library: 'Foundation', linkage: 'shared'
|
||
|
}
|
||
|
withType(StaticLibraryBinarySpec) {
|
||
|
lib project: ':Encodings', library: 'Encodings', linkage: 'static'
|
||
|
lib project: ':Foundation', library: 'Foundation', linkage: 'static'
|
||
|
}
|
||
|
withType(NativeExecutableSpec) {
|
||
|
lib project: ':Encodings', library: 'Encodings', linkage: 'static'
|
||
|
lib project: ':Foundation', library: 'Foundation', linkage: 'static'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
task samples { dependsOn "assemble" }
|
||
|
|
||
|
|