def new_build_project(build_worktree, project):
    if not os.path.exists(project.qiproject_xml):
        return None
    tree = qisys.qixml.read(project.qiproject_xml)
    root = tree.getroot()
    if root.get("version") == "3" or root.get("format") == "3":
        qibuild_elem = root.find("qibuild")
        if qibuild_elem is None:
            return None
    else:
        # qibuild2 used to check for a CMakeLists.txt
        cmake_lists = os.path.join(project.path, "CMakeLists.txt")
        if not os.path.exists(cmake_lists):
            return None
        qibuild_elem = root

    name = qibuild_elem.get("name")
    if not name:
        return None

    build_project = qibuild.project.BuildProject(build_worktree, project)
    build_project.name = name
    qibuild.deps.read_deps_from_xml(build_project, qibuild_elem)

    build_project.meta = qisys.qixml.parse_bool_attr(qibuild_elem, "meta")

    return build_project
Human-friendly string to represent the resource
dataset/ETHPy150Open aldebaran/qibuild/python/qibuild/worktree.py/new_build_project--crossover with--dataset/ETHPy150Open dropbox/pynsot/pynsot/models.py/Resource.identifier