https://github.com/danmar/checkheaders
Automatically exported from code.google.com/p/checkheaders
https://github.com/danmar/checkheaders
Last synced: about 1 year ago
JSON representation
Automatically exported from code.google.com/p/checkheaders
- Host: GitHub
- URL: https://github.com/danmar/checkheaders
- Owner: danmar
- License: gpl-3.0
- Created: 2015-08-14T17:19:20.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2021-03-01T08:40:44.000Z (over 5 years ago)
- Last Synced: 2025-04-16T01:51:00.761Z (about 1 year ago)
- Language: C++
- Size: 141 KB
- Stars: 9
- Watchers: 4
- Forks: 9
- Open Issues: 9
-
Metadata Files:
- Readme: readme.txt
- License: COPYING
Awesome Lists containing this project
README
============
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 ] [--skip ] [--skip-all] [--file ] [--xml] [--quiet]
Options
-I Include path
--file Specify the files to check in a text file
--quiet Do not show progress
--skip 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