| 1 | package FFI::Build::File::CXX; | ||
| 2 | |||
| 3 | 8 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 8 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 8 | ▶ | use 5.008004; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 8 | ▶ | use parent qw( FFI::Build::File::C ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 8 | ▶ | use constant default_suffix => '.cxx'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 8 | ▶ | use constant default_encoding => ':utf8'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | # ABSTRACT: Class to track C source file in FFI::Build | ||
| 11 | 8 | our $VERSION = '2.12'; # VERSION | |
| 12 | |||
| 13 | |||
| 14 | sub accept_suffix | ||
| 15 | 2 | ▶ | { |
|
Subroutine
accept_suffix: called CC=1 SCAR=0.0
Pod
documented
| |||
| 16 | 2 | (qr/\.c(xx|pp)$/) | |
| 17 | } | ||
| 18 | |||
| 19 | sub cc | ||
| 20 | 3 | ▶ | { |
|
Subroutine
cc: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 21 | 3 | my($self) = @_; | |
| 22 | 3 | $self->platform->cxx; | |
| 23 | } | ||
| 24 | |||
| 25 | sub ld | ||
| 26 | 4 | ▶ | { |
|
Subroutine
ld: called CC=1 SCAR=0.0
Pod
documented
| |||
| 27 | 4 | my($self) = @_; | |
| 28 | 4 | $self->platform->cxxld; | |
| 29 | } | ||
| 30 | |||
| 31 | 8 | 1; | |
| 32 | |||
| 33 | __END__ | ||