This commit is contained in:
parent
11aa9e860e
commit
4fe57c6d96
4 changed files with 10 additions and 4 deletions
|
|
@ -41,9 +41,12 @@ sub add_libs {
|
|||
}
|
||||
|
||||
sub new_example {
|
||||
if (@_ == 2) {
|
||||
if (@_ >= 2) {
|
||||
$examples_libs{"$_[0]${executable_suffix}"} = $_[1];
|
||||
}
|
||||
if (@_ >= 3) {
|
||||
$examples_all{"$_[0]${executable_suffix}"} = $_[2];
|
||||
}
|
||||
push(@examples_targets, "${_[0]}${executable_suffix}");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue