Skip to content

Commit 20344e5

Browse files
committed
harmonize names
1 parent fba6b5d commit 20344e5

15 files changed

+13
-13
lines changed

meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
project('Fortran_c_cxx_interface', 'c', 'cpp', 'fortran',
2-
version : '1.2.0',
2+
version : '1.2.1',
33
meson_version: '>= 0.52.0',
44
default_options : ['default_library=static', 'warning_level=3',
55
'cpp_std=c++11', 'c_std=c99'])

src/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ set_target_properties(c_fortran_struct PROPERTIES LINKER_LANGUAGE C)
3131
add_test(NAME C_Fortran_struct COMMAND $<TARGET_FILE:c_fortran_struct>)
3232

3333
# -- C++ calling Fortran
34-
add_executable(cxx_call_fortran cxx/main.cxx)
34+
add_executable(cxx_call_fortran cxx/math_main.cxx)
3535
target_link_libraries(cxx_call_fortran PRIVATE math_fortran)
3636
add_test(NAME C++_Fortran_math COMMAND cxx_call_fortran)
3737

src/c/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
add_library(math_c OBJECT math.c)
1+
add_library(math_c OBJECT math_lib.c)
File renamed without changes.

src/c/meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
math_c = library('math_c', 'math.c')
1+
math_c = library('math_c', 'math_lib.c')

src/cxx/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
add_library(math_cxx OBJECT math.cxx)
1+
add_library(math_cxx OBJECT math_lib.cxx)
File renamed without changes.
File renamed without changes.

src/cxx/meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
math_cxx = library('math_cxx', 'math.cxx')
1+
math_cxx = library('math_cxx', 'math_lib.cxx')

src/fortran/CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
add_library(math_fortran OBJECT math.f90)
1+
add_library(math_fortran OBJECT math_lib.f90)
22

3-
add_library(error_fortran OBJECT error.f90)
3+
add_library(error_fortran OBJECT error_lib.f90)
44

5-
add_library(struct_fortran OBJECT struct.f90)
5+
add_library(struct_fortran OBJECT struct_lib.f90)
File renamed without changes.
File renamed without changes.

src/fortran/meson.build

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
math_fortran = library('math_fortran', 'math.f90')
1+
math_fortran = library('math_fortran', 'math_lib.f90')
22

3-
error_fortran = library('error_fortran', 'error.f90')
3+
error_fortran = library('error_fortran', 'error_lib.f90')
44

5-
struct_fortran = library('struct_fortran', 'struct.f90')
5+
struct_fortran = library('struct_fortran', 'struct_lib.f90')
File renamed without changes.

src/meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ test('C Fortran struct', c_fortran_struct,
4141

4242
# -- C++ calling Fortran
4343
cxx_call_fortran = executable('cxx_call_fortran',
44-
sources: files('cxx/main.cxx'),
44+
sources: files('cxx/math_main.cxx'),
4545
link_with: math_fortran
4646
)
4747
test('C++ call Fortran', cxx_call_fortran, timeout: 5)

0 commit comments

Comments
 (0)