CXXModules: add a variable for BMI-only compilation

This will be required when dealing with imported targets which contain
modules.
4 files changed