FFI::Build::FIle::Pascal - Build Pascal library using the FFI::Build system
In your .fbx file:
use strict; use warnings; our $DIR; { source => ["$DIR/test.pas"], verbose => 2, }
This class provides the necessary machinery for building Pascal files as part of the FFI::Build system using the Free Pascal compiler. The source file should be a Free Pascal library. Only the library .pas
file should be specified. You can use other Units, but because the Free Pascal Compiler automatically handles dependencies you do not need to specify them.
my $file = FFI::Build::File::Pascal->new($content, %opt);
In addition to the normal options, this class accepts:
fpc_flags
The Free Pascal compiler flags to use when building the library.
The Core Platypus documentation.
Pascal language plugin for FFI::Platypus.
Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2015 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.