Debian Codegraph @

modules/multiplayer/SCsub

raw symbols SCIP
1 #!/usr/bin/env python
2 from misc.utility.scons_hints import *
3
4 Import("env")
5 Import("env_modules")
6
7 env_mp = env_modules.Clone()
8
9 module_obj = []
10 env_mp.add_source_files(module_obj, "*.cpp")
11
12 if env.editor_build:
13 env_mp.add_source_files(module_obj, "editor/*.cpp")
14
15 env.modules_sources += module_obj
16
17 if env["tests"]:
18 env_mp.Append(CPPDEFINES=["TESTS_ENABLED"])
19 env_mp.add_source_files(env.modules_sources, "./tests/*.cpp")
20
21 if env["disable_exceptions"]:
22 env_mp.Append(CPPDEFINES=["DOCTEST_CONFIG_NO_EXCEPTIONS_BUT_WITH_ALL_ASSERTS"])