

def msbuild(sln_file, build_type='Debug', target=None, num_jobs=None):
    ' Launch msbuild with correct configuration\n    (debug or release), and with correct switch if num_jobs is not None\n    '
    msbuild_conf = ('/p:Configuration=%s' % build_type)
    cmd = ['MSBuild.exe', msbuild_conf]
    cmd += ['/nologo']
    if (num_jobs is not None):
        cmd.append(('/m:%d' % int(num_jobs)))
    if (target is not None):
        cmd += [('/target:%s' % target)]
    cmd += [target]
    qisys.command.call(cmd)

dataset/ETHPy150Open aldebaran/qibuild/python/qibuild/build.py msbuild/VarMisuse@95/187 `sln_file`->`target`