diff options
Diffstat (limited to 'Builder.cpp')
-rw-r--r-- | Builder.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Builder.cpp b/Builder.cpp index 1f6fbb2..58176d4 100644 --- a/Builder.cpp +++ b/Builder.cpp @@ -1,5 +1,7 @@ #include "Builder.h" +#include "file.h" + #include <algorithm> #include <chrono> #include <cstdlib> @@ -107,12 +109,6 @@ namespace { return deps_from_depfile(depfile); } - // type of file can be built from dependencies - bool is_buildable_by_extension(const fs::path& p) { - fs::path ext{p.extension()}; - return ext.empty() || ext == ".o"; - } - std::unordered_map<fs::path, std::vector<fs::path>> get_dependencies(const pt::ptree& ptree) { std::unordered_map<fs::path, std::vector<fs::path>> dependencies; dependencies.emplace(get_target(ptree), get_objects(ptree)); |