Get properties search paths from python variable
This commit is contained in:
parent
b23fef9209
commit
47c3e8aa05
1 changed files with 8 additions and 0 deletions
|
@ -47,6 +47,14 @@ printLog(log, "")
|
||||||
|
|
||||||
mkPath(log, ActiveProjectDirectory + "/generated")
|
mkPath(log, ActiveProjectDirectory + "/generated")
|
||||||
zlp = open(ActiveProjectDirectory + "/generated/properties.cfg", "w")
|
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")
|
ps = open(ActiveProjectDirectory + "/properties_base.cfg", "r")
|
||||||
for line in ps:
|
for line in ps:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue