Skip to content
Snippets Groups Projects
Commit 90dd774a authored by Joscha Schmiedt's avatar Joscha Schmiedt
Browse files

FIX: Wrong build instructions for manual unit tests

parent 2a5c24a9
No related branches found
No related tags found
2 merge requests!61Release 0.3.0,!49Resolve "EXTERN: Adapt to Conan 2"
Pipeline #53735 passed
Pipeline: caosdb-julialib

#53741

    Pipeline: CaosDB Octave library

    #53740

      Pipeline: caosdb-cppinttest

      #53737

        ...@@ -180,15 +180,15 @@ Build ...@@ -180,15 +180,15 @@ Build
        For the tests the build type has to be Debug. As a shorthand you can run ``make 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: test``. If you want to build manually, follow these steps:
        1. ``conan install . -s build_type=Debug`` 1. ``conan install . -s build_type=Debug --build=missing``
        2. ``cd build/Debug`` 2. ``cd build/Debug``
        3. ``cmake -B . -D CMAKE_BUILD_TYPE=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 - If your clang-format version is too old, formatting, linting etc. can
        be skipped: be skipped:
        ``cmake -B . -D CMAKE_BUILD_TYPE=Debug -D SKIP_LINTING=ON ..`` ``cmake -B . -D CMAKE_BUILD_TYPE=Debug -D SKIP_LINTING=ON ..``
        - Depending on the clang version it may be necessary to also add - Depending on the clang version it may be necessary to also add
        ``-DCMAKE_CXX_FLAGS="-Wno-unused-parameter"`` ``-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 - 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.) CMake's ``-D SKIP_LINTING=ON``. (See previous step.)
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment