mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 03:09:08 +00:00
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