Is there a way to add an external folder with C ++ code to my project and be able to compile its contents without having to add everything in the "Compilation Sources" section? This is so if a new source is added, it will automatically compile.
I tried adding an external folder to "Compile Sources" myself, and it appears, but nothing compiles inside it.

source share