godot/modules/jsonrpc/SCsub

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
423 B
Plaintext
Raw Normal View History

#!/usr/bin/env python
Import("env")
Import("env_modules")
env_jsonrpc = env_modules.Clone()
env_jsonrpc.add_source_files(env.modules_sources, "*.cpp")
2024-04-11 01:27:08 +08:00
if env["tests"]:
env_jsonrpc.Append(CPPDEFINES=["TESTS_ENABLED"])
env_jsonrpc.add_source_files(env.modules_sources, "./tests/*.cpp")
if env["disable_exceptions"]:
env_jsonrpc.Append(CPPDEFINES=["DOCTEST_CONFIG_NO_EXCEPTIONS_BUT_WITH_ALL_ASSERTS"])