mirror of
https://github.com/godotengine/godot.git
synced 2026-05-09 17:30:16 -04:00
19 lines
387 B
Python
19 lines
387 B
Python
#!/usr/bin/env python
|
|
from misc.utility.scons_hints import *
|
|
|
|
Import("env")
|
|
Import("env_modules")
|
|
|
|
env_mp = env_modules.Clone()
|
|
|
|
module_obj = []
|
|
env_mp.add_source_files(module_obj, "*.cpp")
|
|
|
|
if env.editor_build:
|
|
env_mp.add_source_files(module_obj, "editor/*.cpp")
|
|
|
|
env.modules_sources += module_obj
|
|
|
|
if env["tests"]:
|
|
env_mp.add_source_files(env.modules_sources, "./tests/*.cpp")
|