test cases/fortran/8 module names/meson.build
raw| 1 | # SPDX-License-Identifier: Apache-2.0 |
| 2 | # Copyright © 2024 Intel Corporation |
| 3 | |
| 4 | project('mod_name_case', 'fortran') |
| 5 | |
| 6 | sources = ['test.f90', 'mod1.f90', 'mod2.f90'] |
| 7 | |
| 8 | l = static_library('s1', 'mod1.f90') |
| 9 | l2 = static_library('s2', 'mod2.f90', link_whole : l) |
| 10 | if get_option('unittest') |
| 11 | sh = static_library('library', 'lib.f90', link_with : l2) |
| 12 | else |
| 13 | exe = executable('mod_name_case', 'test.f90', link_with : l2) |
| 14 | test('mod_name_case', exe) |
| 15 | endif |