Remove project spec

This commit is contained in:
Francis ANDRE 2018-09-25 08:50:25 +02:00
parent db76f4e970
commit a2d47d351a

View File

@ -1,37 +1,35 @@
project(":PDF") {
model {
components {
PDF(NativeLibrarySpec) {
sources {
c {
source {
srcDir 'src'
include '**/*.c'
}
exportedHeaders {
srcDirs 'include', 'include/Poco/PDF'
}
model {
components {
PDF(NativeLibrarySpec) {
sources {
c {
source {
srcDir 'src'
include '**/*.c'
}
cpp {
source {
srcDir 'src'
include '**/*.cpp'
}
exportedHeaders {
srcDirs 'include', 'include/Poco/PDF'
}
lib project: ':Util', library: 'Util'
lib project: ':XML', library: 'XML'
lib project: ':Foundation', library: 'Foundation'
exportedHeaders {
srcDirs 'include', 'include/Poco/PDF'
}
}
cpp {
source {
srcDir 'src'
include '**/*.cpp'
}
exportedHeaders {
srcDirs 'include', 'include/Poco/PDF'
}
lib project: ':Util', library: 'Util'
lib project: ':XML', library: 'XML'
lib project: ':Foundation', library: 'Foundation'
}
}
}
binaries {
withType(SharedLibraryBinarySpec) {
if (toolChain in VisualCpp) {
cppCompiler.define "PDF_EXPORTS"
}
}
binaries {
withType(SharedLibraryBinarySpec) {
if (toolChain in VisualCpp) {
cppCompiler.define "PDF_EXPORTS"
}
}
}