def _is_cmake_configure_argument(arg):
    """Return True if ``arg`` is a relevant argument to pass to cmake when configuring a project."""

    for cmake_arg in (
        "-C",  # initial-cache
        "-D",  # <var>[:<type>]=<value>
    ):
        if arg.startswith(cmake_arg):
            return True
    return False