From 2efe9a89bb2b352c50429b7bb3c1accafc8662d1 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Thu, 7 Jul 2022 12:16:37 +0100 Subject: [PATCH] Only include editor/SCsub when building the editor: tools=yes --- SConstruct | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 28395227d2c..50cb43b218d 100644 --- a/SConstruct +++ b/SConstruct @@ -788,7 +788,8 @@ if selected_platform in platform_list: SConscript("core/SCsub") SConscript("servers/SCsub") SConscript("scene/SCsub") - SConscript("editor/SCsub") + if env["tools"]: + SConscript("editor/SCsub") SConscript("drivers/SCsub") SConscript("platform/SCsub")