1build::Wx::build::MakeMUaskeerr(C3o)ntributed Perl Documbeunitladt:i:oWnx::build::MakeMaker(3)
2
3
4
6 Wx::build::MakeMaker - ExtUtils::MakeMaker specialisation for wxPerl
7 modules
8
10 use Wx::build::MakeMaker;
11
12 wxWriteMakefile( NAME => 'My::Module',
13 VERSION_FROM => 'Module.pm' );
14
16 wxWriteMakefile
17 wxWriteMakefile( arameter => value, ... );
18
19 This functions is meant to be used exactly as
20 ExtUtils::MakeMaker::WriteMakefile (see). It accepts all
21 WriteMakefile's parameters, plus:
22
23 • WX_CORE_LIB
24
25 WX_CORE_LIB => 'xrc core base'
26
27 link libraries from wxWidgets' core or contrib directory. If not
28 spedified, defaults to 'adv html core net base' for compatibility.
29
30 • WX_LIB
31
32 WX_LIB => '-lxrc'
33
34 Link additional libraries from wxWidgets' contrib directory.
35
36 • REQUIRE_WX
37
38 REQUIRE_WX => 2.003002 # wxWidgets 2.3.2
39
40 Do not build this module if wxWidgets' version is lower than the
41 version specified.
42
43 • NO_WX_PLATFORMS
44
45 NO_WX_PLATFORMS => [ 'x11', 'msw' ]
46
47 Do not build this module on the specified platform(s).
48
49 • ON_WX_PLATFORMs
50
51 ON_WX_PLATFORMS => [ 'gtk' ]
52
53 only build this module on the specified platform(s).
54
56 These functions are here for reference, do not use them.
57
58 is_core
59 if( is_core ) { ... }
60
61 True if it is building the wxPerl core (Wx.dll), false otherwise.
62
63 is_wxPerl_tree
64 if( is_wxPerl_tree ) { ... }
65
66 True if it is building any part of wxPerl, false otherwise.
67
68 set_hook_package
69 Wx::build::MakeMaker::set_hook_package( 'package_name' );
70
71 Package to be hooked into the MakeMaker inheritance chain.
72
74 get_api_directory
75 my $dir = $cfg->get_api_directory;
76
77 get_arch_directory
78 my $dir = $cfg->get_arch_directory;
79
80
81
82perl v5.32.1 2021-01-27 build::Wx::build::MakeMaker(3)