Forráskód Böngészése

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 éve
szülő
commit
a7263d32fb
1 módosított fájl, 1 hozzáadás és 1 törlés
  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)