@@ -1,20 +1,18 | |||||
1 |
|
1 | |||
2 | QT_PATH=".../Qt/5.8/gcc_64/lib/cmake/" |
|
|||
3 |
|
||||
4 | export CC=/usr/libexec/ccc-analyzer |
|
2 | export CC=/usr/libexec/ccc-analyzer | |
5 | export CXX=/usr/libexec/c++-analyzer |
|
3 | export CXX=/usr/libexec/c++-analyzer | |
6 | export CCC_CC=clang |
|
4 | export CCC_CC=clang | |
7 | export CCC_CXX=clang++ |
|
5 | export CCC_CXX=clang++ | |
8 | export LD=clang++ |
|
6 | export LD=clang++ | |
9 | export CCC_ANALYZER_VERBOSE=1 |
|
7 | export CCC_ANALYZER_VERBOSE=1 | |
10 |
|
8 | |||
11 | LD_LIBRARY_PATH=/usr/local/lib64 |
|
9 | LD_LIBRARY_PATH=/usr/local/lib64 | |
12 | export LD_LIBRARY_PATH |
|
10 | export LD_LIBRARY_PATH | |
13 |
|
11 | |||
14 | rm -rf build_clang-analyzer |
|
12 | rm -rf build_clang-analyzer | |
15 | mkdir build_clang-analyzer |
|
13 | mkdir build_clang-analyzer | |
16 | cd build_clang-analyzer |
|
14 | cd build_clang-analyzer | |
17 |
|
15 | |||
18 |
scan-build cmake |
|
16 | scan-build cmake -DCMAKE_CXX_COMPILER=clazy -DENABLE_ANALYSIS=false -DENABLE_CPPCHECK=false -DENABLE_FORMATTING=false -DENABLE_CHECKSTYLE=false -BUILD_DOCUMENTATION=false -BUILD_TESTS=false -DCMAKE_BUILD_TYPE=Debug ../../SCIQLOP-Initialisation/ | |
19 |
|
17 | |||
20 | scan-build -o clang-analyzer-output make -j2 |
|
18 | scan-build -o clang-analyzer-output make -j2 |
General Comments 0
You need to be logged in to leave comments.
Login now