This commit is contained in:
parent
11aa9e860e
commit
4fe57c6d96
4 changed files with 10 additions and 4 deletions
|
|
@ -221,6 +221,8 @@ new_example("examples/basic/subwindow");
|
|||
new_example("examples/basic/tab");
|
||||
new_example("examples/basic/document");
|
||||
|
||||
#new_example("examples/doom/mwdoom", "", 1);
|
||||
|
||||
if (param_get("opengl")) {
|
||||
new_example("examples/gldemos/boing", $gl_libs);
|
||||
new_example("examples/gldemos/clock", $gl_libs);
|
||||
|
|
|
|||
|
|
@ -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