Csfxr is a c89 library to procedurally generate simple synth noises. It is based on DrPetter's sfxr and Bjorn Ritzl's Blip.
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.

meson.build 714B

1234567891011121314151617181920212223
  1. project('csfxr', 'c', default_options : ['default_library=static', 'c_std=gnu89'])
  2. incdir = include_directories('include')
  3. cc = meson.get_compiler('c')
  4. m_dep = cc.find_library('m', required : true)
  5. #m_dep = dependency('m')
  6. libcsfxr = library('csfxr', 'src/csfxr.c', include_directories : incdir, dependencies:m_dep)
  7. csfxr_dep = declare_dependency(link_with : libcsfxr, include_directories : incdir)
  8. if not meson.is_subproject()
  9. #Basic test binary
  10. depao = dependency('ao')
  11. executable('basic', 'src/examples/basic.c', include_directories : incdir, dependencies: [csfxr_dep, depao])
  12. #Complex test binary
  13. #executable('test', 'src/examples/test.c', include_directories : incdir, dependencies: csfxr_dep)
  14. endif