void MakeBuild::CleanPackage(const Workspace& wspc, int package) { PutConsole(NFormat("Cleaning %s", wspc[package])); One<Host> host = CreateHost(false); One<Builder> builder = CreateBuilder(~host); if(!builder) return; host->DeleteFolderDeep(OutDir(PackageConfig(wspc, package, GetMethodVars(method), mainconfigparam, *host, *builder), wspc[package], GetMethodVars(method))); }
virtual void DeleteFolderDeep(const String& folder) { host->DeleteFolderDeep(folder); }