diff --git a/doc/Install_develop.rst b/doc/Install_develop.rst index 5aa5c8a6c9af7d33a2b11f54af60f7c9c5bd8fa2..67618dc45457e87a1d0fb15b509b97cb4eca8ce2 100644 --- a/doc/Install_develop.rst +++ b/doc/Install_develop.rst @@ -180,15 +180,15 @@ Build For the tests the build type has to be Debug. As a shorthand you can run ``make test``. If you want to build manually, follow these steps: -1. ``conan install . -s build_type=Debug`` -2. ``cd build/Debug`` -3. ``cmake -B . -D CMAKE_BUILD_TYPE=Debug ..`` +1. ``conan install . -s build_type=Debug --build=missing`` +2. ``cd build/Debug`` +3. ``cmake -S ../.. -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug`` - If your clang-format version is too old, formatting, linting etc. can be skipped: ``cmake -B . -D CMAKE_BUILD_TYPE=Debug -D SKIP_LINTING=ON ..`` - Depending on the clang version it may be necessary to also add ``-DCMAKE_CXX_FLAGS="-Wno-unused-parameter"`` -4. ``cmake --build .`` +5. ``cmake --build . `` - If this fails with ``Error running '': No such file or directory``, you may want to try CMake's ``-D SKIP_LINTING=ON``. (See previous step.)