From 471eeaa88fcb4bad68a0466b9e307854fe427cae Mon Sep 17 00:00:00 2001 From: Amir Masoud Abdol Date: Tue, 11 Nov 2025 10:07:22 +0100 Subject: [PATCH] Fix documentation issue in `build_simple_meson_project.rst` There is no mention of `meson-src` anywhere in the example, and the way the project is prepared, it'll not be created either. In addition, if we are already traversing to the build folder, we can drop the `-C` in `meson compile` call, and also run the executable directly. --- examples/tools/meson/build_simple_meson_project.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/tools/meson/build_simple_meson_project.rst b/examples/tools/meson/build_simple_meson_project.rst index 16c0a4401b51..03357f9228cf 100644 --- a/examples/tools/meson/build_simple_meson_project.rst +++ b/examples/tools/meson/build_simple_meson_project.rst @@ -113,9 +113,9 @@ Now we are ready to build and run our **compressor** app: :caption: Windows $ cd build - $ meson setup --native-file conan_meson_native.ini .. meson-src - $ meson compile -C meson-src - $ meson-src\compressor.exe + $ meson setup --native-file conan_meson_native.ini .. + $ meson compile + $ compressor.exe Uncompressed size is: 233 Compressed size is: 147 ZLIB VERSION: 1.2.11 @@ -124,9 +124,9 @@ Now we are ready to build and run our **compressor** app: :caption: Linux, macOS $ cd build - $ meson setup --native-file conan_meson_native.ini .. meson-src - $ meson compile -C meson-src - $ ./meson-src/compressor + $ meson setup --native-file conan_meson_native.ini .. + $ meson compile + $ ./compressor Uncompressed size is: 233 Compressed size is: 147 ZLIB VERSION: 1.2.11