SCsub 610 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env python
  2. Import('env')
  3. Import('env_modules')
  4. env_cvtt = env_modules.Clone()
  5. # Thirdparty source files
  6. if env['builtin_squish']:
  7. thirdparty_dir = "#thirdparty/cvtt/"
  8. thirdparty_sources = [
  9. "ConvectionKernels.cpp"
  10. ]
  11. thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
  12. env_cvtt.Append(CPPPATH=[thirdparty_dir])
  13. env_thirdparty = env_cvtt.Clone()
  14. env_thirdparty.disable_warnings()
  15. env_thirdparty.add_source_files(env.modules_sources, thirdparty_sources)
  16. # Godot source files
  17. env_cvtt.add_source_files(env.modules_sources, "*.cpp")