summaryrefslogtreecommitdiff
path: root/modules/gdscript/SCsub
diff options
context:
space:
mode:
authorPaulb23 <p_batty@hotmail.co.uk>2018-04-20 20:44:07 +0100
committerPaulb23 <p_batty@hotmail.co.uk>2018-04-20 20:45:57 +0100
commitc3d93edf3d4203da332fc2d4feb439eb35280309 (patch)
treecfffd7d2067d41a0d6900c4d02c17ce819487407 /modules/gdscript/SCsub
parent3a5b25d5b489ad88c2861c9c37b56469580fbf03 (diff)
Exclude GDScriptSyntaxHighlighter from non-tool builds
Diffstat (limited to 'modules/gdscript/SCsub')
-rw-r--r--modules/gdscript/SCsub3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gdscript/SCsub b/modules/gdscript/SCsub
index 13870170a5..73f09f1659 100644
--- a/modules/gdscript/SCsub
+++ b/modules/gdscript/SCsub
@@ -7,4 +7,7 @@ env_gdscript = env_modules.Clone()
env_gdscript.add_source_files(env.modules_sources, "*.cpp")
+if env['tools']:
+ env_gdscript.add_source_files(env.modules_sources, "./editor/*.cpp")
+
Export('env')