| 1 | package SPVM::Builder::Config::DLL; | ||
| 2 | |||
| 3 | 435 | ▶ | use parent 'SPVM::Builder::Config::Linker'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 435 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 435 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 9 | 0 | my $self = shift->SUPER::new(@_); | |
| 10 | |||
| 11 | 0 | $self->output_type('dynamic_lib'); | |
| 12 | |||
| 13 | 0 | return $self; | |
| 14 | } | ||
| 15 | |||
| 16 | 435 | 1; | |
| 17 | |||
| 18 | =head1 Name | ||
| 19 | |||
| 20 | SPVM::Builder::Config::DLL - Config for Dynamic Link Libraries | ||
| 21 | |||
| 22 | =head1 Description | ||
| 23 | |||
| 24 | L<SPVM::Builder::Config::DLL> creates a config to generate dynamic link libraries. | ||
| 25 | |||
| 26 | =head1 Usage | ||
| 27 | |||
| 28 | use SPVM::Builder::Config::DLL; | ||
| 29 | |||
| 30 | my $config = SPVM::Builder::Config::DLL->new | ||
| 31 | |||
| 32 | $config; | ||
| 33 | |||
| 34 | =head1 Super Class | ||
| 35 | |||
| 36 | L<SPVM::Builder::Config::Linker> | ||
| 37 | |||
| 38 | =head1 Class Methods | ||
| 39 | |||
| 40 | =head2 new | ||
| 41 | |||
| 42 | my $config = SPVM::Builder::Config::DLL->new(%fields); | ||
| 43 | |||
| 44 | Creates a new L<SPVM::Builder::Config::DLL> object by calling C<new> method in the super class with I<%fields>, | ||
| 45 | and sets C<output_type> field to C<"dynamic_lib">, | ||
| 46 | and returns the new object. | ||