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