Just remove /usr/libexec on UNIX it is in the PATH
@@ -1,6 +1,4 | |||||
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
Ok, will change this file when we have time to continue on the analyzer |
|
6 | export CCC_CC=clang |
|
4 | export CCC_CC=clang | |
@@ -15,6 +13,6 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/
../../SCIQLOP-Initialisation/ here you force build dir position since ../../ is relative to build dir not script then SCIQLOP-Initialisation isn't necessary the repo name I think it's not a good idea to build something in the source. But you are right, it's not beautifull to give the source dir like that. normaly, the script has to be done to works on team city, then each local version can be edit to match the correct path. The script have to be an helper for the make analyze target and can be edited to work correctly. |
|
19 |
|
17 | |||
20 | scan-build -o clang-analyzer-output make -j2 |
|
18 | scan-build -o clang-analyzer-output make -j2 |