소스 검색

Merge pull request #3883 from wavexx/readme_build_type

README: Set the build type in instructions
Yuri D'Elia 2 년 전
부모
커밋
0482cca212
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      README.md

+ 2 - 2
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