Clownfish-CFC
view release on metacpan or search on metacpan
lib/Clownfish/CFC/Perl/Build.pm view on Meta::CPAN
return \@paths;
}
sub cf_copy_include_file {
my ($self, @path) = @_;
my $dest_dir = catdir( $self->blib, 'arch', 'Clownfish', '_include' );
for my $include_dir ($self->cf_c_include_dirs) {
my $file = catfile ( $include_dir, @path );
if ( -e $file ) {
$self->copy_if_modified(
from => $file,
to => catfile( $dest_dir, @path ),
);
return;
}
}
die( "Clownfish include file " . catfile(@path) . " not found" );
}
my %hierarchy_cache;
lib/Clownfish/CFC/Perl/Build.pm view on Meta::CPAN
$cbuilder->link(
module_name => $module_name,
objects => \@objects,
lib_file => $lib_file,
extra_linker_flags => $linker_flags,
);
# Install .lib file on Windows
# TODO: Install .dll.a when building with GCC on Windows?
my $implib_file = catfile( $libdir, "$class_name.lib" );
if ( -e $implib_file ) {
$self->copy_if_modified(
from => $implib_file,
to => catfile( $archdir, "$class_name.lib" ),
);
}
}
}
sub _cf_find_xs_prereqs {
my ( $self, $module ) = @_;
( run in 1.584 second using v1.01-cache-2.11-cpan-437f7b0c052 )