def check_unity_compatible(self):
    cmpsrcs = self.classify_all_sources(self.target.sources, self.target.generated)
    extracted_cmpsrcs = self.classify_all_sources(self.srclist, self.genlist)
    for (comp, srcs) in extracted_cmpsrcs.items():
        if (set(srcs) != set(cmpsrcs[comp])):
            raise MesonException('Single object files can not be extracted in Unity builds. You can only extract all the object files for each compiler at once.')
def check_unity_compatible(self):
    cmpsrcs = self.classify_all_sources(self.target.sources, self.target.generated)
    extracted_cmpsrcs = self.classify_all_sources(self.srclist, self.genlist)
    for (comp, srcs) in extracted_cmpsrcs.items():
        if (set(srcs) != set(cmpsrcs[comp])):
            raise MesonException('Single object files can not be extracted in Unity builds. You can only extract all the object files for each compiler at once.')