build:...keMaker(3pm)
π NAME π
Wx::build::MakeMaker β it's the ExtUtils::MakeMaker specialisation made specifically for wxPerl modules, bestie. π
(Also, hi, the manual you're reading is build:...keMaker(3pm) β yes the name is literally truncated like that, she's mysterious like that π
)
β¨ SYNOPSIS β¨
use Wx::build::MakeMaker;
wxWriteMakefile( NAME => 'My::Module',
VERSION_FROM => 'Module.pm' );
okay so that's the whole vibe. load it, call it, go. π¦
πΈ FUNCTIONS πΈ
wxWriteMakefile π
wxWriteMakefile( arameter => value, ... );
This functions is meant to be used exactly as ExtUtils::MakeMaker::WriteMakefile (see). Like, no cap, drop-in. It takes every single parameter that WriteMakefile takes, plus these extra ones below β and the extra ones are the tea β:
WX_CORE_LIBβ π link libraries from wxWidgets'coreorcontribdirectory.
WX_CORE_LIB => 'xrc core base'
If you don't specify it, it defaults to 'html core net base' for compatibility. (Just an old-lore default, she's doing her best π«Ά)
WX_LIBβ pull in additional libraries from wxWidgets'contribdirectory.
WX_LIB => '-lxrc'
REQUIRE_WXβ π« don't build this module at all if wxWidgets' version is lower than the version you name here.
REQUIRE_WX => 2.003002 # wxWidgets 2.3.2
NO_WX_PLATFORMSβ do not build this module on the platform(s) you list. bye π
NO_WX_PLATFORMS => [ 'x11', 'msw' ]
ON_WX_PLATFORMSβ only build this module on the platform(s) you list. main character only π
ON_WX_PLATFORMS => [ 'gtk' ]
π PRIVATE FUNCTIONS π
These functions are here for reference, do not use them. Seriously bestie, hands off, they're backstage π
is_core
if( is_core ) { ... }
True if it's building the wxPerl core (Wx.dll), false otherwise. simple as that π
is_wxPerl_tree
if( is_wxPerl_tree ) { ... }
True if it's building any part of wxPerl, false otherwise. any part. all of it. the whole tree π³
set_hook_package
Wx::build::MakeMaker::set_hook_package( 'package_name' );
The package to be hooked into the MakeMaker inheritance chain. πͺ
π οΈ METHODS π οΈ
get_api_directory
my $dir = $cfg->get_api_directory;
get_arch_directory
my $dir = $cfg->get_arch_directory;
quick reminder babes: every option name, every default, every version number and every line of code up there needs to be typed exactly as written, or the vibe check fails π no typos, ok? periodt β¨
and that's the whole page! this one came to you as part of the User Contributed Perl Documentation, running on perl v5.42.3, dated 2026-08-20, and the file banner on it still reads build:...keMaker(3pm) top and bottom. literally iconic. go build something cute π«Άπβ¨
π¦ where this page comes from
- ubuntu stonking: libwx-perl 1:0.9932-10build2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms