Exclude GDScriptSyntaxHighlighter from non-tool builds
This commit is contained in:
parent
3a5b25d5b4
commit
c3d93edf3d
|
@ -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')
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue