def _build(self, *parameters):
        paths_to_add = self.prepare_build_path()
        with CustomEnvPath(paths_to_add=paths_to_add):
            paths = self.bii.bii_paths
            if len(parameters) == 1:  # It's tuple, first element is list with actual parameters
                parameters = parameters[0]
            self._handle_parallel_build(parameters)
            build_options = ' '.join(parameters)

            # Necessary for building in windows (cygwin in path)
            cmd = '"%s" --build . %s' % (cmake_command(paths), build_options)
            self.bii.user_io.out.write('Building: %s\n' % cmd)
            retcode = simple_exe(cmd, cwd=paths.build)
            if 'Eclipse' in self.bii.hive_disk_image.settings.cmake.generator:
                ide = Eclipse(paths)
                try:
                    ide.configure_project()
                except __HOLE__:
                    pass
            if retcode != 0:
                raise BiiException('Build failed')
dataset/ETHPy150Open biicode/client/dev/cmake/cmake_tool_chain.py/CMakeToolChain._build