NAME

FFI::Build::FIle::Pascal - Build Pascal library using the FFI::Build system

SYNOPSIS

In your .fbx file:

 use strict;
 use warnings;
 our $DIR;
 {
   source  => ["$DIR/test.pas"],
   verbose => 2,
 }

DESCRIPTION

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.

BASE CLASS

FFI::Build::File::Base

CONSTRUCTOR

new

 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.

SEE ALSO

FFI::Platypus

The Core Platypus documentation.

FFI::Platypus::Lang::Pascal

Pascal language plugin for FFI::Platypus.

AUTHOR

Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE

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.