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

◆ get_clang_includes()

std::vector< std::string > MayaFlux::Platform::SystemConfig::get_clang_includes ( )
staticprivate

Definition at line 200 of file HostEnvironment.cpp.

201{
202#ifdef MAYAFLUX_PLATFORM_WINDOWS
203 const char* cmd = "echo. | clang -v -E -x c++ - 2>&1";
204#else
205 const char* cmd = "clang -v -E -x c++ - 2>&1 < /dev/null";
206#endif
207
208 auto clang_output = exec_command(cmd);
209 return parse_clang_search_paths(clang_output);
210}
static std::vector< std::string > parse_clang_search_paths(const std::string &output)
static std::string exec_command(const char *cmd)

References exec_command(), and parse_clang_search_paths().

Referenced by get_system_includes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: