Debian Codegraph @

vendored-meson/meson/test cases/cuda/8 release/meson.build

raw
1 project('release', 'cpp', 'cuda', version : '1.0.0', default_options : ['buildtype=release', 'b_ndebug=if-release'])
2
3 # We don't actually need boost, but it serves as a common dependency
4 # that has the potential to add "-isystem/usr/include" to the compile
5 # line. By making it optional, we test that system search paths get
6 # removed without unnecessarily failing the test if boost is absent.
7 boost_dep = dependency('boost', include_type : 'system', required : false)
8
9 exe = executable('prog', 'main.cu', dependencies : boost_dep)
10 test('cudatest', exe)