mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-14 02:57:45 +01:00
d993fb09b7
* Update gradle for the Encodings module Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr> * Add new PDF c++ files to VS projects * Update gradle build
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" }
|
|
|
|
|