diff --git a/SConstruct b/SConstruct index 1d599d0d..ee29762c 100644 --- a/SConstruct +++ b/SConstruct @@ -38,7 +38,11 @@ Run the following command to download godot-cpp: env = SConscript("godot-cpp/SConstruct", {"env": env, "customs": customs}) env.Append(CPPPATH=["src/"]) + sources = Glob("src/*.cpp") +sources.extend(Glob("src/*/*.cpp")) +sources.extend(Glob("src/*/*/*.cpp")) +sources.extend(Glob("src/*/*/*/*.cpp")) if env["target"] in ["editor", "template_debug"]: try: