def __init__(self, address=None, payload=None, sources=None, **kwargs):
    payload = payload or Payload()
    payload.add_fields({
      'sources': self.create_sources_field(sources=sources,
                                           sources_rel_path=address.spec_path,
                                           key_arg='sources'),
    })
    super(CppTarget, self).__init__(address=address, payload=payload, **kwargs)
:param sources: Source code files to build. Paths are relative to the BUILD
dataset/ETHPy150Open pantsbuild/pants/contrib/cpp/src/python/pants/contrib/cpp/targets/cpp_target.py/CppTarget.__init__