XS::Parse::Infix::Builder(3pm) User Contributed Perl Documentation XS::Parse::Infix::Builder(3pm)

"XS::Parse::Infix::Builder" - build-time support for "XS::Parse::Infix"

In Build.PL:

use XS::Parse::Infix::Builder;
my $build = Module::Build->new(
   ...,
   configure_requires => {
      ...
      'XS::Parse::Infix::Builder' => 0,
   }
);
XS::Parse::Infix::Builder->extend_module_build( $build );
...

This module provides a build-time helper to assist authors writing XS modules that use XS::Parse::Infix. It prepares a Module::Build-using distribution to be able to make use of "XS::Parse::Infix".

XS::Parse::Infix::Builder->write_XSParseInfix_h;

This method no longer does anything since version 0.43.

@flags = XS::Parse::Infix::Builder->extra_compiler_flags;

Returns a list of extra flags that the build scripts should add to the compiler invocation. This enables the C compiler to find the XSParseInfix.h file.

XS::Parse::Infix::Builder->extend_module_build( $build );

A convenient shortcut for performing all the tasks necessary to make a Module::Build-based distribution use the helper.

Paul Evans <leonerd@leonerd.org.uk>

2024-09-13 perl v5.40.0