Alien-CSFML
view release on metacpan or search on metacpan
lib/Alien/CSFML.pm view on Meta::CPAN
package Alien::CSFML;
{ $Alien::CSFML::VERSION = 'v0.0.7'; }
use strict;
use warnings;
use File::ShareDir qw[dist_dir];
use File::Spec::Functions qw[catdir canonpath];
sub new {
my ( $pkg, %overrides ) = @_;
return bless { 'C++' => $overrides{'C++'} }, $pkg;
}
sub include_dirs {
my ($s) = @_;
return (
canonpath( catdir( dist_dir('Alien-CSFML'), 'src' ) ),
canonpath( catdir( dist_dir('Alien-CSFML'), 'sfml', 'include' ) ),
( $s->{'C++'} ? () : canonpath( catdir( dist_dir('Alien-CSFML'), 'csfml', 'include' ) ) )
);
}
( run in 0.322 second using v1.01-cache-2.11-cpan-de7293f3b23 )