Deprecated.
NAME
Module::Build::FFI::Pascal - (Deprecated) Build Perl extensions in Free Pascal with FFI
VERSION
version 0.54
DESCRIPTION
Note: This module is deprecated, please see FFI::Build for another way to bundle Pascal code with your Perl distribution.
Module::Build::FFI variant for writing Perl extensions in Pascal with FFI (sans XS).
BASE CLASS
All methods, properties and actions are inherited from:
PROPERTIES
- ffi_pascal_lib
-
Name of Pascal libraries. Default is ['ffi.pas','test.pas']
- ffi_pascal_extra_compiler_flags
-
Extra compiler flags to be passed to
fpc
.Must be a array reference.
- ffi_pascal_extra_linker_flags
-
Extra linker flags to be passed to
ppumove
.Must be a array reference.
BASE CLASS
METHODS
ffi_have_compiler
my $has_compiler = $mb->ffi_have_compiler;
Returns true if Free Pascal is available.
ffi_build_dynamic_lib
my $dll_path = $mb->ffi_build_dynamic_lib($src_dir, $name, $target_dir);
my $dll_path = $mb->ffi_build_dynamic_lib($src_dir, $name);
Compiles the Pascal source in the $src_dir
and link it into a dynamic library with base name of $name.$Config{dlexe}
. If $target_dir
is specified then the dynamic library will be delivered into that directory.
AUTHOR
Graham Ollis <plicease@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 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.