1project('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. 7boost_dep = dependency('boost', include_type : 'system', required : false) 8 9exe = executable('prog', 'main.cu', dependencies : boost_dep) 10test('cudatest', exe) 11