summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2022-07-07 12:16:37 +0100
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2022-07-07 12:44:40 +0100
commit2efe9a89bb2b352c50429b7bb3c1accafc8662d1 (patch)
tree6c7270f74b818a35c18a023301864a2cf396171e /SConstruct
parentf60cb2931c74d68b19b18c15442c1043d2ebb884 (diff)
Only include editor/SCsub when building the editor: tools=yes
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 2 insertions, 1 deletions
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")