16 lines
303 B
Python
16 lines
303 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
|