diff options
Diffstat (limited to 'builder.h')
-rw-r--r-- | builder.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/builder.h b/builder.h deleted file mode 100644 index c139d2a..0000000 --- a/builder.h +++ /dev/null @@ -1,29 +0,0 @@ -#pragma once - -#include <filesystem> -#include <unordered_map> -#include <unordered_set> -#include <vector> - -#include <boost/property_tree/ptree.hpp> - -class Builder -{ -public: - Builder(const boost::property_tree::ptree& ptree); - - void build(); - void clean(); - -private: - std::vector<std::filesystem::path> dependencies_of(const std::filesystem::path& p); - bool is_outdated(const std::filesystem::path& p); - - void build(const std::filesystem::path& p); - void build(std::unordered_set<std::filesystem::path>& buildlist); - - std::filesystem::path _target; - std::vector<std::filesystem::path> _objects; - std::vector<std::filesystem::path> _sources; - std::unordered_map<std::filesystem::path, std::vector<std::filesystem::path>> _dependencies; -}; |