diff --git a/examples/howto_use_legacy_code/README.md b/examples/howto_use_legacy_code/README.md index 3e53580b..5b3e7e11 100644 --- a/examples/howto_use_legacy_code/README.md +++ b/examples/howto_use_legacy_code/README.md @@ -86,7 +86,7 @@ Run the CMake configure step. If needed, this will download and build any dependencies for your function: ```shell -cmake -H. -B.build -DCMAKE_TOOLCHAIN_FILE=$HOME/vcpkg/scripts/buildsystems/vcpkg.cmake +cmake -S . -B .build -DCMAKE_TOOLCHAIN_FILE=$HOME/vcpkg/scripts/buildsystems/vcpkg.cmake ``` You should see output like this: @@ -130,7 +130,7 @@ create a binary called `local_server` in the .build subdirectory. This will produce a standalone HTTP server, which you can run locally using: -```shell +```shell .build/main --port 8080 ``` diff --git a/examples/site/howto_local_development/README.md b/examples/site/howto_local_development/README.md index 2e8de3e3..2792bcaf 100644 --- a/examples/site/howto_local_development/README.md +++ b/examples/site/howto_local_development/README.md @@ -74,7 +74,7 @@ Run the CMake configure step. If needed, this will download and build any dependencies for your function: ```shell -cmake -H. -B.build -DCMAKE_TOOLCHAIN_FILE=$HOME/vcpkg/scripts/buildsystems/vcpkg.cmake +cmake -S . -B .build -DCMAKE_TOOLCHAIN_FILE=$HOME/vcpkg/scripts/buildsystems/vcpkg.cmake ``` You should see output like this: @@ -118,7 +118,7 @@ create a binary called `local_server` in the .build subdirectory. This will produce a standalone HTTP server, which you can run locally using: -```shell +```shell .build/local_server --port 8080 ```