From 44479895f325cbbc283553dcb10b29a0af3b480b Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 4 May 2024 14:43:48 +0200 Subject: Added yscan --- Builder.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Builder.cpp') 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 #include #include @@ -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> get_dependencies(const pt::ptree& ptree) { std::unordered_map> dependencies; dependencies.emplace(get_target(ptree), get_objects(ptree)); -- cgit v1.2.3