Accomodate clang-cl in test common/127

clang-cl does support '-Wmissing-include-dirs' (unlike msvc), but doesn't
(currently) support '/ZI' (which is used by the default 'debug' buildtype),
the presence of which will cause an 'unknown-argument' warning, which is
treated as an error with 'Werror'.

Adjust the default buildtype so this test can pass with clang-cl
pull/4250/head
Jon Turney 6 years ago
parent d528a8d281
commit ac17f168ea
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
  1. 2
      test cases/common/127 no buildincdir/meson.build

@ -1,5 +1,5 @@
project('nobuilddir', 'c',
default_options : 'werror=true')
default_options : ['werror=true', 'buildtype=plain'])
cc = meson.get_compiler('c')

Loading…
Cancel
Save