mirror of
https://github.com/pocoproject/poco.git
synced 2025-07-03 09:15:21 +02:00

* Backport of feature-gradle Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr> * Replace '/' by '\' to comply with DOS path Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr> * Cleanup Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr> * Put environment setting at the Exec task. Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr> * Use standard release Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr> * Updated mkdoc configuration Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr> * Remove lines guarded by POCO_ENABLE_CPP11 Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr> * Merge remote-tracking branch 'origin/develop' into develop * Fix NuGet & Wix input dependencies file set. Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr> * Remaining fixes for Data2SQL switch. * Use $global:LastExitCode instead of a local LastExitCode
70 lines
2.2 KiB
Groovy
70 lines
2.2 KiB
Groovy
model {
|
|
components {
|
|
Binding(NativeExecutableSpec) {
|
|
sources {
|
|
cpp.source { srcDir 'Binding/src' include '**/*.cpp' }
|
|
cpp.lib project: ':SQL', library: 'SQL'
|
|
cpp.lib project: ':SQL:SQLite', library: 'SQLSQLite'
|
|
cpp.lib project: ':Foundation', library: 'Foundation'
|
|
}
|
|
}
|
|
RecordSet(NativeExecutableSpec) {
|
|
sources {
|
|
cpp.source { srcDir 'RecordSet/src' include '**/*.cpp' }
|
|
cpp.lib project: ':SQL', library: 'SQL'
|
|
cpp.lib project: ':SQL:SQLite', library: 'SQLSQLite'
|
|
cpp.lib project: ':Foundation', library: 'Foundation'
|
|
}
|
|
}
|
|
RowFormatter(NativeExecutableSpec) {
|
|
sources {
|
|
cpp.source { srcDir 'RowFormatter/src' include '**/*.cpp' }
|
|
cpp.lib project: ':SQL', library: 'SQL'
|
|
cpp.lib project: ':SQL:SQLite', library: 'SQLSQLite'
|
|
cpp.lib project: ':Foundation', library: 'Foundation'
|
|
}
|
|
}
|
|
Tuple(NativeExecutableSpec) {
|
|
sources {
|
|
cpp.source { srcDir 'Tuple/src' include '**/*.cpp' }
|
|
cpp.lib project: ':SQL', library: 'SQL'
|
|
cpp.lib project: ':SQL:SQLite', library: 'SQLSQLite'
|
|
cpp.lib project: ':Foundation', library: 'Foundation'
|
|
}
|
|
}
|
|
TypeHandler(NativeExecutableSpec) {
|
|
sources {
|
|
cpp.source { srcDir 'TypeHandler/src' include '**/*.cpp' }
|
|
cpp.lib project: ':SQL', library: 'SQL'
|
|
cpp.lib project: ':SQL:SQLite', library: 'SQLSQLite'
|
|
cpp.lib project: ':Foundation', library: 'Foundation'
|
|
}
|
|
}
|
|
WebNotifier(NativeExecutableSpec) {
|
|
sources {
|
|
cpp.source { srcDir 'WebNotifier/src' include '**/*.cpp' }
|
|
cpp.lib project: ':SQL', library: 'SQL'
|
|
cpp.lib project: ':SQL:SQLite', library: 'SQLSQLite'
|
|
cpp.lib project: ':Net', library: 'Net'
|
|
cpp.lib project: ':Foundation', library: 'Foundation'
|
|
}
|
|
}
|
|
}
|
|
binaries {
|
|
all {
|
|
}
|
|
withType(SharedLibraryBinarySpec) {
|
|
lib project: ':Foundation', library: 'Foundation', linkage: 'shared'
|
|
}
|
|
withType(StaticLibraryBinarySpec) {
|
|
lib project: ':Foundation', library: 'Foundation', linkage: 'static'
|
|
}
|
|
withType(NativeExecutableSpec) {
|
|
lib project: ':Foundation', library: 'Foundation', linkage: 'static'
|
|
}
|
|
}
|
|
}
|
|
task samples { dependsOn "assemble" }
|
|
|
|
|