SPVM::Builder::Util::API - Public APIs of the utility of SPVM Builder
# Create native make rule my $native_make_rule = SPVM::Builder::Util::API::create_make_rule_native('Foo'); # Create precompile make rule my $precompile_make_rule = SPVM::Builder::Util::API::create_make_rule_precompile('Foo');
SPVM::Builder::Util::API is the public APIs of the utilities of SPVM Builder.
SPVM::Builder::Util is a private modules of SPVM.
The names and arguments of the functions are changed without warnings in the future release.
However, the functions is useful to create the content of Makefile.
SPVM::Builder::Util::API provides the public APIs to call the functions of SPVM::Builder::Util. These APIs is public and stable.
Create native compile make rule.
This is used in Makefile.PL of your distributed module.
# Makefile.PL sub MY::postamble { my $make_rule = ''; # Native compile make rule $make_rule .= SPVM::Builder::Util::API::create_make_rule_native('Foo'); return $make_rule; }
Create precompile make rule.
sub MY::postamble { my $make_rule = ''; # Precompile make rule $make_rule .= SPVM::Builder::Util::API::create_make_rule_precompile('Foo'); return $make_rule; }
Copyright (c) 2023 Yuki Kimoto
MIT License
To install SPVM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SPVM
CPAN shell
perl -MCPAN -e shell install SPVM
For more information on module installation, please visit the detailed CPAN module installation guide.