Modules: Don't build editor-specific classes in templates
They're moved to an `editor` subfolder so that we can easily handle them separately.
This commit is contained in:
@ -4,7 +4,8 @@ Import("env")
|
||||
Import("env_modules")
|
||||
|
||||
env_gltf = env_modules.Clone()
|
||||
env_gltf.Prepend(CPPPATH=["."])
|
||||
|
||||
# Godot's own source files
|
||||
env_gltf.add_source_files(env.modules_sources, "*.cpp")
|
||||
if env["tools"]:
|
||||
env_gltf.add_source_files(env.modules_sources, "editor/*.cpp")
|
||||
|
||||
Reference in New Issue
Block a user