diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-10-23 15:13:08 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2018-11-04 15:42:06 +0000 |
commit | bb0bbfc2abad8925425f13775f2ee514f76ee069 (patch) | |
tree | 0e8249a7311c96f6636462642fbdfc509b461ffb /test cases/common/13 pch | |
parent | d35034b21bfdcbdb21853340ff983e908ada101f (diff) | |
download | meson-bb0bbfc2abad8925425f13775f2ee514f76ee069.zip meson-bb0bbfc2abad8925425f13775f2ee514f76ee069.tar.gz meson-bb0bbfc2abad8925425f13775f2ee514f76ee069.tar.bz2 |
Adjust more tests which need to know compiler type
Diffstat (limited to 'test cases/common/13 pch')
-rw-r--r-- | test cases/common/13 pch/mixed/meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test cases/common/13 pch/mixed/meson.build b/test cases/common/13 pch/mixed/meson.build index 7f6033d..f0c3eca 100644 --- a/test cases/common/13 pch/mixed/meson.build +++ b/test cases/common/13 pch/mixed/meson.build @@ -5,8 +5,9 @@ exe = executable( cpp_pch : ['pch/main_pch.cc', 'pch/main.h'], ) +# test pch when only a header is given (not supported by msvc) cc = meson.get_compiler('c') -if cc.get_id() != 'msvc' +if not ['msvc', 'clang-cl'].contains(cc.get_id()) exe2 = executable( 'prog2', files('main.cc', 'func.c'), |