mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
README: Use 'builddir' instead of 'build/'
`/` was added to make it clear that `build` is a directory and not a meson sub-command. However, this can be confusing for Windows users. use `builddir` which does the same job.
This commit is contained in:
parent
3ceafd2ebc
commit
88f5262ba3
1 changed files with 14 additions and 14 deletions
28
README.md
28
README.md
|
@ -40,8 +40,8 @@ You can find [instructions for Windows below](#windows-prerequisites-setup).
|
||||||
You can get all GStreamer built running:
|
You can get all GStreamer built running:
|
||||||
|
|
||||||
```
|
```
|
||||||
meson build/
|
meson builddir
|
||||||
ninja -C build/
|
ninja -C builddir
|
||||||
```
|
```
|
||||||
|
|
||||||
This will automatically create the `build` directory and build everything
|
This will automatically create the `build` directory and build everything
|
||||||
|
@ -70,13 +70,13 @@ development environment where you will be able to work on GStreamer
|
||||||
easily. You can get into that environment running:
|
easily. You can get into that environment running:
|
||||||
|
|
||||||
```
|
```
|
||||||
ninja -C build/ devenv
|
ninja -C builddir devenv
|
||||||
```
|
```
|
||||||
|
|
||||||
If your operating system handles symlinks, built modules source code will be
|
If your operating system handles symlinks, built modules source code will be
|
||||||
available at the root of `gst-build/` for example GStreamer core will be in
|
available at the root of `gst-build/` for example GStreamer core will be in
|
||||||
`gstreamer/`. Otherwise they will be present in `subprojects/`. You can simply
|
`gstreamer/`. Otherwise they will be present in `subprojects/`. You can simply
|
||||||
hack in there and to rebuild you just need to rerun `ninja -C build/`.
|
hack in there and to rebuild you just need to rerun `ninja -C builddir`.
|
||||||
|
|
||||||
NOTE: In the development environment, a fully usable prefix is also configured
|
NOTE: In the development environment, a fully usable prefix is also configured
|
||||||
in `gst-build/prefix` where you can install any extra dependency/project.
|
in `gst-build/prefix` where you can install any extra dependency/project.
|
||||||
|
@ -98,13 +98,13 @@ branch).
|
||||||
Update all GStreamer modules and rebuild:
|
Update all GStreamer modules and rebuild:
|
||||||
|
|
||||||
```
|
```
|
||||||
ninja -C build/ update
|
ninja -C builddir update
|
||||||
```
|
```
|
||||||
|
|
||||||
Update all GStreamer modules without rebuilding:
|
Update all GStreamer modules without rebuilding:
|
||||||
|
|
||||||
```
|
```
|
||||||
ninja -C build/ git-update
|
ninja -C builddir git-update
|
||||||
```
|
```
|
||||||
|
|
||||||
## Custom subprojects
|
## Custom subprojects
|
||||||
|
@ -134,25 +134,25 @@ meson test -C build
|
||||||
To list all available tests:
|
To list all available tests:
|
||||||
|
|
||||||
```
|
```
|
||||||
meson test -C build --list
|
meson test -C builddir --list
|
||||||
```
|
```
|
||||||
|
|
||||||
To run all the tests of a specific component:
|
To run all the tests of a specific component:
|
||||||
|
|
||||||
```
|
```
|
||||||
meson test -C build --suite gst-plugins-base
|
meson test -C builddir --suite gst-plugins-base
|
||||||
```
|
```
|
||||||
|
|
||||||
Or to run a specific test file:
|
Or to run a specific test file:
|
||||||
|
|
||||||
```
|
```
|
||||||
meson test -C build/ --suite gstreamer gst_gstbuffer
|
meson test -C builddir --suite gstreamer gst_gstbuffer
|
||||||
```
|
```
|
||||||
|
|
||||||
Run a specific test from a specific test file:
|
Run a specific test from a specific test file:
|
||||||
|
|
||||||
```
|
```
|
||||||
GST_CHECKS=test_subbuffer meson test -C build/ --suite gstreamer gst_gstbuffer
|
GST_CHECKS=test_subbuffer meson test -C builddir --suite gstreamer gst_gstbuffer
|
||||||
```
|
```
|
||||||
|
|
||||||
## Optional Installation
|
## Optional Installation
|
||||||
|
@ -161,9 +161,9 @@ GST_CHECKS=test_subbuffer meson test -C build/ --suite gstreamer gst_gstbuffer
|
||||||
but you can also install everything that is built into a predetermined prefix like so:
|
but you can also install everything that is built into a predetermined prefix like so:
|
||||||
|
|
||||||
```
|
```
|
||||||
meson --prefix=/path/to/install/prefix build/
|
meson --prefix=/path/to/install/prefix builddir
|
||||||
ninja -C build/
|
ninja -C builddir
|
||||||
meson install -C build/
|
meson install -C builddir
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that the installed files have `RPATH` stripped, so you will need to set
|
Note that the installed files have `RPATH` stripped, so you will need to set
|
||||||
|
@ -181,7 +181,7 @@ For example to get a fresh checkout of `gst-1.14` from a `gst-build` in master *
|
||||||
built** in a `build` directory you can simply run:
|
built** in a `build` directory you can simply run:
|
||||||
|
|
||||||
```
|
```
|
||||||
./checkout-branch-worktree ../gst-build-1.14 origin/1.14 -C build/
|
./checkout-branch-worktree ../gst-build-1.16 origin/1.14 -C builddir
|
||||||
```
|
```
|
||||||
|
|
||||||
This will create a new ``gst-build-1.14`` folder at the same level of ``gst-build`` pointing to the given branch ie *1.14*
|
This will create a new ``gst-build-1.14`` folder at the same level of ``gst-build`` pointing to the given branch ie *1.14*
|
||||||
|
|
Loading…
Reference in a new issue