]> git.tdb.fi Git - builder.git/blobdiff - source/builder.h
Set PKG_CONFIG_PATH to include prefix
[builder.git] / source / builder.h
index 90a8a7c4efe600b1341bf5d5934d0273447394df..977785c39b47a703b73d66957e3cf9f467dfb105 100644 (file)
@@ -99,6 +99,8 @@ private:
        StringList warnings;
 
        static Msp::Application::RegApp<Builder> reg;
+       static std::string usagemsg;
+       static std::string helpmsg;
 
 public:
        Builder(int, char **);
@@ -115,6 +117,8 @@ public:
 
        SourcePackage *get_main_package() const { return main_pkg; }
 
+       std::string run_pkgconfig(const std::string &, const std::string &);
+
        /** Looks up a target by name.  Returns 0 if no such target exists. */
        Target *get_target(const std::string &) const;
 
@@ -124,7 +128,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. */
-       Target *get_header(const std::string &, const std::string &, const StringList &);
+       Target *get_header(const std::string &, const Msp::FS::Path &, const StringList &);
 
        /** 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"