The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Wx::build::Options - retrieve wxWindows/wxPerl build options

METHODS

get_options

  my %options = Wx::build::Options->get_options( $from );

Valid values for $from are 'command_line' and 'saved'.

  %options = ( unicode => 0,
               static  => 0,
               debug   => 0,
              );

get_makemaker_options

  my %mm_options = Wx::build::Options->get_makemaker_options;

Returns options meaningful at wxPerl building time.

  my %options = ( mksymlinks   => 0,
                  extra_libs   => '',
                  extra_cflags => '',
                  subdirs      => { stc => 1,
                                    xrc => 0 } )

write_config_file

  my $ok = Wx::build::Options->write_config_file( '/path/to/file' );

Writes a machine-readable representation of command-line options given to top-level Makefile.PL