Only include editor/SCsub when building the editor: tools=yes

(cherry picked from commit 2efe9a89bb2b352c50429b7bb3c1accafc8662d1)
This commit is contained in:
Marcel Admiraal 2022-07-07 12:16:37 +01:00 committed by Relintai
parent 17f9583dc0
commit 4a2bccd2d3

View File

@ -682,6 +682,7 @@ if selected_platform in platform_list:
SConscript("core/SCsub") SConscript("core/SCsub")
SConscript("servers/SCsub") SConscript("servers/SCsub")
SConscript("scene/SCsub") SConscript("scene/SCsub")
if env["tools"]:
SConscript("editor/SCsub") SConscript("editor/SCsub")
SConscript("drivers/SCsub") SConscript("drivers/SCsub")