project('Elemmire', 'c', version : '0.1', default_options : ['warning_level=3']) fftw = dependency('fftw3', version : '>=3.3.8') incdir = include_directories('include') lib = static_library('elemmire', 'src/elemmire.c', install: true, dependencies: fftw, include_directories: incdir) exe = executable('elemmire', 'src/main.c', 'src/elemmire.c', dependencies: fftw, include_directories: incdir) headers = install_headers('include/elemmire.h') test('basic', exe)