##// END OF EJS Templates
Remove Qt_PATH variable from de clang analyzer launcher file since we...
perrinel -
r28:fa79454f5abc
parent child
Show More
@@ -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
note

Just remove /usr/libexec on UNIX it is in the PATH

note

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 -DCMAKE_PREFIX_PATH=$QT_PATH -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/
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/
note

../../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

note

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
General Comments 0
You need to be logged in to leave comments. Login now