X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmsvccompiler.cpp;h=dbbc64d41895baea735e41d2e7f8f5c19ec8dd59;hb=5e00719d0c63e306786ff36df61797cdbc86f3e9;hp=c676790eb4fddbb126c16fad464f310dafbb9233;hpb=7c2db9e2b91da953701be233336c5bfa1f3c4af0;p=builder.git diff --git a/source/msvccompiler.cpp b/source/msvccompiler.cpp index c676790..dbbc64d 100644 --- a/source/msvccompiler.cpp +++ b/source/msvccompiler.cpp @@ -46,7 +46,7 @@ Target *MsvcCompiler::create_source(const FS::Path &path) const return new CSourceFile(builder, path); } -Target *MsvcCompiler::create_target(const list &sources, const string &) +Target *MsvcCompiler::create_target(const vector &sources, const string &) { if(sources.size()!=1) throw invalid_argument("MsvcCompiler::create_target"); @@ -58,7 +58,7 @@ Target *MsvcCompiler::create_target(const list &sources, const string string MsvcCompiler::create_build_signature(const BuildInfo &binfo) const { - string result = FS::basename(executable->get_path()); + string result = Tool::create_build_signature(binfo); result += ','; if(binfo.debug) result += 'g'; @@ -87,7 +87,7 @@ void MsvcCompiler::do_prepare() for(const FS::Path &p: system_path) { append(path, ";", p.str()); - builder.get_logger().log("tools", format("Got %s system path: %s", tag, p)); + builder.get_logger().log("tools", "Got %s system path: %s", tag, p); } setenv("INCLUDE", path);