NAME
Dist::Build - A modern module builder, author tools not included!
VERSION
version 0.015
SYNOPSIS
use Dist::Build;
Build_PL(\@ARGV, \%ENV);
DESCRIPTION
Dist::Build
is a Build.PL implementation. Unlike Module::Build::Tiny it is extensible, unlike Module::Build it uses a build graph internally which makes it easy to combine different customizations. It's typically extended by adding a .pl
script in planner/
. E.g.
load_module("Dist::Build::ShareDir");
dist_sharedir('share', 'Foo-Bar');
load_module("Dist::Build::XS");
add_xs(
libraries => [ 'foo' ],
extra_sources => [ glob 'src/*.c' ],
);
At configure time, it will run a L<dynamic-prereqs.json|CPAN::Requirements::Dynamic> file if present to determine the conditional dependencies
AUTHOR
Leon Timmermans <fawaka@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2024 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.