summaryrefslogtreecommitdiffhomepage
path: root/Builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'Builder.h')
-rw-r--r--Builder.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/Builder.h b/Builder.h
index 12338f0..2a7a6f4 100644
--- a/Builder.h
+++ b/Builder.h
@@ -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;