SCsub 264 B

123456789101112131415
  1. #!/usr/bin/env python
  2. Import("env")
  3. Import("env_modules")
  4. env_mp = env_modules.Clone()
  5. module_obj = []
  6. env_mp.add_source_files(module_obj, "*.cpp")
  7. if env.editor_build:
  8. env_mp.add_source_files(module_obj, "editor/*.cpp")
  9. env.modules_sources += module_obj