1
0

b/c...py: optimize adding . before paths

This commit is contained in:
Intel A80486DX2-66 2024-05-19 12:46:14 +03:00
parent 162e6b880c
commit 9be6408890
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -26,11 +26,9 @@ PATHS["output"] = path_join(PATHS["build_dir"], PATHS["output"])
PATHS["fwrite_le"] = path_join(PATHS["src_dir"], PATHS["fwrite_le"]) PATHS["fwrite_le"] = path_join(PATHS["src_dir"], PATHS["fwrite_le"])
# Add `.` directory before all paths for compilation # Add `.` directory before all paths for compilation
PATHS["template"] = path_join(".", PATHS["template"]) for key in ["template", "substitute", "output", "fwrite_le",
PATHS["substitute"] = path_join(".", PATHS["substitute"]) "include_directory"]:
PATHS["output"] = path_join(".", PATHS["output"]) PATHS[key] = path_join(".", PATHS[key])
PATHS["fwrite_le"] = path_join(".", PATHS["fwrite_le"])
PATHS["include_directory"] = path_join(".", PATHS["include_directory"])
# Default parameters # Default parameters
DEFAULT_PARAMETERS = { DEFAULT_PARAMETERS = {