|
#!/usr/bin/env python
|
|
|
|
Import("env")
|
|
Import("env_modules")
|
|
|
|
env_mp = env_modules.Clone()
|
|
|
|
module_obj = []
|
|
env_mp.add_source_files(module_obj, "*.cpp")
|
|
|
|
if env["tools"]:
|
|
env_mp.add_source_files(module_obj, "editor/*.cpp")
|
|
|
|
env.modules_sources += module_obj
|