From 7dabda20e11138f2235b12271d569cd3256ebf3a Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Tue, 7 May 2024 19:08:29 +0200 Subject: Recursive build --- ymake.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ymake.cpp') diff --git a/ymake.cpp b/ymake.cpp index 4747555..a3eec6a 100644 --- a/ymake.cpp +++ b/ymake.cpp @@ -2,6 +2,7 @@ #include "file.h" #include "Builder.h" +#include "MakefileReader.h" #include #include @@ -41,8 +42,7 @@ namespace { int ymake(int argc, char* argv[]) { try { - pt::ptree ptree; - pt::read_xml(YMakefile, ptree, pt::xml_parser::no_comments | pt::xml_parser::trim_whitespace); + pt::ptree ptree{MakefileReader{}.read(".")}; std::string action{"default"}; -- cgit v1.2.3