开发者

how to get scan-build to run

开发者 https://www.devze.com 2023-03-16 06:56 出处:网络
Hi I found th开发者_如何学JAVAis very helpful post where he describes how to implement scan-build a better analyzing tool then the one xcode comes with.

Hi I found th开发者_如何学JAVAis very helpful post where he describes how to implement scan-build a better analyzing tool then the one xcode comes with.

These are the instructions to get started:

1. Download scan-build
2. Just unpack it into any directory and add that directory to your PATH
3. Open a Terminal and cd to your project’s root directory
4. Run scan-build and view results

But I don't understand the second point what does "add that directory to your PATH" mean and how do I do that ?

appreciate your help


export PATH=${PATH}:/folder/where/you/downloaded/the/analyser

Incidentally, scan-build is the same analyser that Xcode comes with.

0

精彩评论

暂无评论...
验证码 换一张
取 消