meson: remove dummy_cpp

meson has gotten pretty smart about tracking C and C++ dependencies
(internal and external), and using the right linker. This wasn't always
the case and we created empty c++ files to force the use of the c++
linker. We don't need that any more.

Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Dylan Baker
2018-04-16 14:40:51 -07:00
parent db90c8627c
commit 595021bf1a
4 changed files with 3 additions and 11 deletions

View File

@@ -62,7 +62,7 @@ subdir('nir')
# dependency with nir/meson.build.
spirv2nir = executable(
'spirv2nir',
[files('spirv/spirv2nir.c'), dummy_cpp],
files('spirv/spirv2nir.c'),
dependencies : [dep_m, dep_thread, idep_nir],
include_directories : [inc_common, inc_nir, include_directories('spirv')],
link_with : libmesa_util,