From 78d5d184263f25376163d1a4da6797b50dbd81ba Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Wed, 4 Jan 2023 12:50:46 +0100 Subject: [PATCH] README: Set the build type in instructions Instruct to build in Release mode by default. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 95c14da86..c7c66972e 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ The workflow should be pretty straightforward for anyone with development experi # configure and build mkdir build cd build - cmake .. -G Ninja -DCMAKE_TOOLCHAIN_FILE=../cmake/AvrGcc.cmake + cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../cmake/AvrGcc.cmake ninja @@ -61,7 +61,7 @@ You can then proceed by creating a build directory, configure for AVR and build: # configure mkdir build cd build - cmake .. -G Ninja -DCMAKE_TOOLCHAIN_FILE=../cmake/AvrGcc.cmake + cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../cmake/AvrGcc.cmake # build ninja