def parse_skbuild_args(args, cmake_args, build_tool_args):
    '\n    Parse arguments in the scikit-build argument set. Convert specified\n    arguments to proper format and append to cmake_args and build_tool_args.\n    Returns the tuple ``(remaining arguments, cmake executable, skip_generator_test)``.\n    '
    parser = create_skbuild_argparser()
    cmake_args.extend([arg for arg in args if _is_cmake_configure_argument(arg)])
    args = [arg for arg in args if (not _is_cmake_configure_argument(arg))]
    (namespace, remaining_args) = parser.parse_known_args(args)
    cmake_args.append(('-DCMAKE_BUILD_TYPE:STRING=' + namespace.build_type))
    if (namespace.generator is not None):
        cmake_args.extend(['-G', namespace.generator])
    build_tool_args.extend(['--config', namespace.build_type])
    if (namespace.jobs is not None):
        build_tool_args.extend(['-j', str(namespace.jobs)])
    if (namespace.install_target is not None):
        build_tool_args.extend(['--install-target', namespace.install_target])
    if ((namespace.generator is None) and (namespace.skip_generator_test is True)):
        sys.exit('ERROR: Specifying --skip-generator-test requires --generator to also be specified.')
    return (remaining_args, namespace.cmake_executable, namespace.skip_generator_test)
Parse arguments in the scikit-build argument set. Convert specified
arguments to proper format and append to cmake_args and build_tool_args.
Returns the tuple ``(remaining arguments, cmake executable, skip_generator_test)``.
def parse_skbuild_args(args, cmake_args, build_tool_args):
    '\n    Parse arguments in the scikit-build argument set. Convert specified\n    arguments to proper format and append to cmake_args and build_tool_args.\n    Returns the tuple ``(remaining arguments, cmake executable, skip_generator_test)``.\n    '
    parser = create_skbuild_argparser()
    cmake_args.extend([arg for arg in args if _is_cmake_configure_argument(arg)])
    args = [arg for arg in args if (not _is_cmake_configure_argument(arg))]
    (namespace, remaining_args) = parser.parse_known_args(args)
    cmake_args.append(('-DCMAKE_BUILD_TYPE:STRING=' + namespace.build_type))
    if (namespace.generator is not None):
        cmake_args.extend(['-G', namespace.generator])
    build_tool_args.extend(['--config', namespace.build_type])
    if (namespace.jobs is not None):
        build_tool_args.extend(['-j', str(namespace.jobs)])
    if (namespace.install_target is not None):
        build_tool_args.extend(['--install-target', namespace.install_target])
    if ((namespace.generator is None) and (namespace.skip_generator_test is True)):
        sys.exit('ERROR: Specifying --skip-generator-test requires --generator to also be specified.')
    return (remaining_args, namespace.cmake_executable, namespace.skip_generator_test)