summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-28 23:35:51 +0200
committerGitHub <noreply@github.com>2022-03-28 23:35:51 +0200
commit5149db8d85ac491bafcb1b84203601b8c9593c7f (patch)
treef2371cdf323418177111f778a5c4f9b950edf5e2 /SConstruct
parentf3bd700767d9d652141671162b3101821332ee89 (diff)
parent45ec0e31c31b625ee8a56f6d2315af455172acc3 (diff)
Merge pull request #59644 from akien-mga/template-no-editor-dep
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 4 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index a847535812..af01329933 100644
--- a/SConstruct
+++ b/SConstruct
@@ -48,8 +48,6 @@ _helper_module("methods", "methods.py")
_helper_module("platform_methods", "platform_methods.py")
_helper_module("version", "version.py")
_helper_module("core.core_builders", "core/core_builders.py")
-_helper_module("editor.editor_builders", "editor/editor_builders.py")
-_helper_module("editor.template_builders", "editor/template_builders.py")
_helper_module("main.main_builders", "main/main_builders.py")
_helper_module("modules.modules_builders", "modules/modules_builders.py")
@@ -58,6 +56,10 @@ import methods
import glsl_builders
import gles3_builders
+if methods.get_cmdline_bool("tools", True):
+ _helper_module("editor.editor_builders", "editor/editor_builders.py")
+ _helper_module("editor.template_builders", "editor/template_builders.py")
+
# Scan possible build platforms
platform_list = [] # list of platforms