mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 18:45:10 +01:00
34 lines
633 B
Groovy
34 lines
633 B
Groovy
project(":CppUnit/WinTestRunner") {
|
|
model {
|
|
components {
|
|
PocoWinTestRunner(NativeExecutableSpec) {
|
|
sources {
|
|
cpp {
|
|
source {
|
|
srcDir 'src'
|
|
include '**/*.cpp'
|
|
}
|
|
exportedHeaders {
|
|
srcDir 'include'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
binaries {
|
|
all {
|
|
}
|
|
withType(SharedLibraryBinarySpec) {
|
|
lib project: ':CppUnit', library: 'PocoCppUnit', linkage: 'shared'
|
|
if (toolChain in VisualCpp) {
|
|
cppCompiler.define "WinTestRunner_EXPORTS"
|
|
}
|
|
}
|
|
withType(StaticLibraryBinarySpec) {
|
|
lib project: ':CppUnit', library: 'PocoCppUnit', linkage: 'static'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|