Files
wlan-cloud-lib-poco/NetSSL_OpenSSL/build.gradle
Francis ANDRE d3dbac877e Making each module a NuGet package does not work properly
when unloading modules with NuGet
2018-03-20 09:56:52 +01:00

41 lines
748 B
Groovy

model {
components {
NetSSL(NativeLibrarySpec) {
sources {
rc {
source {
srcDir '..'
include 'DLLVersion.rc'
}
}
cpp {
source {
srcDir 'src'
include '**/*.cpp'
}
exportedHeaders {
srcDir 'include'
}
lib library: 'ssl'
lib library: 'crypto'
lib project: ':Crypto', library: 'Crypto'
lib project: ':Net', library: 'Net'
lib project: ':Util', library: 'Util'
lib project: ':Foundation', library: 'Foundation'
}
}
}
}
binaries {
withType(SharedLibraryBinarySpec) {
if (toolChain in VisualCpp) {
cppCompiler.define "NetSSL_EXPORTS"
}
}
withType(StaticLibraryBinarySpec) {
}
}
}
task poco { dependsOn "assemble" }