How do I pass the project specific options to lint my project without plugin?

To pass the project specific options add them to the proj_options.lnt file.

Figure 1. Project Options File

Project Options File

In the proj_options.lnt file, add all the paths where it can find your project files with the -i PC-lint option, as the following listing shows:

Listing: Include Paths

// Include paths used
-i%PROJ_PATH%

-i%PROJ_PATH%\Sources

-i%PROJ_PATH%\Generated_Code

-i%CW_PATH%\lib\hc08c\include

Additionally, specify all the global options, e.g. to inhibit messages:

Listing: Example - Inhibit Messages

// inhibit messages for Processor Expert libraries
-elib(19, 10)

-e766

+libh(Events.h, Cpu.h)