735
edits
Line 91: | Line 91: | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
meson build --optimization 3 --prefix /usr -Denable-docs=disabled -Ddeveloper-mode=false | meson setup build --optimization 3 --prefix /usr -Denable-docs=disabled -Ddeveloper-mode=false | ||
ninja -C build | ninja -C build | ||
sudo ninja -C build install | sudo ninja -C build install | ||
Line 110: | Line 110: | ||
| -Denable-docs-only=enabled || Build documentation with Doxygen without compiling. Disabled by default. | | -Denable-docs-only=enabled || Build documentation with Doxygen without compiling. Disabled by default. | ||
|- | |- | ||
| -Denable-gst=disabled || Skip building | | -Denable-gst=disabled || Skip building the GStreamer element. Enabled by default. | ||
|- | |- | ||
| -Denable-tests=disabled || Skip building tests. Enabled by default. | | -Denable-tests=disabled || Skip building tests. Enabled by default. | ||
Line 116: | Line 116: | ||
| -Denable-examples=disabled || Build examples | | -Denable-examples=disabled || Build examples | ||
|- | |- | ||
| -Dplatform=jetson || Select target | | -Dplatform=jetson || Select target platform as Jetson. x86 by default | ||
|- | |- | ||
| --prefix /usr || Set the installation path of the library. | | --prefix /usr || Set the installation path of the library. |
edits