mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-15 03:21:09 +01:00
36 lines
531 B
Groovy
36 lines
531 B
Groovy
model {
|
|
components {
|
|
Data(NativeLibrarySpec) {
|
|
sources {
|
|
rc {
|
|
source {
|
|
srcDir '..'
|
|
include 'DLLVersion.rc'
|
|
}
|
|
}
|
|
cpp {
|
|
source {
|
|
srcDir 'src'
|
|
include '**/*.cpp'
|
|
}
|
|
exportedHeaders {
|
|
srcDir 'include'
|
|
}
|
|
lib project: ':Foundation', library: 'Foundation'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
binaries {
|
|
all {
|
|
}
|
|
withType(SharedLibraryBinarySpec) {
|
|
if (toolChain in VisualCpp) {
|
|
cppCompiler.define "Data_EXPORTS"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
task poco { dependsOn "assemble" }
|
|
|