diff options
author | Roland Reichwein <mail@reichwein.it> | 2024-05-07 19:08:29 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2024-05-07 19:08:29 +0200 |
commit | 7dabda20e11138f2235b12271d569cd3256ebf3a (patch) | |
tree | d917df1ea84609519a560a092a63683cb54b1894 /ymake.cpp | |
parent | 81bcfee54362c736e865ebeb638aeadfa9cc9e24 (diff) |
Recursive build
Diffstat (limited to 'ymake.cpp')
-rw-r--r-- | ymake.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,6 +2,7 @@ #include "file.h" #include "Builder.h" +#include "MakefileReader.h" #include <algorithm> #include <cstdlib> @@ -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"}; |