]> git.tdb.fi Git - builder.git/blobdiff - source/sourcefile.cpp
Adapt to changes in msppath
[builder.git] / source / sourcefile.cpp
index 718a09c48541152d3c15f484b5048ce81017f94e..f05d2035edb534b62ac8a56bc06c9bfd5b8b010c 100644 (file)
@@ -6,6 +6,7 @@ Distributed under the LGPL
 */
 
 #include <fstream>
+#include <iostream>
 #include <msp/strings/regex.h>
 #include "builder.h"
 #include "component.h"
@@ -35,6 +36,9 @@ void SourceFile::find_depends()
                ifstream in(name.c_str());
                if(!in) return;
 
+               if(builder.get_verbose()>=4)
+                       cout<<"Reading includes from "<<name<<'\n';
+
                Regex r_include("^[ \t]*#include[ \t]+([\"<].*)[\">]");
 
                string line;