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.
This commit is contained in:
lawnjelly 2023-06-09 20:30:03 +01:00
parent 300748e52c
commit a7263d32fb
1 changed files with 1 additions and 1 deletions

View File

@ -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)