From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- meson/test cases/common/29 compiler id/meson.build | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meson/test cases/common/29 compiler id/meson.build (limited to 'meson/test cases/common/29 compiler id/meson.build') diff --git a/meson/test cases/common/29 compiler id/meson.build b/meson/test cases/common/29 compiler id/meson.build new file mode 100644 index 000000000..280d4f773 --- /dev/null +++ b/meson/test cases/common/29 compiler id/meson.build @@ -0,0 +1,15 @@ +project('compiler_id') + +foreach lang : ['c', 'cpp', 'fortran', 'objc', 'objcpp'] + + if not add_languages(lang, required: false) + continue + endif + + comp = meson.get_compiler(lang) + + message(lang + ' compiler name is: ' + comp.get_id()) + + message(lang + ' linker name is: ' + comp.get_linker_id()) + +endforeach \ No newline at end of file -- cgit 1.2.3-korg