SCsub 561 B

123456789101112131415161718192021222324
  1. #!/usr/bin/env python
  2. Import('env')
  3. # Not cloning the env, the includes need to be accessible for platform/
  4. # Thirdparty source files
  5. thirdparty_dir = "#thirdparty/rtaudio/"
  6. thirdparty_sources = [
  7. "RtAudio.cpp",
  8. ]
  9. thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
  10. env.Append(CPPPATH=[thirdparty_dir])
  11. env_thirdparty = env.Clone()
  12. env_thirdparty.disable_warnings()
  13. env_thirdparty.add_source_files(env.drivers_sources, thirdparty_sources)
  14. # Driver source files
  15. env.add_source_files(env.drivers_sources, "*.cpp")
  16. Export('env')