MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ parse_clang_search_paths()

std::vector< std::string > MayaFlux::Platform::SystemConfig::parse_clang_search_paths ( const std::string &  output)
staticprivate

Definition at line 258 of file HostEnvironment.cpp.

259{
260 std::vector<std::string> paths;
261 bool in_search_paths = false;
262
263 std::istringstream stream(output);
264 std::string line;
265
266 while (std::getline(stream, line)) {
267 if (line.find("#include <...> search starts here:") != std::string::npos) {
268 in_search_paths = true;
269 continue;
270 }
271 if (line.find("End of search list.") != std::string::npos) {
272 break;
273 }
274 if (in_search_paths) {
275 auto start = line.find_first_not_of(" \t");
276 if (start != std::string::npos) {
277 auto end = line.find_last_not_of(" \t");
278 std::string path = line.substr(start, end - start + 1);
279 if (!path.empty()) {
280 paths.push_back(path);
281 }
282 }
283 }
284 }
285 return paths;
286}
Core::GlobalStreamInfo stream
Definition Config.cpp:40
Vruta::SoundRoutine line(float start_value, float end_value, float duration_seconds, uint32_t step_duration, bool restartable)
Creates a continuous interpolation generator between two values over time.
Definition Tasks.cpp:66

References stream.

Referenced by get_clang_includes().

+ Here is the caller graph for this function: