Name
SPVM::Builder::API - Defining Public Functions of SPVM::Builder
Description
The SPVM::Builder::API class defines the public methods of the SPVM::Builder class.
Usage
my $builder = SPVM::Builder::API->new(
build_dir => '.spvm_build',
);
$builder->build_dynamic_lib_dist_precompile('MyClass');
$builder->build_dynamic_lib_dist_native('MyClass');
Class Methods
new
my $builder = SPVM::Builder::API->new(%options);
Creates a new SPVM::Builder::API object.
Options:
build_dir
The building directory.
Instance Methods
build_dynamic_lib_dist_precompile
$builder->build_dynamic_lib_dist_precompile($class_name)
Generates a dynamic library for a class $class_name that has precompile
methods, and copies it to the blib/lib
directory.
build_dynamic_lib_dist_native
$builder->build_dynamic_lib_dist_native($class_name)
Generates a dynamic library for a class $class_name that has native
methods, and copies it to the blib/lib
directory.