mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-15 03:21:09 +01:00
50 lines
1.6 KiB
Groovy
50 lines
1.6 KiB
Groovy
|
model {
|
||
|
components {
|
||
|
data(NativeExecutableSpec) {
|
||
|
sources {
|
||
|
cpp.source { srcDir 'data/src' include '**/*.cpp' }
|
||
|
cpp.lib project: ':XML', library: 'XML', linkage: 'shared'
|
||
|
cpp.lib project: ':Foundation', library: 'Foundation', linkage: 'shared'
|
||
|
}
|
||
|
}
|
||
|
DOMParser(NativeExecutableSpec) {
|
||
|
sources {
|
||
|
cpp.source { srcDir 'DOMParser/src' include '**/*.cpp' }
|
||
|
cpp.lib project: ':XML', library: 'XML', linkage: 'shared'
|
||
|
cpp.lib project: ':Foundation', library: 'Foundation', linkage: 'shared'
|
||
|
}
|
||
|
}
|
||
|
DOMWriter(NativeExecutableSpec) {
|
||
|
sources {
|
||
|
cpp.source { srcDir 'DOMWriter/src' include '**/*.cpp' }
|
||
|
cpp.lib project: ':XML', library: 'XML', linkage: 'shared'
|
||
|
cpp.lib project: ':Foundation', library: 'Foundation', linkage: 'shared'
|
||
|
}
|
||
|
}
|
||
|
PrettyPrint(NativeExecutableSpec) {
|
||
|
sources {
|
||
|
cpp.source { srcDir 'PrettyPrint/src' include '**/*.cpp' }
|
||
|
cpp.lib project: ':XML', library: 'XML', linkage: 'shared'
|
||
|
cpp.lib project: ':Foundation', library: 'Foundation', linkage: 'shared'
|
||
|
}
|
||
|
}
|
||
|
// RoundTrip(NativeExecutableSpec) {
|
||
|
// sources {
|
||
|
// cpp.source { srcDir 'RoundTrip/src' include '**/*.cpp' }
|
||
|
// cpp.lib project: ':XML', library: 'XML', linkage: 'shared'
|
||
|
// cpp.lib project: ':Foundation', library: 'Foundation', linkage: 'shared'
|
||
|
// }
|
||
|
// }
|
||
|
SAXParser(NativeExecutableSpec) {
|
||
|
sources {
|
||
|
cpp.source { srcDir 'SAXParser/src' include '**/*.cpp' }
|
||
|
cpp.lib project: ':XML', library: 'XML', linkage: 'shared'
|
||
|
cpp.lib project: ':Foundation', library: 'Foundation', linkage: 'shared'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
task samples { dependsOn "assemble" }
|
||
|
|
||
|
|