SCsub 486 B

123456789101112131415161718192021
  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.add_source_files(env.drivers_sources, thirdparty_sources)
  11. env.Append(CPPPATH=[thirdparty_dir])
  12. # Driver source files
  13. env.add_source_files(env.drivers_sources, "*.cpp")
  14. Export('env')