Two easy ways I can see:
- replace your compiler command string with a call to a command script/batch file, performing a Lint run before executing the compiler proper; or
- in the project properties dialog, enhance the compiler command string to include a Lint command call before the compiler is executed.
Personally, I am not a fan of IDE's as "the only tool a developer needs", I do not (intend to) use SE to compile my projects, using GNU make and a command shell for that, so I'm not familiar enough with the new (v11) make-like features SE has now built-in.
FWIW,
Johan