From 3d2c60aac629ac8fe4c0c816285f14219ced2f2f Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sat, 8 Feb 2014 22:07:33 +0100 Subject: [PATCH] Get properties search paths from python variable --- .../tools/build_gamedata/processes/properties/0_setup.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/nel/tools/build_gamedata/processes/properties/0_setup.py b/code/nel/tools/build_gamedata/processes/properties/0_setup.py index a6f0bb534..4118cfeb3 100644 --- a/code/nel/tools/build_gamedata/processes/properties/0_setup.py +++ b/code/nel/tools/build_gamedata/processes/properties/0_setup.py @@ -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: