Skip to content

Commit b81799b

Browse files
committed
improve naming
1 parent 16d18d0 commit b81799b

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ For MacOS with Apple's Clang and Homebrew GCC,
3131
be sure you have in ~/.zshrc like the following:
3232
(check directory / versions on your Mac)
3333

34+
```sh
3435
export LIBRARY_PATH=$LIBRARY_PATH:/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/lib
3536
export CPLUS_INCLUDE_PATH=/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include
3637
export CXXFLAGS=-I$CPLUS_INCLUDE_PATH
3738
export CFLAGS=$CXXFLAGS
39+
```
3840

3941
## build
4042

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ target_link_libraries(fortran_call_c PRIVATE math_c)
1717
add_test(NAME Fortran_call_C COMMAND fortran_call_c)
1818

1919
# -- C++ calling Fortran
20-
add_executable(cxx_call_fortran cxx/cxx_main.cxx)
20+
add_executable(cxx_call_fortran cxx/main.cxx)
2121
target_link_libraries(cxx_call_fortran PRIVATE math_fortran)
2222
add_test(NAME C++_call_Fortran COMMAND cxx_call_fortran)
2323

File renamed without changes.

src/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ test('Fortran call C', fortran_call_c, timeout: 5)
2121

2222
# -- C++ calling Fortran
2323
cxx_call_fortran = executable('cxx_call_fortran',
24-
sources: files('cxx/cxx_main.cxx'),
24+
sources: files('cxx/main.cxx'),
2525
link_with: math_fortran)
2626
test('C++ calling Fortran', cxx_call_fortran, timeout: 10)

0 commit comments

Comments
 (0)