How to set different compiler options for different sets of source files?

That seems OK because the second call will overwrite the first one’s settings for fileC.cpp. A comment may be in order.