test cases/unit/134 promote link_language/meson.build
raw| 1 | project('promote link_language', 'c', 'cpp') |
| 2 | |
| 3 | cxx = meson.get_compiler('cpp') |
| 4 | |
| 5 | lib = library('cxxlib-w-c-linkage', 'lib.cpp', |
| 6 | cpp_args: cxx.get_supported_arguments(['-fno-exceptions', '-fno-rtti', '/EHc']), |
| 7 | link_language : 'c', |
| 8 | ) |
| 9 | |
| 10 | con = library('consumer', 'consumer.c', |
| 11 | link_with: lib |
| 12 | ) |