1XS::Parse::Keyword::BuiUlsdeerr(C3o)ntributed Perl DocumXeSn:t:aPtairosne::Keyword::Builder(3)
2
3
4
6 "XS::Parse::Keyword::Builder" - build-time support for
7 "XS::Parse::Keyword"
8
10 In Build.PL:
11
12 use XS::Parse::Keyword::Builder;
13
14 my $build = Module::Build->new(
15 ...,
16 configure_requires => {
17 ...
18 'XS::Parse::Keyword::Builder' => 0,
19 }
20 );
21
22 XS::Parse::Keyword::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::Keyword. It prepares a Module::Build-using
29 distribution to be able to make use of "XS::Parse::Keyword".
30
32 write_XSParseKeyword_h
33 XS::Parse::Keyword::Builder->write_XSParseKeyword_h
34
35 Writes the XSParseKeyword.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::Keyword::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 XSParseKeyword.h file.
45
46 extend_module_build
47 XS::Parse::Keyword::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 2021-10-12 XS::Parse::Keyword::Builder(3)