aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/30 compiler id/meson.build
blob: 280d4f773521f9c39b9c583d18a4409dfc5f5a79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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