Skip to content

Commit f9564b4

Browse files
committed
consistent naming
1 parent ff6f2a8 commit f9564b4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ add_subdirectory(cxx)
55
add_subdirectory(fortran)
66

77
# -- Fortran calling C++
8-
add_executable(fortran_call_cxx fortran/main.f90)
8+
add_executable(fortran_call_cxx fortran/math_main.f90)
99
target_link_libraries(fortran_call_cxx PRIVATE math_cxx)
1010
# LINKER_LANGUAGE option is necessary for ifort at least
1111
set_target_properties(fortran_call_cxx PROPERTIES LINKER_LANGUAGE Fortran)
1212
add_test(NAME Fortran_call_C++ COMMAND fortran_call_cxx)
1313

1414
# -- Fortran calling C
15-
add_executable(fortran_call_c fortran/main.f90)
15+
add_executable(fortran_call_c fortran/math_main.f90)
1616
target_link_libraries(fortran_call_c PRIVATE math_c)
1717
add_test(NAME Fortran_call_C COMMAND fortran_call_c)
1818

File renamed without changes.

src/meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ subdir('fortran')
66

77
# -- Fortran calling C++
88
fortran_call_cxx = executable('fortran_call_cxx',
9-
sources: files('fortran/main.f90'),
9+
sources: files('fortran/math_main.f90'),
1010
link_with: math_cxx,
1111
link_language: 'fortran'
1212
)
1313
test('Fortran call C++', fortran_call_cxx, timeout: 5)
1414

1515
# -- Fortran calling C
1616
fortran_call_c = executable('fortran_call_c',
17-
sources: files('fortran/main.f90'),
17+
sources: files('fortran/math_main.f90'),
1818
link_with: math_c,
1919
link_language: 'fortran'
2020
)

0 commit comments

Comments
 (0)