Exclude GDScriptSyntaxHighlighter from non-tool builds

This commit is contained in:
Paulb23 2018-04-20 20:44:07 +01:00
parent 3a5b25d5b4
commit c3d93edf3d
4 changed files with 4 additions and 1 deletions

View file

@ -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')

View file

@ -30,8 +30,8 @@
#include "register_types.h"
#include "editor/gdscript_highlighter.h"
#include "gdscript.h"
#include "gdscript_highlighter.h"
#include "gdscript_tokenizer.h"
#include "io/file_access_encrypted.h"
#include "io/resource_loader.h"