SCsub 544 B

12345678910111213141516171819202122
  1. #!/usr/bin/env python
  2. Import('env')
  3. Import('env_modules')
  4. env_ogg = env_modules.Clone()
  5. # Thirdparty source files
  6. if (env['builtin_libogg'] != 'no'):
  7. thirdparty_dir = "#thirdparty/libogg/"
  8. thirdparty_sources = [
  9. "bitwise.c",
  10. "framing.c",
  11. ]
  12. thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
  13. env_ogg.add_source_files(env.modules_sources, thirdparty_sources)
  14. env_ogg.Append(CPPPATH=[thirdparty_dir])
  15. # Godot source files
  16. env_ogg.add_source_files(env.modules_sources, "*.cpp")