The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
807 B
24 lines
807 B
name: subdir_done |
|
returns: void |
|
since: 0.46.0 |
|
description: | |
|
Stops further interpretation of the Meson script file from the point |
|
of the invocation. All steps executed up to this point are valid and |
|
will be executed by Meson. This means that all targets defined before |
|
the call of [[subdir_done]] will be built. |
|
|
|
If the current script was called by `subdir`, the execution returns to |
|
the calling directory and continues as if the script had reached the |
|
end. If the current script is the top level script, Meson configures |
|
the project as defined up to this point. |
|
|
|
example: | |
|
```meson |
|
project('example exit', 'cpp') |
|
executable('exe1', 'exe1.cpp') |
|
subdir_done() |
|
executable('exe2', 'exe2.cpp') |
|
``` |
|
|
|
The executable `exe1` will be built, while the executable `exe2` is not |
|
built.
|
|
|