It seems like clang does not require you to specify "-x c++-module" as a flag when compiling. Instead you compile the file as "-x c++" and add a "module;" statement in the beginning of the file.
Add support for this.
Considerations
This will have to work with the prescan step. You might have to reorder when things is done to make the information available when creating targets for the object files.
It seems like clang does not require you to specify "-x c++-module" as a flag when compiling. Instead you compile the file as "-x c++" and add a "module;" statement in the beginning of the file.
Add support for this.
Considerations
This will have to work with the prescan step. You might have to reorder when things is done to make the information available when creating targets for the object files.