Is there a way to automate creating C++ headers in Visual Studio?

Viewed 34

In all my smaller libraries, I always create one header file that includes every header file in the library, that I then almost exclusively include in my actual projects, as oppose to including individual headers. These headers make it quite frustrating to make changes to libraries however, since new headers need to be manually included in the collection one. It also easily creates issues since forgetting to include one header leads to projects using the library not including files they think they are including.

Does Visual Studio have any tools for automating this? Like making some sort of script that with the push of a button creates a header that simply includes every other header? And maybe even can automatically update it as new headers are added to the project?

0 Answers
Related