in reply to ExtUtils::XSpp usage for a novice
Short version:
h2xs -An My::Module
cd My-Module
rm Makefile.PL
cat >Build.PL
use common::sense; use 5.006001; use Module::Build::WithXSpp; my $build = Module::Build::WithXSpp->new( module_name => 'My::Module', license => 'perl', dist_author => q{John Doe <john_does_mail_address>}, dist_version_from => 'lib/My/Module.pm', build_requires => { 'Test::More' => 0, }, extra_typemap_modules => { 'ExtUtils::Typemaps::ObjectMap' => '0', # ... }, # extra_linker_flags => [qw(-lfoo)], # early_includes => [qw(<foo.hpp>)], ); $build->create_build_script;
Syntax for .xsp files is still unknown to me, but you'll be hitting shift-5 allot.
After that it's modules as usual, use ./Build.PL to configure and make to build.
|
|---|