]> git.tdb.fi Git - builder.git/blobdiff - source/virtualfilesystem.h
Use the tool to create headers
[builder.git] / source / virtualfilesystem.h
index 09a4bf798d5c9a12bb3483fb0e0fd1957ceb3214..72465857480e47e465a0aae5f7ba39dc3492fe32 100644 (file)
@@ -33,7 +33,7 @@ public:
        path.  Considers known targets as well as existing files.  If a matching
        target is not found but a file exists, a new SystemHeader target will be
        created and returned. */
-       FileTarget *find_header(const std::string &, const Msp::FS::Path &, const SearchPath &);
+       FileTarget *find_header(const std::string &, const SearchPath &);
 
        /** Tries to locate a library in a library path.  The library name should be
        the same as would be given to the linker with -l, i.e. without the "lib"
@@ -48,7 +48,7 @@ private:
        target of one was found, or a new SystemHeader target if there was no known
        target but the file exists.
        */
-       FileTarget *get_header(const Msp::FS::Path &);
+       FileTarget *get_header(const Msp::FS::Path &, const Tool &);
 
        FileTarget *get_library(const std::string &, const Msp::FS::Path &, LibMode);