It seems there is no way to indicate whether or not a file should be compiled based on the platform. For example, I have .cpp files that I want compiled only for Visual Studio targets and not Macintosh:
It’d be a logistical nightmare to have exporter-specific settings like that for every file, and to maintain them all when exporters are added/removed.