docs: CMAKE_BUILD_TYPE is not needed as CMakeToolchain will provide it anyway

This commit is contained in:
Mateusz Pusz
2021-03-14 16:50:24 +01:00
parent 7c9e35dcd6
commit c42b5c0498

View File

@@ -304,8 +304,8 @@ differences:
mkdir build && cd build
conan install .. -pr <your_conan_profile> -s compiler.cppstd=20 -b=outdated -u
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
cmake --build . --config Release
cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
cmake --build .
Contributing (or just building all the tests, examples, and documentation)
@@ -337,8 +337,8 @@ step with the CMake build:
.. code-block:: shell
# ...
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
cmake --build . --config Release
cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
cmake --build .
ctest