SCsub 545 B

1234567891011121314151617181920
  1. Import('env')
  2. Import('env_modules')
  3. # Thirdparty source files
  4. if (env["libogg"] != "system"): # builtin
  5. thirdparty_dir = "#thirdparty/libogg/"
  6. thirdparty_libogg_sources = [
  7. "bitwise.c",
  8. "framing.c",
  9. ]
  10. thirdparty_libogg_sources = [thirdparty_dir + file for file in thirdparty_libogg_sources]
  11. env_modules.add_source_files(env.modules_sources, thirdparty_libogg_sources)
  12. env_modules.Append(CPPPATH = [thirdparty_dir])
  13. # Godot source files
  14. env_modules.add_source_files(env.modules_sources, "*.cpp")
  15. Export('env_modules')
  16. Export('env')