def run_build(fips_dir, target, build_type, build_dir) :
    cmdLine = 'cmake --build . --config {}'.format(build_type)
    if target :
        cmdLine += ' --target {}'.format(target)
    print(cmdLine)
    res = subprocess.call(cmdLine, cwd=build_dir, shell=True)
    return res == 0

#------------------------------------------------------------------------------
Called in async handlers if the client closed the connection.
dataset/ETHPy150Open floooh/fips/mod/tools/cmake.py/run_build--crossover with--dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_server/src/tornado/web.py/RequestHandler.on_connection_close