File Coverage

blib/lib/Inline/CPP/Config.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Inline::CPP::Config;
2              
3             # Configuration data for CPP.pm; Compiler, libs, iostream filename, #defines.
4              
5 43     43   67562 use strict;
  43         102  
  43         1535  
6 43     43   230 use warnings;
  43         93  
  43         3891  
7              
8             our $VERSION = '0.80';
9             #$VERSION = eval $VERSION; ## no critic (eval)
10              
11             our $compiler = 'g++ -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xc++';
12             our $libs = '-lstdc++';
13              
14             our $iostream_fn = 'iostream';
15              
16             our $cpp_flavor_defs = <<'END_FLAVOR_DEFINITIONS';
17              
18             #define __INLINE_CPP_STANDARD_HEADERS 1
19             #define __INLINE_CPP_NAMESPACE_STD 1
20              
21              
22             END_FLAVOR_DEFINITIONS
23              
24             1;
25              
26             __END__