Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created a script to combine headers and generate a single file #84

Open
wants to merge 1 commit into
base: cpp11
Choose a base branch
from

Conversation

erelender
Copy link

I find the single header approach easier to use, so I created a bash script that can generate such a file.

The script basically cleans up license text and header guards from all the sub-headers under HippoMocks/detail/ and replaces the #include directives in hippomocks.h with the actual sources. It can be used with --comsupport or -c flag to also insert the contents of comsupport.h into hippomocks.h

Hopefully, the script is generic enough to be used on future development too with minor tweaks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants