2
0
Эх сурвалжийг харах

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.
lawnjelly 2 жил өмнө
parent
commit
a7263d32fb
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      scu_builders.py

+ 1 - 1
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)