compact compiling headers into final product?

 

Hi

I was reading an article about graphical interfaces, considering that at the end of road, when you are developing such a library of header files, you will be face to face with more than few files with hierarchical dependency,...

I was wondering, is there a way to compile these header files into an expert advisor (for example if we want to produce that expert in the market for selling) without manually copy pasting the whole library into the expert file itself (this would make a god file with thousands of lines of code, really hard to manage for future) ?

If there is a way to integrate these header files into the final .ex4 or .ex5 file, how can we do it? If there is not such an option, then what would you suggest about selling an expert advisor that would heavily use custom library for graphical user interface (look at my mythical bot for example, a dashboard / bot)?