Skip to content
Newer
Older
100644 54 lines (43 sloc) 1.16 KB
81dc5ba @gfx Initial commit
authored Jul 2, 2011
1 use strict;
2 use warnings;
3 BEGIN {
4 unshift @INC, 'inc';
5
6 # author requires, or bundled modules
7 my @devmods = qw(
8 inc::Module::Install 1.00
9 Module::Install::AuthorTests 0.002
10 Module::Install::Repository 0.06
11 Test::Requires 0.06
12 Module::Install::XSUtil 0.32
13 );
14 my @not_available;
15 while(my($mod, $ver) = splice @devmods, 0, 2) {
16 eval qq{use $mod $ver (); 1} or push @not_available, $mod;
17 }
18 if(@not_available) {
19 print qq{# The following modules are not available.\n};
20 print qq{# `perl $0 | cpanm` will install them:\n};
21 print $_, "\n" for @not_available;
22 exit 1;
23 }
24 }
25 use inc::Module::Install;
26
27 all_from 'lib/re/engine/boost.pm';
28
29 use_xshelper;
30 cc_warnings;
31 cc_src_paths 'src';
9bdd4c5 Update
Fuji Goro authored Aug 4, 2011
32 cc_libs 'boost_regex-mt', 'boost_regex';
81dc5ba @gfx Initial commit
authored Jul 2, 2011
33
34 makemaker_args CC => 'g++';
35
36 test_requires 'Test::More' => '0.88';
37 test_requires 'Test::Requires' => '0.06';
38
39 auto_set_repository;
40
41 tests_recursive;
42 author_tests 'xt';
43
44
45 clean_files qw(
46 re-engine-boost-*
47 *.stackdump
48 cover_db *.gcov *.gcda *.gcno
49 nytprof
50 *.out
51 );
52
53 WriteAll(check_nmake => 0);
Something went wrong with that request. Please try again.