Skip to content
Snippets Groups Projects

Resolve "EXTERN: Adapt to Conan 2"

1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
+ 4
4
@@ -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.)
Loading