1FFI::Build::File::LibraUrsye(r3)Contributed Perl DocumenFtFaIt:i:oBnuild::File::Library(3)
2
3
4
6 FFI::Build::File::Library - Class to track object file in FFI::Build
7
9 version 1.32
10
12 use FFI::Build;
13
14 my $build = FFI::Build->new(source => 'src/*.c');
15 # $lib is an instance of FFI::Build::File::Library
16 my $lib = $build->build;
17
19 This is a class to track a library generated by FFI::Build. This is
20 returned by FFI::Build's build method. This class is a subclass of
21 FFI::Build::File::Base. The most important method is probably "path",
22 which returns the path to the library which can be passed into
23 FFI::Platypus for immediate use.
24
26 path
27 my $path = $lib->path;
28
29 Returns the path of the library.
30
32 Author: Graham Ollis <plicease@cpan.org>
33
34 Contributors:
35
36 Bakkiaraj Murugesan (bakkiaraj)
37
38 Dylan Cali (calid)
39
40 pipcet
41
42 Zaki Mughal (zmughal)
43
44 Fitz Elliott (felliott)
45
46 Vickenty Fesunov (vyf)
47
48 Gregor Herrmann (gregoa)
49
50 Shlomi Fish (shlomif)
51
52 Damyan Ivanov
53
54 Ilya Pavlov (Ilya33)
55
56 Petr Pisar (ppisar)
57
58 Mohammad S Anwar (MANWAR)
59
60 Håkon Hægland (hakonhagland, HAKONH)
61
62 Meredith (merrilymeredith, MHOWARD)
63
64 Diab Jerius (DJERIUS)
65
67 This software is copyright (c) 2015,2016,2017,2018,2019,2020 by Graham
68 Ollis.
69
70 This is free software; you can redistribute it and/or modify it under
71 the same terms as the Perl 5 programming language system itself.
72
73
74
75perl v5.32.0 2020-09-21 FFI::Build::File::Library(3)