From 579b658a4d54fac48df12f33b513d7d52d167e06 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 20 Jun 2024 14:52:02 +0200 Subject: [PATCH] docs: docs updated to use new spelling for Conan options --- docs/getting_started/installation_and_usage.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/getting_started/installation_and_usage.md b/docs/getting_started/installation_and_usage.md index b34f9f3b..1dd0ec0b 100644 --- a/docs/getting_started/installation_and_usage.md +++ b/docs/getting_started/installation_and_usage.md @@ -606,7 +606,7 @@ you should: ```shell git clone https://github.com/mpusz/mp-units.git && cd units -conan build . -pr -s compiler.cppstd=23 -o cxx_modules=True -c user.mp-units.build:all=True -b missing +conan build . -pr -s compiler.cppstd=23 -o '&:cxx_modules=True' -c user.mp-units.build:all=True -b missing ``` The above will download and install all of the dependencies needed for the development of the library, @@ -657,7 +657,7 @@ After that, you can either: To test CMake installation and Conan packaging or create a Conan package run: ```shell -conan create . --user --channel -pr -s compiler.cppstd=20 -o cxx_modules=True -c user.mp-units.build:all=True -b missing +conan create . --user --channel -pr -s compiler.cppstd=20 -o '&:cxx_modules=True' -c user.mp-units.build:all=True -b missing ``` The above will create a Conan package and run tests provided in _./test_package_ directory.