From c3d93edf3d4203da332fc2d4feb439eb35280309 Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Fri, 20 Apr 2018 20:44:07 +0100 Subject: Exclude GDScriptSyntaxHighlighter from non-tool builds --- modules/gdscript/SCsub | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/gdscript/SCsub') 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') -- cgit v1.2.3