Get properties search paths from python variable

This commit is contained in:
kaetemi 2014-02-08 22:07:33 +01:00
parent af65ca5c62
commit 3d2c60aac6

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: