1XS::Parse::Sublike::BuiUlsdeerr(C3o)ntributed Perl DocumXeSn:t:aPtairosne::Sublike::Builder(3)
2
3
4
6 "XS::Parse::Sublike::Builder" - build-time support for
7 "XS::Parse::Sublike"
8
10 In Build.PL:
11
12 use XS::Parse::Sublike::Builder;
13
14 my $build = Module::Build->new(
15 ...,
16 configure_requires => {
17 ...
18 'XS::Parse::Sublike::Builder' => 0,
19 }
20 );
21
22 XS::Parse::Sublike::Builder->extend_module_build( $build );
23
24 ...
25
27 This module provides a build-time helper to assist authors writing XS
28 modules that use XS::Parse::Sublike. It prepares a Module::Build-using
29 distribution to be able to make use of "XS::Parse::Sublike".
30
32 write_XSParseSublike_h
33 XS::Parse::Sublike::Builder->write_XSParseSublike_h
34
35 Writes the XSParseSublike.h file to the current working directory. To
36 cause the compiler to actually find this file, see
37 "extra_compiler_flags".
38
39 extra_compiler_flags
40 @flags = XS::Parse::Sublike::Builder->extra_compiler_flags
41
42 Returns a list of extra flags that the build scripts should add to the
43 compiler invocation. This enables the C compiler to find the
44 XSParseSublike.h file.
45
46 extend_module_build
47 XS::Parse::Sublike::Builder->extend_module_build( $build )
48
49 A convenient shortcut for performing all the tasks necessary to make a
50 Module::Build-based distribution use the helper.
51
53 Paul Evans <leonerd@leonerd.org.uk>
54
55
56
57perl v5.34.0 2022-01-21 XS::Parse::Sublike::Builder(3)