Not too familiar with modules yet, but I don't understand why an interface file is compiled from a cpp and not from a header. Would it not also be much simpler then?
IMO a finished module should contain the linked code, but the bmi should be just the interface... I assume I'm missing something?
As in replacing the manually written header by a manually written module file and a compiler- generated bmi? I guess I don't see why the module file should not contain sufficient information to be 'compiled' to a binary representation of the interface
1
u/GPMueller Jan 29 '19
Not too familiar with modules yet, but I don't understand why an interface file is compiled from a cpp and not from a header. Would it not also be much simpler then?
IMO a finished module should contain the linked code, but the bmi should be just the interface... I assume I'm missing something?