Qt4
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
push @args, "-DCUSTOM_PERL_SITE_ARCH_DIR=$sitearch" if $sitearch;
push @args, @cmakeArgs;
if ( eval "require Alien::SmokeQt" ) {
push @args, "-DSmoke_DIR=".Alien::SmokeQt->prefix()."/share/smoke/cmake";
push @args, "-DCMAKE_MODULE_PATH=".Alien::SmokeQt->prefix()."/share/smoke/cmake";
}
# Make sure we have a cmake executable
my $cmake;
foreach my $path ( split m/$pathsearch/, $ENV{PATH} ) {
if ( -e "$path/".$cmakesearch ) {
$cmake = "$path/".$cmakesearch;
last;
}
}
if ( !$cmake ) {
die 'You must have cmake installed to compile PerlQt4.';
}
exit system('cmake', @args);
qtcore/src/doxsubpp.pl view on Meta::CPAN
} );
my $perl_include_path = $mm->{PERL_INC};
my @xsubinfo = split "\n", $mm->tool_xsubpp();
my ($xsubppdir) = map{ m/^XSUBPPDIR = (.*)/ } grep{ m/^XSUBPPDIR =/ } @xsubinfo;
my $xsubpp = "$xsubppdir/xsubpp";
my ($xsubppargs) = map{ m/^XSUBPPARGS = (.*)/ } grep{ m/^XSUBPPARGS =/ } @xsubinfo;
my @xsubppargs = split m/ /, $xsubppargs;
my @cmd = ($perl, $xsubpp, @xsubppargs, $in);
my $xsubpp_gencode = `@cmd`;
my $status = $? >> 8;
if ( $status != 0 ){
die "Unable to run xsubpp to generate .c code from .xs: $!\n";
}
open my $FH, '>', $out;
print $FH $xsubpp_gencode;
( run in 0.823 second using v1.01-cache-2.11-cpan-71847e10f99 )