-
Notifications
You must be signed in to change notification settings - Fork 8
/
readme.txt
50 lines (34 loc) · 1.38 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
============
checkheaders
============
Purpose
A simple tool that checks headers, to detect unnecessary #includes.
Compiling
Any C++ compiler should work.
There are no dependencies.
The compilation system is based on cmake and should work on all OSs supported by cmake.
In order to compile follow these steps:
* create a folder named 'build' under the root folder where the sources are located
* change the current folder to 'build' folder
* use either 'cmake ..' (for Linux) or cmake GUI (for Windows). Check cmake help
for more options.
* compile with either 'make' or Visual Studio C++
* optionally install with 'make install' (Linux only)
Usage
The syntax is:
checkheaders [-I <path>] [--skip <file>] [--skip-all] [--file <file>] [--xml] [--quiet] <path or file>
Options
-I Include path
--file <file> Specify the files to check in a text file
--quiet Do not show progress
--skip <file> Skip missing include file
--skip-all Skip all missing include files
--version Print out version number
--vs Output report in VisualStudio format
--xml Output report in XML format
The error messages will be printed to stderr.
Examples:
checkheaders path
checkheaders f1.c f2.c
Project home
http://code.google.com/p/checkheaders