#ifndef VIRTUALFILESYSTEM_H_
#define VIRTUALFILESYSTEM_H_
-#include <list>
#include <map>
#include <set>
+#include <vector>
#include <msp/fs/path.h>
#include "buildinfo.h"
class VirtualFileSystem
{
public:
- using SearchPath = std::list<Msp::FS::Path>;
+ using SearchPath = std::vector<Msp::FS::Path>;
private:
Builder &builder;
std::map<Msp::FS::Path, FileTarget *> targets;
std::set<Msp::FS::Path> nonexistent;
+ SearchPath sys_bin_path;
public:
- VirtualFileSystem(Builder &);
+ VirtualFileSystem(Builder &b): builder(b) { }
/** Gets an existing target associated with a path. If no target has claimed
that path, 0 is returned. */