mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-14 02:57:45 +01:00
29 lines
720 B
Groovy
29 lines
720 B
Groovy
|
model {
|
||
|
components {
|
||
|
SQLToMongo(NativeExecutableSpec) {
|
||
|
sources {
|
||
|
cpp.source { srcDir 'SQLToMongo/src' include '**/*.cpp' }
|
||
|
cpp.lib project: ':MongoDB', library: 'MongoDB'
|
||
|
cpp.lib project: ':Net', library: 'Net'
|
||
|
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" }
|
||
|
|
||
|
|