From 39b16bcc3cf1653fee42785cc6b8a0e5bc537dab Mon Sep 17 00:00:00 2001 From: lawnjelly Date: Sun, 11 May 2025 07:02:36 +0100 Subject: [PATCH] SCU - hide SCU folders by adding "." to foldername --- methods.py | 2 +- scu_builders.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/methods.py b/methods.py index 78d88c7f79e..0505b2dd5e3 100644 --- a/methods.py +++ b/methods.py @@ -68,7 +68,7 @@ def add_source_files_scu(self, sources, files, allow_gen=False): return False # Add all the gen.cpp files in the SCU directory - add_source_files_orig(self, sources, subdir + "scu/scu_*.gen.cpp", True) + add_source_files_orig(self, sources, subdir + ".scu/scu_*.gen.cpp", True) return True return False diff --git a/scu_builders.py b/scu_builders.py index d14bc10cd47..b49df0a04a7 100644 --- a/scu_builders.py +++ b/scu_builders.py @@ -223,7 +223,7 @@ def process_folder(folders, sought_exceptions=[], includes_per_scu=0, extension= start_line = 0 # These do not vary throughout the loop - output_folder = abs_main_folder + "/scu/" + output_folder = abs_main_folder + "/.scu/" output_filename_prefix = "scu_" + out_filename fresh_files = set()