summaryrefslogtreecommitdiffstats
path: root/test cases/common/29 compiler id/meson.build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/common/29 compiler id/meson.build15
1 files changed, 15 insertions, 0 deletions
diff --git a/test cases/common/29 compiler id/meson.build b/test cases/common/29 compiler id/meson.build
new file mode 100644
index 0000000..280d4f7
--- /dev/null
+++ b/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