开发者

how to get scan-build to run

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜