-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathBuild.PL
More file actions
33 lines (31 loc) · 871 Bytes
/
Build.PL
File metadata and controls
33 lines (31 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/perl -w
use strict;
use Module::Build::WithXSpp;
my $build = Module::Build::WithXSpp->new(
module_name => 'Boost::Geometry::Utils',
license => 'perl',
'build_requires' => {
'ExtUtils::Typemaps::Default' => '0.05',
'ExtUtils::XSpp' => '0.16',
'Module::Build' => '0.3601',
'Test::More' => '0'
},
'configure_requires' => {
'ExtUtils::CppGuess' => '0.07',
'Module::Build' => '0.38',
'Module::Build::WithXSpp' => '0.10'
},
# HAS_BOOL : stops Perl/lib/CORE/handy.h from doing "# define bool char" for MSVC
extra_compiler_flags => [qw(-DHAS_BOOL)],
# Provides extra C typemaps that are auto-merged
extra_typemap_modules => {
'ExtUtils::Typemaps::Default' => '0.05',
},
#for MSVC builds
early_includes => [qw(
cstring
cstdlib
ostream
)]
);
$build->create_build_script;