summaryrefslogtreecommitdiff
path: root/test cases/common/2 cpp/meson.build
blob: 639838212d428db94aaa4922c9af267977a964ca (plain)
1
2
3
4
5
6
7
8
9
project('c++ test', 'cpp')

if meson.get_compiler('cpp').get_id() == 'intel'
  # Error out if the -std=xxx option is incorrect
  add_project_arguments('-diag-error', '10159', language : 'cpp')
endif

exe = executable('trivialprog', 'trivial.cc', extra_files : 'something.txt')
test('runtest', exe)