From a7263d32fba7fcbcae18ae5f654556af7bca1188 Mon Sep 17 00:00:00 2001 From: lawnjelly Date: Fri, 9 Jun 2023 20:30:03 +0100 Subject: [PATCH] SCU build - make paths relative to project folder Making paths relative to the project folder rather than the SCU directory helps make stack traces more readable. --- scu_builders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scu_builders.py b/scu_builders.py index 98363929aec..b26cfc77c04 100644 --- a/scu_builders.py +++ b/scu_builders.py @@ -51,7 +51,7 @@ def find_files_in_folder(folder, sub_folder, include_list, extension, sought_exc if file.endswith(".gen.cpp"): continue - li = '#include "../' + sub_folder_slashed + file + '"' + li = '#include "' + folder + "/" + sub_folder_slashed + file + '"' if not simple_name in sought_exceptions: include_list.append(li)