diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-09-02 09:39:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 09:39:29 +0200 |
commit | 39228830ce726657d4b81a5eab0d68cf9530434d (patch) | |
tree | bfba93bc14d1ff1010f99daebc03946423c04d54 /modules/gdscript/SCsub | |
parent | 6e89d371cee27974ce73200d788522329900d517 (diff) | |
parent | 0cc05c5a31b6c6d3db76b5982f3f36919e137500 (diff) |
Merge pull request #41355 from Xrayez/port-gdscript-tests
Port GDScript test/debugging tools
Diffstat (limited to 'modules/gdscript/SCsub')
-rw-r--r-- | modules/gdscript/SCsub | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gdscript/SCsub b/modules/gdscript/SCsub index e58a1d8edc..5c8cbdf869 100644 --- a/modules/gdscript/SCsub +++ b/modules/gdscript/SCsub @@ -17,3 +17,7 @@ if env["tools"]: # Using a define in the disabled case, to avoid having an extra define # in regular builds where all modules are enabled. env_gdscript.Append(CPPDEFINES=["GDSCRIPT_NO_LSP"]) + +if env["tests"]: + env_gdscript.Append(CPPDEFINES=["TESTS_ENABLED"]) + env_gdscript.add_source_files(env.modules_sources, "./tests/*.cpp") |