Skip to content

Commit

Permalink
mostly canvas pod hacking
Browse files Browse the repository at this point in the history
  • Loading branch information
kmx committed Aug 17, 2011
1 parent 4910b52 commit 588d605
Show file tree
Hide file tree
Showing 6 changed files with 496 additions and 113 deletions.
15 changes: 8 additions & 7 deletions Build.PL
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ unless (Alien::IUP->havelib( qw/iup im cd/ )) {
exit 0;
}

$cflags .= ' -DHAVELIB_IUPCD' if Alien::IUP->havelib('iupcd');
$cflags .= ' -DHAVELIB_IUPIM' if Alien::IUP->havelib('iupim');
$cflags .= ' -DHAVELIB_IUPGL' if Alien::IUP->havelib('iupgl');
$cflags .= ' -DHAVELIB_IUPOLE' if Alien::IUP->havelib('iupole');
$cflags .= ' -DHAVELIB_IUPCONTROLS' if Alien::IUP->havelib('iupcontrols');
$cflags .= ' -DHAVELIB_IUP_PPLOT' if Alien::IUP->havelib('iup_pplot');
$cflags .= ' -DHAVELIB_IUPIMGLIB' if Alien::IUP->havelib('iupimglib');
$cflags .= ' -DHAVELIB_IUPCD' if Alien::IUP->havelib('iupcd');
$cflags .= ' -DHAVELIB_IUPIM' if Alien::IUP->havelib('iupim');
$cflags .= ' -DHAVELIB_IUPGL' if Alien::IUP->havelib('iupgl');
$cflags .= ' -DHAVELIB_IUPOLE' if Alien::IUP->havelib('iupole');
$cflags .= ' -DHAVELIB_IUPCONTROLS' if Alien::IUP->havelib('iupcontrols');
$cflags .= ' -DHAVELIB_IUP_PPLOT' if Alien::IUP->havelib('iup_pplot');
$cflags .= ' -DHAVELIB_IUPIMGLIB' if Alien::IUP->havelib('iupimglib');
$cflags .= ' -DHAVELIB_CDCONTEXTPLUS' if Alien::IUP->havelib('cdcontextplus');

my $class = 'Module::Build';
if (-d '.git') { #adding some custom actions relevant only for module development
Expand Down
3 changes: 1 addition & 2 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
- beware: (IUP_DEFAULT related) sub returns value even without explicit return

######## POD/IMPORTANT: finish doc - espec. IUP::Manual::*
- finish pod for: IUP::Canvas::*
- maybe add pod for: IUP::Canvas::InternalServerImage
- maybe add pod for: IUP::Canvas::Internal*
- Cleanup first (in this order):
- I::M::Elements.pod
- I::M::Callbacks.pod
Expand Down
Loading

0 comments on commit 588d605

Please sign in to comment.