The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
314 B

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