Alien-Keystone
view release on metacpan or search on metacpan
master.
You can use it in the Build.PL file if you're using Module::Build or
Makefile.PL file if you're using ExtUtils::MakeMaker.
use Alien::Keystone;
# ...
my $keystone= Alien::Keystone->new;
my $build = Module::Build->new(
...
extra_compiler_flags => $keystone->cflags(),
extra_linker_flags => $keystone->libs(),
...
);
VERSION
0.03
METHODS
new
Creates the object. Refer Alien::Base for more information.
cflags
This method provides the compiler flags needed to use the library on
the system.
libs
This method provides the linker flags needed to use the library on
the system.
SEE ALSO
Alien::Base
AUTHORS
Vikas N Kumar <vikas@cpan.org>
lib/Alien/Keystone.pm view on Meta::CPAN
You can use it in the C<Build.PL> file if you're using Module::Build or
C<Makefile.PL> file if you're using ExtUtils::MakeMaker.
use Alien::Keystone;
# ...
my $keystone= Alien::Keystone->new;
my $build = Module::Build->new(
...
extra_compiler_flags => $keystone->cflags(),
extra_linker_flags => $keystone->libs(),
...
);
=head1 VERSION
0.03
=head1 METHODS
=over
=item B<new>
Creates the object. Refer C<Alien::Base> for more information.
=item B<cflags>
This method provides the compiler flags needed to use the library on the system.
=item B<libs>
This method provides the linker flags needed to use the library on the system.
=back
=head1 SEE ALSO
=over
=item C<Alien::Base>
=back
use Test::More;
use blib;
use_ok 'Alien::Keystone';
my $keystone = new_ok 'Alien::Keystone';
note $keystone->cflags;
note $keystone->libs;
note Alien::Keystone::ConfigData->config('finished_installing');
is(Alien::Keystone::ConfigData->config('finished_installing'), 1, 'Installing complete');
done_testing;
__END__
( run in 5.225 seconds using v1.01-cache-2.11-cpan-94b05bcf43c )