mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-02 11:54:27 +02:00
docs: conan build ..
added to usage
This commit is contained in:
@@ -353,13 +353,18 @@ in **mp-units** repository, you should:
|
|||||||
pip3 install -r docs/requirements.txt
|
pip3 install -r docs/requirements.txt
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
conan install .. -pr <your_conan_profile> -s compiler.cppstd=20 -e mp-units:CONAN_RUN_TESTS=True -b outdated -u
|
conan install .. -pr <your_conan_profile> -s compiler.cppstd=20 -e mp-units:CONAN_RUN_TESTS=True -b outdated -u
|
||||||
|
conan build ..
|
||||||
|
|
||||||
|
The above will download and install all of the dependencies needed for the development of the library,
|
||||||
|
build all of the source code and documentation, and run unit tests. Instead of the last ``conan build ..`` step you can
|
||||||
|
also do the following:
|
||||||
|
|
||||||
|
.. code-block:: shell
|
||||||
|
|
||||||
cmake .. -DCMAKE_BUILD_TYPE=Release
|
cmake .. -DCMAKE_BUILD_TYPE=Release
|
||||||
cmake --build .
|
cmake --build .
|
||||||
ctest
|
ctest
|
||||||
|
|
||||||
The above will download and install all of the dependencies needed for the development of the library,
|
|
||||||
build all of the source code and documentation, and run unit tests.
|
|
||||||
|
|
||||||
|
|
||||||
Packaging
|
Packaging
|
||||||
---------
|
---------
|
||||||
|
Reference in New Issue
Block a user