SCsub 528 B

123456789101112131415161718192021
  1. #!/usr/bin/env python
  2. Import('env')
  3. Import('env_modules')
  4. env_etc1 = env_modules.Clone()
  5. # Thirdparty source files
  6. # Not unbundled so far since not widespread as shared library
  7. thirdparty_dir = "#thirdparty/rg-etc1/"
  8. thirdparty_sources = [
  9. "rg_etc1.cpp",
  10. ]
  11. thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
  12. env_etc1.add_source_files(env.modules_sources, thirdparty_sources)
  13. env_etc1.Append(CPPPATH=[thirdparty_dir])
  14. # Godot source files
  15. env_etc1.add_source_files(env.modules_sources, "*.cpp")