mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-28 23:24:09 +02:00
Remove project spec
This commit is contained in:
parent
1b6941762d
commit
db76f4e970
@ -1,29 +1,28 @@
|
|||||||
project(":PageCompiler:File2Page") {
|
model {
|
||||||
model {
|
components {
|
||||||
components {
|
File2page(NativeExecutableSpec) {
|
||||||
File2page(NativeExecutableSpec) {
|
baseName 'f2pc'
|
||||||
baseName 'f2pc'
|
sources {
|
||||||
sources {
|
cpp {
|
||||||
cpp {
|
source {
|
||||||
source {
|
srcDir 'src'
|
||||||
srcDir 'src'
|
include '**/*.cpp'
|
||||||
include '**/*.cpp'
|
|
||||||
}
|
|
||||||
exportedHeaders {
|
|
||||||
srcDir 'include'
|
|
||||||
}
|
|
||||||
lib project: ':Net', library: 'Net'
|
|
||||||
lib project: ':Util', library: 'Util'
|
|
||||||
lib project: ':Foundation', library: 'Foundation'
|
|
||||||
}
|
}
|
||||||
|
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'
|
binaries.withType(NativeExecutableSpec) {
|
||||||
lib project: ':Util', library: 'Util', linkage: 'shared'
|
lib project: ':Net', library: 'Net', linkage: 'shared'
|
||||||
lib project: ':Foundation', library: 'Foundation', linkage: 'shared'
|
lib project: ':Util', library: 'Util', linkage: 'shared'
|
||||||
}
|
lib project: ':Foundation', library: 'Foundation', linkage: 'shared'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,22 +18,6 @@ model {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
binaries {
|
binaries {
|
||||||
withType(NativeExecutableBinarySpec) {
|
|
||||||
if (toolChain in VisualCpp) {
|
|
||||||
if (buildType == buildTypes.debug) {
|
|
||||||
cCompiler.args "/MDd"
|
|
||||||
cppCompiler.args "/MDd"
|
|
||||||
} else
|
|
||||||
if (buildType == buildTypes.release) {
|
|
||||||
cCompiler.args "/MD"
|
|
||||||
cppCompiler.args "/MD"
|
|
||||||
} else {
|
|
||||||
throw new GradleException("Unknown buildType" + buildType)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (toolChain in Gcc) {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
task poco { dependsOn "assemble" }
|
task poco { dependsOn "assemble" }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user