vendored-meson/meson/test cases/common/171 initial c_args/meson.build
raw| 1 | project('options', 'c') |
| 2 | |
| 3 | # Test passing c_args and c_link_args options from the command line. |
| 4 | assert(get_option('c_args') == ['-funroll-loops'], |
| 5 | 'Incorrect value for c_args option.') |
| 6 | assert(get_option('c_link_args') == ['-Dtest_harmless_but_useless_link_arg'], |
| 7 | 'Incorrect value for c_link_args option.') |