line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package FFI::Build::File::CXX; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
96529
|
use strict; |
|
4
|
|
|
|
|
17
|
|
|
4
|
|
|
|
|
114
|
|
4
|
4
|
|
|
4
|
|
18
|
use warnings; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
86
|
|
5
|
4
|
|
|
4
|
|
67
|
use 5.008001; |
|
4
|
|
|
|
|
12
|
|
6
|
4
|
|
|
4
|
|
20
|
use base qw( FFI::Build::File::C ); |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
786
|
|
7
|
4
|
|
|
4
|
|
31
|
use constant default_suffix => '.cxx'; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
244
|
|
8
|
4
|
|
|
4
|
|
33
|
use constant default_encoding => ':utf8'; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
700
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# ABSTRACT: Class to track C source file in FFI::Build |
11
|
|
|
|
|
|
|
our $VERSION = '0.10'; # VERSION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub accept_suffix |
15
|
|
|
|
|
|
|
{ |
16
|
2
|
|
|
2
|
1
|
8
|
(qr/\.c(xx|pp)$/) |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub cc |
20
|
|
|
|
|
|
|
{ |
21
|
3
|
|
|
3
|
0
|
12
|
my($self) = @_; |
22
|
3
|
|
|
|
|
17
|
$self->platform->cxx; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub ld |
26
|
|
|
|
|
|
|
{ |
27
|
4
|
|
|
4
|
1
|
16
|
my($self) = @_; |
28
|
4
|
|
|
|
|
15
|
$self->platform->cxx; |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
__END__ |