mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
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:
parent
300748e52c
commit
a7263d32fb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user