File: mm-test.pl

package info (click to toggle)
libffi-platypus-perl 2.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,860 kB
  • sloc: perl: 7,388; ansic: 6,862; cpp: 53; sh: 19; makefile: 14
file content (20 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use strict;
use warnings;
use lib 'lib';
use FFI::Build;
use lib 'inc';
use My::Config;
use My::ShareConfig;

my $config = My::Config->new;

FFI::Build->new(
  'test',
  source   => ['t/ffi/*.c'],
  verbose  => 1,
  alien    => [$config->build_config->get('alien')->{class}],
  cflags   => ['-Iinclude'],
  dir      => 't/ffi',
  platform => $config->platform,
)->build;