Permalink
Cannot retrieve contributors at this time
| top = '..' | |
| def build_ugen(bld, target, source): | |
| ugen = bld.shlib(features='c cxx', | |
| source=source, | |
| target=target, | |
| use=['SUPERCOLLIDER'], | |
| install_path='${PREFIX}/lib/SuperCollider/plugins', | |
| cflags=['-O3', '-Wall']) | |
| if bld.env.DEST_OS == 'darwin': | |
| ugen.env.cxxshlib_PATTERN = '%s.scx' | |
| else: | |
| ugen.env.cxxshlib_PATTERN = '%s.so' | |
| def build(bld): | |
| ugens = [ | |
| {'target':'TrigPhasor', 'source':'ugens/TrigPhasor/TrigPhasor.cpp' } | |
| ] | |
| for u in ugens: | |
| build_ugen(bld, u['target'], u['source']) |