Skip to content

Commit

Permalink
Fixed build.rst after building docs locally and checking the output.
Browse files Browse the repository at this point in the history
  • Loading branch information
rturrado committed Sep 28, 2023
1 parent 8646698 commit 8bc2dff
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docs/developer/build.rst
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@ The results end up in a ``test_output`` folder, at the same location from where
- The ``-b missing`` parameter asks ``conan`` to build packages from sources
in case it cannot find the binary packages for the current configuration (platform, OS, compiler, build type...).

*Build profiles*
Build profiles
^^^^^^^^^^^^^^

A group of predefined profiles is provided under the ``conan/profiles`` folder.
They follow the ``[tests-](debug|release)[-unitary]`` naming convention. For example:
Expand All @@ -284,13 +285,14 @@ They follow the ``[tests-](debug|release)[-unitary]`` naming convention. For exa

All the profiles set the C++ standard to 23.

*Build options*
Build options
^^^^^^^^^^^^^

Profiles are a shorthand for command line options. The command above could be written as well as:

````
conan build . -s:h compiler.cppstd=23 -s:h openql/*:build_type=Debug -o openql/*:build_tests=True -o openql/*:disable_unitary=True -b missing
````
::

conan build . -s:h compiler.cppstd=23 -s:h openql/*:build_type=Debug -o openql/*:build_tests=True -o openql/*:disable_unitary=True -b missing

These are the list of options that could be specified whether in a profile or in the command line:

Expand Down

0 comments on commit 8bc2dff

Please sign in to comment.