|
|
|
@ -131,7 +131,7 @@ This function creates a new top-level target. Like all top-level targets, this |
|
|
|
|
integrates with the selected backend. For instance, with Ninja you can |
|
|
|
|
run it as `ninja target_name`. This is a dummy target that does not execute any |
|
|
|
|
command, but ensures that all dependencies are built. Dependencies can be any |
|
|
|
|
build target (e.g. return value of executable(), custom_target(), etc) |
|
|
|
|
build target (e.g. return value of [executable()](#executable), custom_target(), etc) |
|
|
|
|
|
|
|
|
|
### assert() |
|
|
|
|
|
|
|
|
@ -2254,7 +2254,7 @@ and has the following methods: |
|
|
|
|
|
|
|
|
|
- `path()` which returns a string pointing to the script or executable |
|
|
|
|
**NOTE:** You should not need to use this method. Passing the object |
|
|
|
|
itself should work in all cases. F.ex.: `run_command(obj, arg1, arg2)` |
|
|
|
|
itself should work in all cases. For example: `run_command(obj, arg1, arg2)` |
|
|
|
|
|
|
|
|
|
### `environment` object |
|
|
|
|
|
|
|
|
|