Minor pocoDoc cleanup

This commit is contained in:
Francis ANDRE 2019-03-11 20:51:02 +01:00
parent 34a13c4213
commit 546cd6972f

View File

@ -931,15 +931,12 @@ task PocoDocIni {
includes += ",-ISevenZip/include" includes += ",-ISevenZip/include"
includes += ",-IPDF/include" includes += ",-IPDF/include"
def file = new File("$rootDir/PocoDoc/PocoDoc.ini") def file = new File("$rootDir/PocoDoc/PocoDoc.ini");file.createNewFile()
file.createNewFile() file << "Includes=${includes}"
file.text = "Includes=${includes}" file << '\n' << "PocoBuild=$rootDir"
file.text += """ file << '\n' << "PocoBase=$rootDir"
PocoBuild=$rootDir file << '\n' << "PocoDoc.output=releases/poco-${version}-all-doc"
PocoBase=$rootDir file << '\n' << "PocoDoc.version=${version}-all"
PocoDoc.output=releases/poco-${version}-all-doc
PocoDoc.version=${version}-all
"""
if (os.windows) { if (os.windows) {
def String VCHome = VCHome + "\\Tools\\MSVC\\$VCSerial" def String VCHome = VCHome + "\\Tools\\MSVC\\$VCSerial"
def String CLPath = VCHome + "\\bin\\Hostx86\\x86" def String CLPath = VCHome + "\\bin\\Hostx86\\x86"
@ -956,11 +953,9 @@ PocoDoc.version=${version}-all
println "TOOLCHAIN WSDK=" + toolChain.windowsSdkDir println "TOOLCHAIN WSDK=" + toolChain.windowsSdkDir
} }
*/ */
file.text += """ file << '\n' << "VCH=${javaVCH}"
VCH=${javaVCH} file << '\n' << "WDK=${javaWDK}"
WDK=${javaWDK} file << '\n' << "CLP=${javaCLP}"
CLP=${javaCLP}
"""
} else { } else {
} }
} }