Assists music production by grouping standalone programs into sessions. Community version of "Non Session Manager".
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.

19 lines
506B

  1. from waflib import Task
  2. from waflib.TaskGen import extension
  3. class ntk_fluid(Task.Task):
  4. color = 'BLUE'
  5. ext_out = ['.h']
  6. run_str = '${NTK_FLUID} -c -o ${TGT[0].abspath()} -h ${TGT[1].abspath()} ${SRC}'
  7. @extension('.fl')
  8. def fluid(self, node):
  9. """add the .fl to the source list; the cxx file generated will be compiled when possible"""
  10. cpp = node.change_ext('.C')
  11. hpp = node.change_ext('.H')
  12. self.create_task('ntk_fluid', node, [cpp, hpp])
  13. if 'cxx' in self.features:
  14. self.source.append(cpp)