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 0.94
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
61 This software is copyright (c) 2015,2016,2017,2018,2019 by Graham
62 Ollis.
63
64 This is free software; you can redistribute it and/or modify it under
65 the same terms as the Perl 5 programming language system itself.
66
67
68
69perl v5.30.0 2019-07-26 FFI::Build::File::Library(3)