diff options
Diffstat (limited to 'Builder.h')
-rw-r--r-- | Builder.h | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -15,20 +15,19 @@ public: Builder(const boost::property_tree::ptree& ptree); void build(); - void clean(); + void clean() const; private: - std::vector<std::filesystem::path> dependencies_of(const std::filesystem::path& p); - bool is_outdated(const std::filesystem::path& p); + std::vector<std::filesystem::path> dependencies_of(const std::filesystem::path& p) const; + bool is_outdated(const std::filesystem::path& p) const; void build_file(const std::filesystem::path& p); - void build_list(); + void build_filelist(); void cleanup(); - std::filesystem::path _target; - std::vector<std::filesystem::path> _objects; - std::vector<std::filesystem::path> _sources; + std::vector<std::filesystem::path> _all_targets; + std::vector<std::filesystem::path> _all_objects; std::unordered_map<std::filesystem::path, std::vector<std::filesystem::path>> _dependencies; ProcessRunner _runner; |