Re: Static Analyzer integration?
Re: Static Analyzer integration?
- Subject: Re: Static Analyzer integration?
- From: Karl Moskowski <email@hidden>
- Date: Tue, 16 Dec 2008 15:18:38 -0500
On 16-Dec-08, at 3:04 PM, Timothy Reaves wrote:
Has anyone tried to get the llvm static analyzer to run as a target
in Xcode, with the output viewable inline?
I haven't tried setting up a target, but I was able to add the User
Script below to Xcode's scripts menu. It works well enough, with the
caveat that you have to have a project file selected and the editor
has to have focus, not the group tree (otherwise, it runs in the wrong
directory).
----
Karl Moskowski <email@hidden>
Voodoo Ergonomics Inc. <http://voodooergonomics.com/>
Input: No Input
Directory: Selection
#!/bin/sh
xcodebuild clean
<path-to>/scan-build -analyze-headers --view xcodebuild -
activeconfiguration -activetarget
xcodebuild clean
Output: Open In New Document
Errors: Merge with Script Output
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden