SCsub 397 B

123456789101112131415161718
  1. #!/usr/bin/env python
  2. from misc.utility.scons_hints import *
  3. Import("env")
  4. Import("env_modules")
  5. env_gltf = env_modules.Clone()
  6. # Godot source files
  7. env_gltf.add_source_files(env.modules_sources, "*.cpp")
  8. env_gltf.add_source_files(env.modules_sources, "structures/*.cpp")
  9. SConscript("extensions/SCsub")
  10. if env.editor_build:
  11. env_gltf.add_source_files(env.modules_sources, "editor/*.cpp")