poco/Encodings/samples/build.gradle
zosrothko d993fb09b7 Poco 1.9.0: Additional fixes for PDF and Encodings (#2169)
* 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
2018-02-18 10:29:48 -06:00

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" }