diff --git a/PageCompiler/File2Page/build.gradle b/PageCompiler/File2Page/build.gradle index 9b6e79957..f42a643e5 100644 --- a/PageCompiler/File2Page/build.gradle +++ b/PageCompiler/File2Page/build.gradle @@ -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' } } } } + diff --git a/PageCompiler/build.gradle b/PageCompiler/build.gradle index 314c23f08..90ae7e0ee 100644 --- a/PageCompiler/build.gradle +++ b/PageCompiler/build.gradle @@ -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" }