jack2 codebase
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
730B

  1. #! /usr/bin/env python
  2. # encoding: utf-8
  3. test_programs = {
  4. 'synchroClient': ['testSynchroClient.cpp'],
  5. 'synchroServer': ['testSynchroServer.cpp'],
  6. 'synchroServerClient': ['testSynchroServerClient.cpp'],
  7. 'testSem': ['testSem.cpp'],
  8. 'jack_test': ['jack_test.cpp'],
  9. }
  10. def build(bld):
  11. for test_program, test_program_sources in test_programs.items():
  12. prog = bld.create_obj('cpp', 'program')
  13. prog.features.append('cc')
  14. prog.includes = ['../common/jack', '../common']
  15. prog.source = test_program_sources
  16. prog.uselib = 'RT'
  17. prog.uselib_local = 'clientlib'
  18. prog.target = test_program
  19. if test_program != 'jack_test':
  20. prog.inst_var = 0