SCsub 864 B

123456789101112131415161718192021222324252627282930
  1. #!/usr/bin/env python
  2. import build_scripts.mono_configure as mono_configure
  3. Import("env")
  4. Import("env_modules")
  5. env_mono = env_modules.Clone()
  6. # Configure Mono
  7. mono_configure.configure(env, env_mono)
  8. # Add sources
  9. env_mono.add_source_files(env.modules_sources, "*.cpp")
  10. env_mono.add_source_files(env.modules_sources, "glue/*.cpp")
  11. env_mono.add_source_files(env.modules_sources, "mono_gd/*.cpp")
  12. env_mono.add_source_files(env.modules_sources, "utils/*.cpp")
  13. env_mono.add_source_files(env.modules_sources, "mono_gd/support/*.cpp")
  14. if env["platform"] in ["macos", "ios"]:
  15. env_mono.add_source_files(env.modules_sources, "mono_gd/support/*.mm")
  16. env_mono.add_source_files(env.modules_sources, "mono_gd/support/*.m")
  17. if env.editor_build:
  18. env_mono.add_source_files(env.modules_sources, "editor/*.cpp")
  19. SConscript("editor/script_templates/SCsub")