Get properties search paths from python variable

This commit is contained in:
kaetemi 2014-02-08 22:07:33 +01:00
parent 045e0c3ec6
commit a5282ccb7e

View file

@ -47,6 +47,14 @@ printLog(log, "")
mkPath(log, ActiveProjectDirectory + "/generated")
zlp = open(ActiveProjectDirectory + "/generated/properties.cfg", "w")
zlp.write("\n")
zlp.write("// Search pathes\n")
zlp.write("search_pathes = \n")
zlp.write("{\n")
for searchPath in PropertiesExportBuildSearchPaths:
zlp.write("\t\"" + ExportBuildDirectory + "/" + searchPath + "\",\n")
zlp.write("};\n")
zlp.write("\n")
ps = open(ActiveProjectDirectory + "/properties_base.cfg", "r")
for line in ps:
try: