From 45983abe664be648b513202c8c12578c9a85784f Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 3 May 2024 21:03:06 +0200 Subject: Parallel build --- builder.h | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 builder.h (limited to 'builder.h') 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 -#include -#include -#include - -#include - -class Builder -{ -public: - Builder(const boost::property_tree::ptree& ptree); - - void build(); - void clean(); - -private: - std::vector 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& buildlist); - - std::filesystem::path _target; - std::vector _objects; - std::vector _sources; - std::unordered_map> _dependencies; -}; -- cgit v1.2.3