Browse Source

- added hints about using clang-check

master
Andreas Romeyke 1 year ago
parent
commit
3bed536ca7
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      README.compile

+ 2
- 0
README.compile View File

@@ -5,3 +5,5 @@ Sometimes you got a linker error: usr/bin/ld: warning: libssl.so.1.0.2, needed b
then you must set the OPENSSL_PACKAGE_VERSION to right version number.

You could try "cmake -DCMAKE_FIND_PACKAGE_SORT_DIRECTION=ASC"
cmake ../ -DCMAKE_CXX_COMPILER=$(which clang++-3.9) -DCMAKE_CXX_FLAGS="-Oz -Wall -pedantic -std=c++11" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
clang-check-3.9 -analyze -p=./compile_commands.json ../src/lib/*.cpp

Loading…
Cancel
Save