poco/PageCompiler/File2Page/build.gradle
2018-09-25 08:42:10 +02:00

29 lines
622 B
Groovy

model {
components {
File2page(NativeExecutableSpec) {
baseName 'f2pc'
sources {
cpp {
source {
srcDir 'src'
include '**/*.cpp'
}
exportedHeaders {
srcDir 'include'
}
lib project: ':Net', library: 'Net'
lib project: ':Util', library: 'Util'
lib project: ':Foundation', library: 'Foundation'
}
}
binaries.withType(NativeExecutableSpec) {
lib project: ':Net', library: 'Net', linkage: 'shared'
lib project: ':Util', library: 'Util', linkage: 'shared'
lib project: ':Foundation', library: 'Foundation', linkage: 'shared'
}
}
}
}