Skip to content

Python script for resolving includes in a C++ header file

License

Notifications You must be signed in to change notification settings

fburgerdev/hppmerge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Python script for resolving includes in a C++ header file

This project allows you to resolve include dependancies in your C++ header files. This is useful if you want to distribute your C++ project using a single header file.

Note: The output file with the resolved includes won't have any multi-line comments.

Usage

Execute the following command in your console.

python3 PATH_TO_REPO/hppmerge.py ORIGIN_PATH DEST_PATH --default DEFAULT1 DEFAULT2 ... --ignore IGNORE1 IGNORE2 ...

Installation

At your desired location, execute the following command in the console.

git clone git@github.com:fburgerdev/hppmerge.git

or simply copy the content of the hppmerge.py wherever you want.

About

Python script for resolving includes in a C++ header file

Topics

Resources

License

Stars

Watchers

Forks