poco/PageCompiler/File2Page/build.gradle
2017-10-31 09:07:53 +01:00

30 lines
686 B
Groovy

project(":PageCompiler:File2Page") {
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'
}
}
}
}
}