From 2efe9a89bb2b352c50429b7bb3c1accafc8662d1 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Thu, 7 Jul 2022 12:16:37 +0100 Subject: Only include editor/SCsub when building the editor: tools=yes --- SConstruct | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index 28395227d2..50cb43b218 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") -- cgit v1.2.3