The Meson Build System http://mesonbuild.com/

5 lines
170 B

project('cuda dependency', 'cpp', 'cuda')
exe = executable('prog', 'prog.cpp', 'kernel.cu', dependencies: dependency('cuda', modules: ['cublas']))
test('cudatest', exe)