FFI::Build::File::Library - Class to track object file in FFI::Build
Contents
Copyright And License
This software is copyright (c) 2015-2022 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5
programming language system itself.
perl v5.40.0 2025-01-11 FFI::Build::File::Library(3pm)
Description
This is a class to track a library generated by FFI::Build. This is returned by FFI::Build's build
method. This class is a subclass of FFI::Build::File::Base. The most important method is probably
"path", which returns the path to the library which can be passed into FFI::Platypus for immediate use.
Methods
path
my $path = $lib->path;
Returns the path of the library.
Name
FFI::Build::File::Library - Class to track object file in FFI::Build
Synopsis
use FFI::Build;
my $build = FFI::Build->new(source => 'src/*.c');
# $lib is an instance of FFI::Build::File::Library
my $lib = $build->build;
Version
version 2.10
