Skip to content

Commit 502e157

Browse files
committed
Merge pull request #106269 from lawnjelly/scu_hide_folder
SCons: Hide SCU folders by adding "." to foldername
2 parents cb01fab + 39b16bc commit 502e157

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

methods.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def add_source_files_scu(self, sources, files, allow_gen=False):
6868
return False
6969

7070
# Add all the gen.cpp files in the SCU directory
71-
add_source_files_orig(self, sources, subdir + "scu/scu_*.gen.cpp", True)
71+
add_source_files_orig(self, sources, subdir + ".scu/scu_*.gen.cpp", True)
7272
return True
7373
return False
7474

scu_builders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def process_folder(folders, sought_exceptions=[], includes_per_scu=0, extension=
223223
start_line = 0
224224

225225
# These do not vary throughout the loop
226-
output_folder = abs_main_folder + "/scu/"
226+
output_folder = abs_main_folder + "/.scu/"
227227
output_filename_prefix = "scu_" + out_filename
228228

229229
fresh_files = set()

0 commit comments

Comments
 (0)