mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-26 02:20:54 +00:00
Get properties search paths from python variable
This commit is contained in:
parent
045e0c3ec6
commit
a5282ccb7e
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