28 lines
890 B
Plaintext
28 lines
890 B
Plaintext
Project files
|
|
-------------
|
|
|
|
cppcheck GUI handles per-project settings in project files instead of global
|
|
program settings. This allows customizing cppcheck for each project's needs.
|
|
|
|
The cppcheck automatically loads a project file which has same name than
|
|
selected directory and extension ".cppcheck". For example in "gui"-directory
|
|
cppcheck loads "gui.cppcheck" project file.
|
|
|
|
The project file is simple XML file easy to edit with your favourite editor
|
|
program. The format is:
|
|
|
|
<?xml version="1.0"?>
|
|
<project version="1">
|
|
<includedir>
|
|
<dir name="c:/projects/framework/" />
|
|
<dir name="c:/Program Files/Visual Studio 8/VC/include/" />
|
|
</includedir>
|
|
<defines>
|
|
<define name="__cplusplus" />
|
|
<define name="_MSC_VER=1400" />
|
|
<define name="_WIN32" />
|
|
</defines>
|
|
</project>
|
|
|
|
See also gui.cppcheck file in gui-directory of cppcheck sources.
|