From 12c5348180e6254afbfb4092d442bad4bc2967fe 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 (cherry picked from commit 2efe9a89bb2b352c50429b7bb3c1accafc8662d1) --- SConstruct | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index af556f5ac17..00ff2117b29 100644 --- a/SConstruct +++ b/SConstruct @@ -679,7 +679,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")