I have developed a C++ DLL named COMMON that contains some externals classes and functions. I have also developed a C++ program that uses this DLL.
When I build C++ program, I include some files from my COMMON DLL. So I have added foldername that contains all .h files (about 20 files) in project's properties.
That's working well.
Now, I have following question
How can I generate automatically a 'big' include that contains all others includes so that in C++ program, I can use directly this include ?
#include "dll-name.h" // include only one BIG DLL file
After DLL has been built, I can distribute it easily in giving only 3 files
dll-name.LIB
dll-name.DLL
dll-name.H
Is there a solution to my problem ?
How can I generate this 'big' DLL include file ?
PS: I use Visual Studio 2017 and pure C++17 without CLI or CLR.