use XS::Parse::Sublike::Builder; my $build = Module::Build->new( ..., configure_requires => { ... 'XS::Parse::Sublike::Builder' => 0, } ); XS::Parse::Sublike::Builder->extend_module_build( $build ); ...
XS::Parse::Sublike::Builder->write_XSParseSublike_h
Writes the XSParseSublike.h file to the current working directory. To cause the compiler to actually find this file, see ``extra_compiler_flags''.
@flags = XS::Parse::Sublike::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 XSParseSublike.h file.
XS::Parse::Sublike::Builder->extend_module_build( $build )
A convenient shortcut for performing all the tasks necessary to make a Module::Build-based distribution use the helper.