-/* $Id$
-
-This file is part of builder
-Copyright © 2006-2009 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
+#include <msp/core/maputils.h>
#include <msp/fs/utils.h>
-#include <msp/io/except.h>
#include <msp/io/print.h>
#include <msp/strings/regex.h>
#include "builder.h"
includes = deps_cache.get_deps(relname);
deps_found = true;
}
- catch(const KeyError &)
+ catch(const key_error &)
{ }
}
deps_cache.set_deps(relname, includes);
}
- catch(const IO::FileNotFound &)
+ catch(const IO::file_not_found &)
{
if(builder.get_verbose()>=4)
IO::print("Failed to read includes from %s\n", path.str());
FS::Path dir = FS::dirname(path);
for(list<string>::iterator i=includes.begin(); i!=includes.end(); ++i)
{
- Target *hdr = builder.get_header(*i, dir, incpath);
+ Target *hdr = builder.get_vfs().find_header(*i, dir, incpath);
if(hdr)
add_depend(hdr);
}