Module::Build::XSUtil - A Module::Build class for building XS modules


DESCRIPTION


Module::Build::XSUtil is subclass of L<Module::Build> for support building XS modules.

This is a list of a new parameters in the Module::Build::new method:

needs_compiler_c99
This option checks C99 compiler's availability. If it's not available, Build.PL exits by 0.

needs_compiler_cpp
This option checks C++ compiler's availability. If it's not available, Build.PL exits by 0.

In addition, append 'extra_compiler_flags' and 'extra_linker_flags' for C++.

generate_ppport_h
Genereate ppport.h by the Devel::PPPort manpage.

generate_xshelper_h
Genereate xshelper.h which is a helper header file to include EXTERN.h, perl.h, XSUB.h and ppport.h, and defines some portability stuff which are not supported by ppport.h.

It is porting from the Module::Install::XSUtil manpage.

cc_warnings
Enable compiler warnings flag. It is enable by default.

-g options
If invoke Build.PL with '-g' option, It will build with debug options.


SEE ALSO

the Module::Install::XSUtil manpage


LICENSE Copyright (C) Hideaki Ohno. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =head1 AUTHOR Hideaki Ohno <hide.o.j55 {at} gmail.com> =cut

 Module::Build::XSUtil - A Module::Build class for building XS modules