mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 18:45:10 +01:00
28 lines
667 B
Groovy
28 lines
667 B
Groovy
model {
|
|
components {
|
|
genrsakey(NativeExecutableSpec) {
|
|
sources {
|
|
cpp.source { srcDir 'genrsakey/src' include '**/*.cpp' }
|
|
cpp.lib project: ':Crypto', library: 'Crypto'
|
|
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 sample { dependsOn "assemble" }
|
|
|
|
|