2017-10-31 09:07:53 +01:00
|
|
|
project(":PDF") {
|
|
|
|
model {
|
|
|
|
components {
|
|
|
|
PDF(NativeLibrarySpec) {
|
|
|
|
sources {
|
|
|
|
c {
|
|
|
|
source {
|
|
|
|
srcDir 'src'
|
|
|
|
include '**/*.c'
|
|
|
|
}
|
|
|
|
exportedHeaders {
|
|
|
|
srcDirs 'include', 'include/Poco/PDF'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
cpp {
|
|
|
|
source {
|
|
|
|
srcDir 'src'
|
|
|
|
include '**/*.cpp'
|
|
|
|
}
|
|
|
|
exportedHeaders {
|
|
|
|
srcDirs 'include', 'include/Poco/PDF'
|
|
|
|
}
|
|
|
|
lib project: ':Util', library: 'Util'
|
2018-02-18 17:29:48 +01:00
|
|
|
lib project: ':XML', library: 'XML'
|
2017-10-31 09:07:53 +01:00
|
|
|
lib project: ':Foundation', library: 'Foundation'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
binaries {
|
|
|
|
withType(SharedLibraryBinarySpec) {
|
|
|
|
if (toolChain in VisualCpp) {
|
|
|
|
cppCompiler.define "PDF_EXPORTS"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
task poco { dependsOn "assemble" }
|
|
|
|
|