mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 13:14:29 +02:00
docs: Conan 1.48 does not set CMAKE_BUILD_TYPE
in the conan_toolchain.cmake
anymore
This commit is contained in:
@@ -294,7 +294,7 @@ library release the following steps may be performed:
|
|||||||
|
|
||||||
mkdir my_project/build && cd my_project/build
|
mkdir my_project/build && cd my_project/build
|
||||||
conan install .. -pr <your_conan_profile> -s compiler.cppstd=20 -b=missing
|
conan install .. -pr <your_conan_profile> -s compiler.cppstd=20 -b=missing
|
||||||
cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
|
cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
|
||||||
cmake --build .
|
cmake --build .
|
||||||
|
|
||||||
|
|
||||||
@@ -345,7 +345,7 @@ differences:
|
|||||||
|
|
||||||
mkdir my_project/build && cd my_project/build
|
mkdir my_project/build && cd my_project/build
|
||||||
conan install .. -pr <your_conan_profile> -s compiler.cppstd=20 -b=outdated -u
|
conan install .. -pr <your_conan_profile> -s compiler.cppstd=20 -b=outdated -u
|
||||||
cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
|
cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
|
||||||
cmake --build .
|
cmake --build .
|
||||||
|
|
||||||
|
|
||||||
@@ -360,7 +360,7 @@ to find it, it is enough to perform the following steps:
|
|||||||
|
|
||||||
mkdir units/build && cd units/build
|
mkdir units/build && cd units/build
|
||||||
conan install .. -pr <your_conan_profile> -s compiler.cppstd=20 -b=missing
|
conan install .. -pr <your_conan_profile> -s compiler.cppstd=20 -b=missing
|
||||||
cmake ../src -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
|
cmake ../src -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
|
||||||
cmake --install . --prefix <install_dir>
|
cmake --install . --prefix <install_dir>
|
||||||
|
|
||||||
|
|
||||||
@@ -392,7 +392,7 @@ step with the CMake build:
|
|||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
# ...
|
# ...
|
||||||
cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
|
cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
|
||||||
cmake --build .
|
cmake --build .
|
||||||
ctest
|
ctest
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user