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   67682 use strict;
  43         125  
  43         1495  
6 43     43   240 use warnings;
  43         113  
  43         4134  
7              
8             our $VERSION = '0.75';
9             #$VERSION = eval $VERSION; ## no critic (eval)
10              
11              
12             # DO NOT MANUALLY ALTER THE FOLLOWING TWO LINES: Makefile.PL locates them by
13             # matching their syntax and identifier names.
14             our $compiler = 'g++ -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xc++';
15             our $libs = '-lstdc++';
16              
17              
18              
19             # DO NOT MANUALLY ALTER THE FOLLOWING LINE: Makefile.PL locates it by
20             # matching its syntax and identifier name.
21             our $iostream_fn = 'iostream';
22              
23              
24              
25             # DON'T EDIT THIS HERE-DOC. These are set by Makefile.PL. Override
26             # by supplying undefs in an AUTO_INCLUDE configuration.
27             our $cpp_flavor_defs = <<'END_FLAVOR_DEFINITIONS';
28              
29             #define __INLINE_CPP_STANDARD_HEADERS 1
30             #define __INLINE_CPP_NAMESPACE_STD 1
31              
32             END_FLAVOR_DEFINITIONS
33              
34              
35             1;
36              
37             __END__