Skip to content

Commit

Permalink
demo no load main module until run
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Sep 27, 2024
1 parent 27418fe commit b307d7b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion Demo.m → Demo.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
package PDL::Demos::OpenCV;
use PDL::OpenCV;

sub info {('opencv', 'OpenCV')}

Expand Down
2 changes: 1 addition & 1 deletion MANIFEST
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Changes
classes.pl
constlist.txt
Demo.m
Demo.pm
doxyparse.pl
funclist.pl
genpp.pl
Expand Down
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $hash{clean}{FILES} .= join ' ', '', map "$_.h $_.cpp", qw(opencv_wrapper wraplo
$hash{LIBS}[0] .= $libs;
$hash{INC} .= " $inc";
$hash{OBJECT} .= join ' ', '', map $_.'$(OBJ_EXT)', qw(wraplocal);
$hash{PM}{'Demo.m'} = '$(INST_LIB)/PDL/Demos/OpenCV.pm';
$hash{PM}{'Demo.pm'} = '$(INST_LIB)/PDL/Demos/OpenCV.pm';

use ExtUtils::CppGuess;
my $guess = ExtUtils::CppGuess->new;
Expand Down

0 comments on commit b307d7b

Please sign in to comment.