]> git.tdb.fi Git - builder.git/blobdiff - source/csourcefile.cpp
Add documentation for VirtualFileSystem::get_target
[builder.git] / source / csourcefile.cpp
index dee807b2306027aa1a503e261f241dfbe4b4a0d7..0ff4286c5cb87bb6270a5978c304c8969c29bed0 100644 (file)
@@ -37,8 +37,7 @@ void CSourceFile::find_depends()
        {
                IO::BufferedFile in(path.str());
 
-               if(builder.get_verbose()>=4)
-                       IO::print("Reading includes from %s\n", path.str());
+               builder.get_logger().log("files", format("Reading includes from %s", path.str()));
 
                Regex r_include("^[ \t]*#include[ \t]+([\"<].*)[\">]");
 
@@ -50,8 +49,8 @@ void CSourceFile::find_depends()
                deps_cache.set_deps(relname, includes);
        }
 
-       const StringList &incpath = comp->get_build_info().incpath;
-       StringList local_incpath = incpath;
+       const BuildInfo::PathList &incpath = comp->get_build_info().incpath;
+       BuildInfo::PathList local_incpath = incpath;
        local_incpath.push_front(FS::dirname(path).str());
 
        for(list<string>::iterator i=includes.begin(); i!=includes.end(); ++i)