- string line;
- while(in.getline(line))
- if(RegMatch match = r_include.match(line))
- includes.push_back(match[1].str);
-
- deps_cache.set_deps(relname, includes);
- }
- catch(const IO::file_not_found &)
- {
- if(builder.get_verbose()>=4)
- IO::print("Failed to read includes from %s\n", path.str());
- return;
- }