mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-23 07:12:45 +01:00
Remove project spec
This commit is contained in:
parent
1b6941762d
commit
db76f4e970
@ -1,29 +1,28 @@
|
||||
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'
|
||||
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'
|
||||
}
|
||||
}
|
||||
binaries.withType(NativeExecutableSpec) {
|
||||
lib project: ':Net', library: 'Net', linkage: 'shared'
|
||||
lib project: ':Util', library: 'Util', linkage: 'shared'
|
||||
lib project: ':Foundation', library: 'Foundation', linkage: 'shared'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -18,22 +18,6 @@ model {
|
||||
}
|
||||
}
|
||||
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" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user