Skip to content

Commit d8de3ce

Browse files
committed
refactor: rename cppc to cxx
1 parent 484d2b3 commit d8de3ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/fpm_compiler.f90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ module fpm_compiler
8282
!> Path to the C compiler
8383
character(len=:), allocatable :: cc
8484
!> Path to the C++ compiler
85-
character(len=:), allocatable :: cppc
85+
character(len=:), allocatable :: cxx
8686
!> Print all commands
8787
logical :: echo = .true.
8888
!> Verbose output of command
@@ -816,7 +816,7 @@ subroutine new_compiler(self, fc, cc, cppc, echo, verbose)
816816
self%cc = cc
817817
else
818818
call get_default_c_compiler(self%fc, self%cc)
819-
call get_default_cpp_compiler(self%fc, self%cppc)
819+
call get_default_cpp_compiler(self%fc, self%cxx)
820820
end if
821821
end subroutine new_compiler
822822

@@ -923,7 +923,7 @@ subroutine compile_cpp(self, input, output, args, log_file, stat)
923923
!> Status flag
924924
integer, intent(out) :: stat
925925

926-
call run(self%cppc // " -c " // input // " " // args // " -o " // output, &
926+
call run(self%cxx // " -c " // input // " " // args // " -o " // output, &
927927
& echo=self%echo, verbose=self%verbose, redirect=log_file, exitstat=stat)
928928
end subroutine compile_cpp
929929

0 commit comments

Comments
 (0)