]> git.tdb.fi Git - builder.git/blobdiff - source/builder.h
Improve automatic package finding to detect directories with version number
[builder.git] / source / builder.h
index 2bfa32a429c7c9c137c19312616cd0f42972c643..19885c56291729d971776ec57a3295c546073edb 100644 (file)
@@ -88,6 +88,8 @@ private:
 
        PackageMap   packages;
        SourcePackage *main_pkg;
+       PathList     pkg_path;
+       PathList     pkg_dirs;
 
        TargetMap    targets;
        TargetList   new_tgts;
@@ -116,6 +118,7 @@ private:
        Msp::FS::Path   prefix;
        StringList      warnings;
 
+       Msp::FS::Path get_package_location(const std::string &);
        int    load_build_file(const Msp::FS::Path &);
        int    create_targets();
        Target *get_header(const Msp::FS::Path &);