SPVM::Builder::ObjectFileInfo - Object file information
SPVM::Builder::ObjectFileInfo is a object file information. This infromation is used by the linker.
Fields of SPVM::Builder::ObjectFileInfo.
my $object_file = $object_file_info->object_file; $object_file_info->object_file($object_file);
Get and set the object file that is compiled.
my $source_file = $object_file_info->source_file; $object_file_info->source_file($source_file);
Get and set the source file that is the source of the compiled object file.
my $cc = $object_file_info->cc; $object_file_info->cc($cc);
Get and set the compiler name that compiled the object file.
my $ccflags = $object_file_info->ccflags; $object_file_info->ccflags($ccflags);
Get and set the compiler flags that compiled the object file. The default value is [].
[]
my $class_name = $object_file_info->class_name; $object_file_info->class_name($class_name);
Get and set the class name belonged to when the object file was compiled.
my $is_resource = $object_file_info->is_resource; $object_file_info->is_resource($is_resource);
Get and set if the object file(this is static library(.a)) is a resource.
my $is_lib_file = $object_file_info->is_lib_file; $object_file_info->is_lib_file($is_lib_file);
Get and set if the object file is a library file.
my $is_native_source = $object_file_info->is_native_source; $object_file_info->is_native_source($is_native_source);
Get and set if the object file is compiled from a native source file.
my $is_exe_config = $object_file_info->is_exe_config; $object_file_info->is_exe_config($is_exe_config);
Get and set if the object file is compiled using SPVM::Builder::Config::Exe.
Methods of SPVM::Builder::ObjectFileInfo.
my $object_file_info = SPVM::Builder::ObjectFileInfo->new;
my $object_file = $object_file_info->to_string;
Get the object file name. This is same as object_file field.
object_file
SPVM::BlessedObject::String overloads the following operators.
my $bool = !!$object_file_info;
Always true.
my $object_file_name = "$object_file_info";
Alias for "to_string".
To install SPVM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SPVM
CPAN shell
perl -MCPAN -e shell install SPVM
For more information on module installation, please visit the detailed CPAN module installation guide.