logic: switched to wstring in include processing

* this allows for non-ascii characters in detected include paths and in processed include directives.
This commit is contained in:
mlangkabel
2018-02-23 18:20:55 +01:00
parent 90efb11775
commit 0df32f239e
6 changed files with 40 additions and 30 deletions
@@ -14,7 +14,7 @@ namespace utility
std::string command = compilerName + " -x c++ -v -E /dev/null";
std::string clangOutput = utility::executeProcess(command.c_str());
std::string standardHeaders =
utility::substrBetween(clangOutput, "#include <...> search starts here:\n","\nEnd of search list");
utility::substrBetween<std::string>(clangOutput, "#include <...> search starts here:\n","\nEnd of search list");
std::vector<std::string> paths;
if (!standardHeaders.empty())